--- id: pytest-metadata version: "3.1.1" license: unclear license_treatment: copyleft maintenance: active --- # pytest-metadata — pytest plugin for test session metadata License: copyleft · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pytest-metadata uv add pytest-metadata poetry add pytest-metadata ## Description pytest-metadata =============== pytest-metadata is a plugin for `pytest `_ that provides access to test session metadata. .. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg :target: https://github.com/pytest-dev/pytest-metadata/blob/master/LICENSE :alt: License .. image:: https://img.shields.io/pypi/v/pytest-metadata.svg :target: https://pypi.python.org/pypi/pytest-metadata/ :alt: PyPI .. image:: https://img.shields.io/travis/pytest-dev/pytest-metadata.svg :target: https://travis-ci.org/pytest-dev/pytest-metadata/ .. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black :alt: Travis .. image:: https://img.shields.io/github/issues-raw/pytest-dev/pytest-metadata.svg :target: https://github.com/pytest-dev/pytest-metadata/issues :alt: Issues .. image:: https://img.shields.io/requires/github/pytest-dev/pytest-metadata.svg :target: https://requires.io/github/pytest-dev/pytest-metadata/requirements/?branch=master :alt: Requirements Requirements ------------ You will need the following in order to use pytest-metadata: - Python 3.8+ or... ## AI interpretation — verify before relying A pytest plugin that captures and exposes test session metadata—including Python version, platform, installed packages, and CI environment details—for use in test reports and custom test logic. Verdict: A mature, actively maintained pytest plugin with zero known vulnerabilities and low install friction. The MPL 2.0 copyleft license is permissive for open-source and most internal projects but requires legal review for proprietary redistribution. Suitable for any pytest-based test suite needing session metadata capture and reporting. [View on SkillFed](https://skillfed.io/packages/pytest-metadata) · [View on PyPI](https://pypi.org/project/pytest-metadata/)