Object-oriented paths
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pathable-0.4.4.tar.gz.
File metadata
- Download URL: pathable-0.4.4.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6905a3cd17804edfac7875b5f6c9142a218c7caef78693c2dbbbfbac186d88b2
|
|
| MD5 |
7a2e844ac997eb9ca91f72b15c033ad3
|
|
| BLAKE2b-256 |
67938f2c2075b180c12c1e9f6a09d1a985bc2036906b13dff1d8917e395f2048
|
Provenance
The following attestation bundles were made for pathable-0.4.4.tar.gz:
Publisher:
python-publish.yml on p1c2u/pathable
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pathable-0.4.4.tar.gz -
Subject digest:
6905a3cd17804edfac7875b5f6c9142a218c7caef78693c2dbbbfbac186d88b2 - Sigstore transparency entry: 161429565
- Sigstore integration time:
-
Permalink:
p1c2u/pathable@ae4b89d04a6d98270063dba85eec77b425dec4ea -
Branch / Tag:
refs/heads/master - Owner: https://github.com/p1c2u
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ae4b89d04a6d98270063dba85eec77b425dec4ea -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pathable-0.4.4-py3-none-any.whl.
File metadata
- Download URL: pathable-0.4.4-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ae9e94793b6ef5a4cbe0a7ce9dbbefc1eec38df253763fd0aeeacf2762dbbc2
|
|
| MD5 |
334edf9705b69220e660481632268209
|
|
| BLAKE2b-256 |
7debb6260b31b1a96386c0a880edebe26f89669098acea8e0318bff6adb378fd
|
Provenance
The following attestation bundles were made for pathable-0.4.4-py3-none-any.whl:
Publisher:
python-publish.yml on p1c2u/pathable
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pathable-0.4.4-py3-none-any.whl -
Subject digest:
5ae9e94793b6ef5a4cbe0a7ce9dbbefc1eec38df253763fd0aeeacf2762dbbc2 - Sigstore transparency entry: 161429567
- Sigstore integration time:
-
Permalink:
p1c2u/pathable@ae4b89d04a6d98270063dba85eec77b425dec4ea -
Branch / Tag:
refs/heads/master - Owner: https://github.com/p1c2u
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ae4b89d04a6d98270063dba85eec77b425dec4ea -
Trigger Event:
workflow_dispatch
-
Statement type: