About
Object-oriented paths
Key features
Traverse resources like paths
Access resources on demand with separate accessor layer
Usage
from pathable import DictPath
d = {
"parts": {
"part1": {
"name": "Part One",
},
"part2": {
"name": "Part Two",
},
},
}
dp = DictPath(d)
# Concatenate paths with /
parts = dp / "parts"
# Stat path keys
"part2" in parts
# Open path dict
with parts.open() as parts_dict:
print(parts_dict)
Metadata
Release files for pathable 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pathable-0.3.0.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pathable-0.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / pathable-0.3.0.tar.gz
| Download URL | pathable-0.3.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce4121068bd2b1f08a9502198b0a9c0b1c368eed0604be0d30f65fb644fd6dd1
|
|
BLAKE2b-256 checksum How to use checksums |
79a2c94bbad14bf645fcb8f1f2c86cec6410bf46851927911acf397fbc1065a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.6.15 Linux/5.11.0-1027-azure
|
Release files / pathable-0.3.0-py2.py3-none-any.whl
| Download URL | pathable-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4a5b6f319a839de2b647f42e5a27382085acf9118545c6c8ffc0cf63edd2b7f2
|
|
BLAKE2b-256 checksum How to use checksums |
cfd4f3a2479a6626381e426d98dca3a03037ac01fb6729cfb33ff5785f5b7ab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.6.15 Linux/5.11.0-1027-azure
|