fspath
semantic path names and more
What it is and what it does
fspath is a wrapper around Python's filesystem path handling (os.path, zipfile) designed to provide a more intuitive, Pythonic API with sensible defaults for everyday scripting tasks. It treats filesystem paths as semantic objects rather than strings, aiming to cover common use cases without requiring developers to juggle multiple modules.
The package depends only on six and installs with low friction. However, it has been abandoned since 2023-06-29 with no active maintenance, and its Python version support is unspecified in the metadata. While marked as Production/Stable, the lack of recent activity means it may not be tested against current Python releases or handle edge cases in modern environments.
Use it for:
- Simplify path manipulation in scripts by using a more intuitive API than os.path for common operations
- Work with both filesystem and archive paths (zipfile) using a unified semantic interface
- Reduce boilerplate in daily Python scripting tasks involving file and directory operations
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a more intuitive Python API for working with filesystem paths, wrapping os.path and zipfile operations with sensible defaults for common scripting tasks.
No. The package is abandoned with no maintenance since 2023-06-29 and unverified Python version support. The AGPLv3 license also creates copyleft obligations that may not suit all projects. For modern Python path handling, consider alternatives with active maintenance.
Install
fspath on PyPI
pip
pip install fspathuv
uv add fspathpoetry
poetry add fspathInstalling fspath
Before you install
Low install friction with a single lightweight dependency (six). However, the package is marked as abandoned with no releases since 2023-06-29 and no recent commits, so maintenance support is not available.
License in practice
Licensed under AGPLv3, a copyleft license requiring derivative works and modifications to be distributed under the same license. This creates obligations for any project that modifies or bundles fspath.
Quickstart
pip install fspath
import fspath
# Create and manipulate semantic filesystem paths
path = fspath.Path('/some/directory')
Package is abandoned with no maintenance since 2023-06-29; compatibility with Python versions beyond those tested at that time is unverified.
Verify before relying
- Whether the package works with modern Python versions despite unspecified python_support in metadata
- What specific 'handy stuff' beyond path handling is included in the API
- Whether the package is compatible with Python's standard pathlib module
Package facts
| License | AGPLv3 (agpl) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — six |
| Maintenance | abandoned — 1,142 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 176,047/month — #10,254 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: fspath-20230629-py2.py3-none-any.whl
Keywords: path-names, development
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
path.pyProvides Path objects that wrap filesystem…
permissive · top 15,000 on PyPI
UnipathUnipath provides an object-oriented interface…
permissive · top 15,000 on PyPI
pathProvides Path objects that wrap filesystem…
permissive · top 5,000 on PyPI
pathlibProvides object-oriented filesystem path…
permissive · top 5,000 on PyPI
pathlib-abcProvides abstract base classes for implementing…
permissive · top 1,000 on PyPI
pathtoolsProvides pattern matching and utility functions…
permissive · top 15,000 on PyPI
universal-pathlibUniversal Pathlib provides a pathlib.Path-like…
permissive · top 1,000 on PyPI
ftputilftputil provides a high-level FTP client…
permissive · top 15,000 on PyPI
pathmagicProvides File and Dir classes that wrap…
permissive · top 15,000 on PyPI
zippProvides a pathlib-compatible wrapper around…
permissive · top 100 on PyPI