allure-python-commons
Contains the API for end users as well as helper functions and classes to build Allure adapters for Python test frameworks
Decision gist · record as of 2026-08-14
Yes. This is a stable, actively maintained library in production use (top 5000 PyPI packages) with no known vulnerabilities, permissive licensing, and minimal dependencies. Install it if you are building an Allure adapter or using an Allure-integrated test framework.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later.
- Typically used as a dependency of an Allure adapter rather than standalone.
- Low friction install with only two runtime dependencies (attrs, pluggy).
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-04-27 (109 days) · last repo commit 2026-07-10 · 813 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,935,381 downloads/mo, #1,574 on PyPI
Alternatives
Verify before relying
pip install allure-python-commons
import allure
@allure.title("My test")
def test_example():
allure.attach("test data", name="info")- Whether the package works effectively in multithreaded scenarios beyond what AllureReporter currently supports
- Specific async/await concurrency support status relative to the open issues mentioned in the description
What it is and what it does
allure-python-commons is the foundational library for Allure Report integration in Python. It provides the object model, lifecycle management, and common API that both end users and framework adapter developers rely on. End users import it to decorate test functions with metadata (title, severity, epic, feature, story, tags, links) and to attach runtime information like parameters and files. Adapter developers use internal APIs—the model classes, file/memory loggers, and lifecycle implementations—to build test framework plugins that emit Allure report data.
The package is lightweight, with only attrs and pluggy as runtime dependencies, and maintains active development with support for Python 3.8 through 3.13. It sits between test frameworks and the Allure reporting engine, translating test metadata into the structured format Allure Report consumes. Most users install it indirectly as a dependency of an Allure adapter, though it can be used directly to build custom adapters.
Use it for
- Decorate test functions with allure.title, allure.severity, and allure.epic to organize and prioritize reports
- Attach screenshots, logs, or JSON payloads to test results at runtime using allure.attach for debugging
- Build a custom Allure adapter using the model2 and lifecycle APIs for non-standard test frameworks
- Dynamically add test metadata (description, tags, links) during test execution via allure.dynamic.*
- Emit test results and containers to Allure Report format for integration with CI/CD dashboards
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a stable, actively maintained library in production use (top 5000 PyPI packages) with no known vulnerabilities, permissive licensing, and minimal dependencies. Install it if you are building an Allure adapter or using an Allure-integrated test framework.
Install
allure-python-commons on PyPI
Before you install
Low friction install with only two runtime dependencies (attrs, pluggy). Actively maintained with recent commits and stable production status.
Requires Python 3.6 or later. Typically used as a dependency of an Allure adapter rather than standalone.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install allure-python-commons
import allure
@allure.title("My test")
def test_example():
allure.attach("test data", name="info")
Verify before relying
- Whether the package works effectively in multithreaded scenarios beyond what AllureReporter currently supports
- Specific async/await concurrency support status relative to the open issues mentioned in the description
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesattrspluggy |
| Maintenance | Actively maintained 109 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 8,935,381 / month, #1,574 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing |
Evidence: allure_python_commons-2.16.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “allure report api”
- allure-python-commonsProvides the common API and object model for Allure Report, enabling…
- allure-combineConverts an Allure test report folder into a single self-contained…
- allure-behaveIntegrates Behave BDD test execution with Allure Report, generating…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also allure-combine · allure-pytest · allure-robotframework · allure-pytest-bdd · allure-behave · allure-pytest-default-results · behavex · qase-pytest · ansible-compat · pytest-html