Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

library with cross-python path, ini-parsing, io, code, log facilities

Project description

https://img.shields.io/pypi/v/py.svg https://img.shields.io/conda/vn/conda-forge/py.svg https://img.shields.io/pypi/pyversions/py.svg https://github.com/pytest-dev/py/workflows/build/badge.svg

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 https://py.readthedocs.io

Bugs and issues: https://github.com/pytest-dev/py

Authors: Holger Krekel and others, 2004-2017

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page