--- id: pathlib-abc version: "0.5.2" license: 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary… (full text in the JSON record) license_treatment: permissive maintenance: aging --- # pathlib-abc — Backport of pathlib ABCs License: permissive · Maintenance: aging · Popularity: top 1,000 on PyPI ## Install pip install pathlib-abc uv add pathlib-abc poetry add pathlib-abc ## Description =========== pathlib-abc =========== |pypi| |docs| Base classes for ``pathlib.Path``-ish objects. Requires Python 3.9+. This package is a preview of ``pathlib`` functionality planned for a future release of Python; specifically, it provides three ABCs that can be used to implement path classes for non-local filesystems, such as archive files and storage servers: ``JoinablePath`` Abstract base class for paths that do not perform I/O. ``ReadablePath`` Abstract base class for paths that support reading. ``WritablePath`` Abstract base class for paths that support writing. These base classes are under active development. Once the base classes reach maturity, they may become part of the Python standard library, and this package will continue to provide a backport for older Python releases. Contributing ------------ Functional changes must be made in the upstream CPython project, and undergo their usual CLA + code review process. Once a change lands in CPython, it can be back-ported here. Other changes (such as CI improvements) can be made as pull requests to this project. .. |pypi| image:: https://img.shields.io/pypi/v/pathlib-abc.svg :target:... ## AI interpretation — verify before relying Provides abstract base classes for implementing pathlib-like path objects for non-local filesystems such as archives and storage servers, with support for reading and writing operations. Verdict: A lightweight, permissively licensed backport of planned pathlib ABCs for Python 3.9+. No dependencies and no known vulnerabilities make it low-risk to adopt. Maintenance is aging but aligned with its role as a CPython preview; functional changes flow from upstream. Best suited for projects needing custom path abstractions for non-filesystem sources. [View on SkillFed](https://skillfed.io/packages/pathlib-abc) · [View on PyPI](https://pypi.org/project/pathlib-abc/)