An open API service indexing awesome lists of open source software.

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.

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