universal-pathlib
pathlib api extended to use fsspec backends
Install
universal-pathlib on PyPI
pip
pip install universal-pathlibuv
uv add universal-pathlibpoetry
poetry add universal-pathlibPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — fsspec, pathlib-abc |
| Maintenance | actively maintained — 172 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: universal_pathlib-0.3.10-py3-none-any.whl
Keywords: filesystem-spec, pathlib
About universal-pathlib
from the package's own PyPI description — quoted content, verbatim
Universal Pathlib
PyPI - Python Version (image) PyPI - License (image) PyPI (image) Conda (channel only) (image)
Docs (image) Tests (image) GitHub issues (image) [![Codestyle...
Read as markdown · JSON record · Source repository · Homepage
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
Universal Pathlib extends pathlib's API to provide a unified interface for accessing diverse filesystems—local, cloud storage, and remote—through fsspec backends.
Low friction: pure Python wheel with only two runtime dependencies (fsspec and pathlib-abc). Active maintenance with last commit 2026-04-27 and 405 GitHub stars signal ongoing support.
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Usage
from universal_pathlib import UPath
path = UPath("s3://bucket/file.txt")
if path.exists():
content = path.read_text()
Optional fsspec extras required for specific backends (e.g., s3fs for S3, gcsfs for GCS); base install covers local and memory filesystems only.
Verdict: A well-maintained, low-friction library for treating cloud and remote filesystems as pathlib objects. MIT licensing and active development make it suitable for production use; no known vulnerabilities. Primary consideration is installing appropriate fsspec extras for your target backend.
Needs verification
- Whether all 15+ listed filesystem backends are equally tested or if some rely on untested default fsspec implementations
- Performance characteristics and latency overhead compared to direct fsspec or backend-specific libraries
- Compatibility guarantees with future Python versions beyond 3.14
Similar packages
permissive · top 1,000 on PyPI
fsspecunclear · top 100 on PyPI
pathlib-abcpermissive · top 1,000 on PyPI
smart-openpermissive · top 1,000 on PyPI
watchdogpermissive · top 1,000 on PyPI
s3fspermissive · top 100 on PyPI
gcsfspermissive · top 1,000 on PyPI
pexpectpermissive · top 1,000 on PyPI
hf-xetpermissive · top 1,000 on PyPI
huggingface-hubpermissive · top 100 on PyPI