pytest
pytest: simple powerful testing with Python
Install
pytest on PyPI
pip
pip install pytestuv
uv add pytestpoetry
poetry add pytestPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — colorama, exceptiongroup, iniconfig, packaging, pluggy, pygments, tomli |
| Maintenance | actively maintained — 55 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: pytest-9.1.1-py3-none-any.whl
Keywords: test, unittest
About pytest
from the package's own PyPI description — quoted content, verbatim
.. image:: https://github.com/pytest-dev/pytest/raw/main/doc/en/img/pytest_logo_curves.svg :target: https://docs.pytest.org/en/stable/ :align: center :height: 200 :alt: pytest
.. image:: https://img.shields.io/pypi/v/pytest.svg :target: https://pypi.org/project/pytest/
.. image:: https://img.shields.io/conda/vn/conda-forge/pytest.svg :target: https://anaconda.org/conda-forge/pytest
.. image:: https://img.shields.io/pypi/pyversions/pytest.svg :target: https://pypi.org/project/pytest/
.. image:: https://codecov.io/gh/pytest-dev/pytest/branch/main/graph/badge.svg :target: https://codecov.io/gh/pytest-dev/pytest :alt: Code coverage Status
.. image:: https://github.com/pytest-dev/pytest/actions/workflows/test.yml/badge.svg :target: https://github.com/pytest-dev/pytest/actions?query=workflow%3Atest
.. image:: https://results.pre-commit.ci/badge/github/pytest-dev/pytest/main.svg :target: https://results.pre-commit.ci/latest/github/pytest-dev/pytest/main :alt: pre-commit.ci status
.. image:: https://www.codetriage.com/pytest-dev/pytest/badges/users.svg :target: https://www.codetriage.com/pytest-dev/pytest
.. image::...
Read as markdown · JSON record · Source repository · Homepage
Similar packages
permissive · top 100 on PyPI
pypermissive · top 1,000 on PyPI
pytest-asynciopermissive · top 1,000 on PyPI
pytest-djangopermissive · top 1,000 on PyPI
PyGithubcopyleft · top 1,000 on PyPI
pytest-timeoutpermissive · top 1,000 on PyPI
pytest-mockpermissive · top 1,000 on PyPI
jaraco.functoolspermissive · top 1,000 on PyPI
pre-commitpermissive · top 1,000 on PyPI
pymupdfagpl · top 1,000 on PyPI