--- id: py version: "1.11.0" license: MIT license license_treatment: permissive maintenance: abandoned --- # py — library with cross-python path, ini-parsing, io, code, log facilities License: permissive · Maintenance: abandoned · Popularity: top 1,000 on PyPI ## Install pip install py uv add py poetry add py ## Description .. image:: https://img.shields.io/pypi/v/py.svg :target: https://pypi.org/project/py .. image:: https://img.shields.io/conda/vn/conda-forge/py.svg :target: https://anaconda.org/conda-forge/py .. image:: https://img.shields.io/pypi/pyversions/py.svg :target: https://pypi.org/project/py .. image:: https://github.com/pytest-dev/py/workflows/build/badge.svg :target: https://github.com/pytest-dev/py/actions **NOTE**: this library is in **maintenance mode** and should not be used in new code. The py lib is a Python development support library featuring the following tools and modules: * ``py.path``: uniform local and svn path objects -> please use pathlib/pathlib2 instead * ``py.apipkg``: explicit API control and lazy-importing -> please use the standalone package instead * ``py.iniconfig``: easy parsing of .ini files -> please use the standalone package instead * ``py.code``: dynamic code generation and introspection (deprecated, moved to ``pytest`` as a implementation detail). **NOTE**: prior to the 1.4 release this distribution used to contain py.test which is now its own package, see https://docs.pytest.org For questions and more information please visit... ## AI interpretation — verify before relying The py library provides cross-platform path manipulation, INI file parsing, code introspection, and other Python development utilities, though it is now in maintenance mode with most functionality superseded by modern alternatives. Verdict: The py library is a mature, permissively licensed package with zero known vulnerabilities and low install friction, but it has been abandoned for 1743 days and explicitly marked as unsuitable for new code. Its core functionality has been superseded by pathlib, standalone apipkg and iniconfig packages, and pytest internals. Use only for maintaining legacy code. [View on SkillFed](https://skillfed.io/packages/py) · [View on PyPI](https://pypi.org/project/py/)