skillfed

pathable

Object-oriented paths

pathable Permissive license Apache-2.0 Active 5 v0.6.0 released

Install

pathable on PyPI

pip

pip install pathable

uv

uv add pathable

poetry

poetry add pathable

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 — 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

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

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

Read as markdown · JSON record · Source repository

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.
nested dict navigationhierarchical data traversalpath-like data accessdict and list path queriesdeep lookup expressionschainable path objectssafe nested data access

Similar packages