skillfed

universal-pathlib

pathlib api extended to use fsspec backends

universal-pathlib Permissive license MIT Active 405 v0.3.10 released

Install

universal-pathlib on PyPI

pip

pip install universal-pathlib

uv

uv add universal-pathlib

poetry

poetry add universal-pathlib

Package 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

Development Status :: 4 - BetaProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

About universal-pathlib

from the package's own PyPI description — quoted content, verbatim

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
pathlib for cloud storageunified filesystem abstractionfsspec pathlib wrapperremote filesystem accesscloud agnostic file pathsmulti-backend path interfaces3 azure gcs pathlib

Similar packages