https://github.com/havocesp/pathext
Just an enhanced version of Python built-in "pathlib.Path" class.
https://github.com/havocesp/pathext
filesystem path pathlib python python3
Last synced: 30 days ago
JSON representation
Just an enhanced version of Python built-in "pathlib.Path" class.
- Host: GitHub
- URL: https://github.com/havocesp/pathext
- Owner: havocesp
- License: unlicense
- Created: 2023-07-29T03:20:16.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-17T03:19:30.000Z (about 1 year ago)
- Last Synced: 2025-04-02T10:43:52.851Z (12 months ago)
- Topics: filesystem, path, pathlib, python, python3
- Language: Python
- Homepage:
- Size: 73.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PathExt
## Description
Just an enhanced version of Python built-in pathlib.Path class.
### Features
**TODO**
## Installation
### With `pip` from official repository:
```shell
$ pip install git+https://github.com/havocesp/pathext
```
## usage
```python
from pathext import PathExt
file_path = PathExt.home().joinpath('.bashrc')
print(file_path.size) # 54353 bytes
print(file_path.is_video) # False
print(file_path.is_binary) # False
print(file_path.num_lines) # 96
```
## Changelog
### 0.1.0
- Initial vesion