pathable
Object-oriented paths
Install
pathable on PyPI
pip
pip install pathableuv
uv add pathablepoetry
poetry add pathablePackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 86 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: pathable-0.6.0-py3-none-any.whl
Keywords: dict, dictionary, list, lookup, path, pathable
About pathable
from the package's own PyPI description — quoted content, verbatim
pathable
Package version (image) Python versions (image) License (image)
About
Pathable provides a small set of "path" objects for traversing hierarchical data (mappings, lists, and other subscriptable trees) using a familiar path-like syntax.
Itβs especially handy when you want to:
- express deep lookups as a single object (and pass it around)
- build paths incrementally (
p / "a" / 0 / "b") - safely probe (
exists(),get(...)) or strictly require segments (//)
Key features
- Intuitive path-based navigation for nested data (e.g., dicts/lists)
- Pluggable accessor layer for custom backends
- Pythonic, chainable API for concise and readable code
- Per-instance (bounded LRU) cached lookup accessor for repeated reads of the same tree
Quickstart
```python from pathable import LookupPath
data = { "parts": { "part1": {"name": "Part One"}, "part2": {"name": "Part Two"}, } }
root =...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Pathable provides object-oriented path objects for traversing hierarchical data (dicts, lists, and other subscriptable structures) using familiar path-like syntax with operators like `/` for segment chaining and safe or strict access methods.
Installation is straightforward with no runtime dependencies and a pure-Python wheel distribution. The package is actively maintained with a recent release (86 days old) and supports Python 3.10 through 3.14.
Pathable is licensed under Apache-2.0, a permissive open-source license that allows commercial use, modification, and distribution with minimal restrictions, making it suitable for most projects.
Usage
from pathable import LookupPath
data = {"parts": {"part1": {"name": "Part One"}}}
root = LookupPath.from_lookup(data)
name = (root / "parts" / "part1" / "name").read_value()
print(name) # "Part One"
Requires Python 3.10 or later (supports up to 3.14).
Verdict: Pathable is a lightweight, well-maintained utility for expressive nested-data navigation with zero runtime dependencies and permissive licensing. It is suitable for production use in applications requiring readable, chainable access to hierarchical structures, though its small repository footprint (5 stars) suggests limited adoption.
Needs verification
- Whether the per-instance LRU cache (default maxsize 128) provides measurable performance gains for typical use cases.
- Real-world adoption patterns and whether the top-1000 tier reflects actual usage or indexing artifacts.
Similar packages
permissive · top 1,000 on PyPI
pathlib-abcpermissive · top 1,000 on PyPI
glompermissive · top 1,000 on PyPI
gcsfspermissive · top 1,000 on PyPI
jsonpath-ngpermissive · top 1,000 on PyPI
orderly-setpermissive · top 1,000 on PyPI
bidictcopyleft · top 1,000 on PyPI
azure-storage-file-datalakepermissive · top 1,000 on PyPI
omegaconfpermissive · top 1,000 on PyPI
asynciopermissive · top 1,000 on PyPI