Object-oriented paths
Project Links
Meta
Author: Artur Maciag
Requires Python: >=3.7.0,<4.0.0
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
License
- OSI Approved :: Apache Software License
Operating System
- OS Independent
Programming Language
- Python :: 3
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
Topic
- Software Development :: Libraries
- Software Development :: Libraries :: Python Modules
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)
Jun 07, 2025
0.5.0b2
Jun 07, 2025
0.5.0b1
Jun 07, 2025
0.5.0a4
Jun 01, 2025
0.5.0a3
May 30, 2025
0.5.0a2
May 26, 2025
0.5.0a1
Jan 10, 2025
0.4.4
Sep 01, 2022
0.4.3
Aug 29, 2022
0.4.2
Aug 29, 2022
0.4.1
Feb 01, 2022
0.4.0
Feb 01, 2022
0.3.0
Nov 24, 2021
0.2.0
Nov 24, 2021
0.1.3
Wheel compatibility matrix
Files in release
No dependencies