Skip to main content

dictpath

About

Object-oriented dictionary paths

Key features

  • Traverse resources like paths

  • Access resources on demand with separate accessor layer

Usage

from dictpath 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 dictpath 0.1.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 dictpath 0.1.3
File Size Uploaded
dictpath-0.1.3.tar.gz 8.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for dictpath 0.1.3
File Interpreter ABI Platform
dictpath-0.1.3-py3-none-any.whl Python 3 none any Details
dictpath-0.1.3-py2-none-any.whl Python 2 none any Details

Total release size: 24.9 kB

Release files / dictpath-0.1.3.tar.gz

Download URL dictpath-0.1.3.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
751cde3b76b176d25f961b90c423a11a4d5ede9bd09ab0d64a85abb738c190d8
BLAKE2b-256 checksum
How to use checksums
09c71a2f498a173e555ae54ede8bc904e3b73b37aa2a4d206cd475cb8df0738c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13

Release files / dictpath-0.1.3-py3-none-any.whl

Download URL dictpath-0.1.3-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5212361d1fb93909cff715f6e0404e17752cf7a48df3e140639e529a027c437
BLAKE2b-256 checksum
How to use checksums
17e352ad487015c7a31cedcb14c0b1809893926e03cc8cc57c238b021f18dcd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13

Release files / dictpath-0.1.3-py2-none-any.whl

Download URL dictpath-0.1.3-py2-none-any.whl
Size 8.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
225248e3c1e7c375495d5da5c390cbf3490f56ee42c151df733e5b2df6b521b5
BLAKE2b-256 checksum
How to use checksums
140077f22064eedff6b998b56335a266da080d9cbeef66ba5f7f88de1c77f743
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.18

Release history Release notifications | RSS feed

This release

0.1.3 This release

3 release files

0.1.2

3 release files

0.1.1

3 release files

0.1.0

3 release files

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