$npx skillfedfor your agent

path

A module wrapper for os.path

Worth itPyPI Python ModulesReleased Jul 20251.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — path-17.1.1-py3-none-any.whl
v17.1.1 · released 2025-07-27 · Python >=3.9

Yes. Path is stable, actively maintained, has no vulnerabilities, and zero runtime dependencies. Install it if you prefer method-based path operations and need str-compatible path objects for legacy APIs. If you're already using pathlib and don't need str compatibility or custom subclassing, pathlib is the standard choice; otherwise, Path offers genuine advantages for filesystem scripting.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low friction installation with no runtime dependencies.
  • Active maintenance as of 2026-04-13, last release 2025-07-27, and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

last release 2025-07-27 (383 days) · last repo commit 2026-04-13 · 1,124 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,289,838 downloads/mo, #4,105 on PyPI

Verify before relying

from path import Path

d = Path("/home/user/bin")
for f in d.files("*.py"):
    f.chmod(0o755)

foo_txt = Path("bar") / "foo.txt"
  • Whether Path objects remain fully backward-compatible with pathlib.Path in all use cases.
  • Performance characteristics compared to pathlib for large directory traversals.
Same gist for agents: .md · .json

What it is and what it does

Path is a wrapper around os.path that implements filesystem paths as first-class objects with methods for common file operations. Instead of calling separate functions like os.chmod(path, mode), you invoke methods directly on Path instances: Path(path).chmod(mode). Path objects inherit from str, so they can be passed directly to APIs that expect string paths without explicit casting, unlike pathlib.Path objects which require PEP 519 PathLike support or manual str() conversion.

The package provides convenience methods beyond basic path operations—rmtree for recursive deletion, remove_p for conditional removal, permissions properties, and sophisticated walk and TempDir behaviors. It supports path concatenation with the / operator, context managers for temporary directory changes, and glob patterns. Path has been actively maintained since 2003 and aims to offer compatibility with pathlib where possible, while remaining freely iterable as a PyPI package rather than bound to Python's release cycle.

Use it for

  • Write cleanup scripts that recursively remove files matching patterns with chmod and rmtree in a single fluent chain.
  • Pass Path objects directly to legacy APIs expecting string paths without intermediate str() conversions.
  • Traverse directory trees with glob patterns and apply batch file operations (permissions, deletion) in loops.
  • Subclass Path to add custom filesystem methods without managing OS-specific variants.
  • Use context managers to temporarily change working directory for a block of operations.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Path is stable, actively maintained, has no vulnerabilities, and zero runtime dependencies. Install it if you prefer method-based path operations and need str-compatible path objects for legacy APIs. If you're already using pathlib and don't need str compatibility or custom subclassing, pathlib is the standard choice; otherwise, Path offers genuine advantages for filesystem scripting.

Install

path on PyPI

Before you install

Low friction installation with no runtime dependencies. Active maintenance as of 2026-04-13, last release 2025-07-27, and no known vulnerabilities.

Requires Python 3.9 or later.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

from path import Path

d = Path("/home/user/bin")
for f in d.files("*.py"):
    f.chmod(0o755)

foo_txt = Path("bar") / "foo.txt"

Verify before relying

  • Whether Path objects remain fully backward-compatible with pathlib.Path in all use cases.
  • Performance characteristics compared to pathlib for large directory traversals.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 383 days since the last release
Last repo commit
First released
Downloads1,289,838 / month, #4,105 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Software Development :: Libraries :: Python Modules

Evidence: path-17.1.1-py3-none-any.whl

Tags

Capabilities
filesystem path objectsos.path wrapperfile operations on pathspath manipulation librarypathlib alternativestring-compatible path objectsfile globbing and traversal
Topics
filesystem-operationspath-manipulation

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 › “filesystem path objects”

  • pathProvides Path objects that wrap filesystem operations as methods,…
  • path.pyProvides Path objects that wrap filesystem operations as methods,…
  • pathlibProvides object-oriented filesystem path handling as a backport for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also path.py · pathtools · Unipath · fspath · dpath · pathlib-abc · pathlib · chialisp-stdlib · zipp · pathmagic