pathable
Object-oriented paths
Decision gist · record as of 2026-08-14
Yes. Zero runtime dependencies, permissive license, active maintenance, and no known vulnerabilities make it a low-risk addition. Install if you frequently work with nested data and want cleaner, more composable access patterns than bracket chaining.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later (supports 3.10, 3.11, 3.12, 3.13, 3.14).
- Low friction: pure Python wheel with no runtime dependencies.
- Active maintenance with recent release (87 days ago) and last commit on 2026-07-27.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions.
last release 2026-05-19 (87 days) · last repo commit 2026-07-27 · 5 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 96,074,071 downloads/mo, #354 on PyPI
Alternatives
Verify before relying
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"- Performance characteristics of the LRU cache (default maxsize 128) under typical workloads.
- Whether the pluggable accessor layer supports custom backends beyond LookupPath and FilesystemPath.
What it is and what it does
Pathable is a small library that wraps nested data structures (dicts, lists, and other subscriptable objects) in path objects, letting you express deep lookups as single, reusable objects and navigate them with familiar `/` syntax. Instead of writing `data["parts"]["part2"]["name"]`, you write `(root / "parts" / "part2" / "name").read_value()`, which reads more naturally and lets you build and pass around partial paths.
The library offers both safe and strict access modes: `get()` returns a default for missing keys, `exists()` checks membership, and `//` raises KeyError if a segment is missing. It includes a per-instance LRU cache for repeated reads of the same tree, and supports custom accessor backends for different data sources (filesystem paths included). The API is chainable and Pythonic, designed for readable, incremental path construction.
Use it for
- Extract values from deeply nested JSON or YAML configs without intermediate variable assignments.
- Build and pass around partial paths to nested data as first-class objects in APIs.
- Safely probe optional nested structures with `exists()` or `get()` before reading.
- Traverse filesystem paths using the same path-like API as data lookups.
- Iterate over children of a nested container as path objects for recursive processing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Zero runtime dependencies, permissive license, active maintenance, and no known vulnerabilities make it a low-risk addition. Install if you frequently work with nested data and want cleaner, more composable access patterns than bracket chaining.
Install
pathable on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Active maintenance with recent release (87 days ago) and last commit on 2026-07-27.
Requires Python 3.10 or later (supports 3.10, 3.11, 3.12, 3.13, 3.14).
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions.
Quickstart
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"
Verify before relying
- Performance characteristics of the LRU cache (default maxsize 128) under typical workloads.
- Whether the pluggable accessor layer supports custom backends beyond LookupPath and FilesystemPath.
Package 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 87 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 96,074,071 / month, #354 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pathable-0.6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “path-like syntax for trees”
- pathablePathable provides path-like objects for traversing nested data…
- tree-sitterPython bindings to the tree-sitter parsing library, enabling…
- astprettyPretty-print Python abstract syntax trees (AST) from stdlib ast.parse…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also jsonschema-path · magicattr · dm-tree · dpath · mo-dots · nutree · pathlib · path · glom · svg.path