Skip to main content

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.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pathable 0.4.3
File Size Uploaded
pathable-0.4.3.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pathable 0.4.3
File Interpreter ABI Platform
pathable-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / pathable-0.4.3.tar.gz

Download URL pathable-0.4.3.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5c869d315be50776cc8a993f3af43e0c60dc01506b399643f919034ebf4cdcab
BLAKE2b-256 checksum
How to use checksums
9dede0e29300253b61dea3b7ec3a31f5d061d577c2a6fd1e35c5cfd0e6f2cd6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.10.6 Linux/5.15.0-1017-azure

Release files / pathable-0.4.3-py3-none-any.whl

Download URL pathable-0.4.3-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdd7b1f9d7d5c8b8d3315dbf5a86b2596053ae845f056f57d97c0eefff84da14
BLAKE2b-256 checksum
How to use checksums
5b0aacfb251ba01009d3053f04f4661e96abf9d485266b04a0a4deebc702d9cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.10.6 Linux/5.15.0-1017-azure
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page