pytest-parametrization
Simpler PyTest parametrization
Decision gist · record as of 2026-08-14
No. The package is abandoned (last update 2022-05-22, no commits since 2023-08-01) and targets obsolete Python versions (2.7, 3.4–3.6). Modern pytest versions have native parametrization that covers the same use cases. Install only if you are maintaining legacy code already using this package; for new projects, use pytest's built-in parametrize decorator instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package targets Python 2.7 and 3.4–3.6; compatibility with Python 3.7+ is untested and unsupported by the maintainers.
- High install friction and abandoned maintenance status.
- Last release was 2022-05-22 with no updates since; repo shows 49 stars and last commit on 2023-08-01.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) places no restrictions on use, modification, or distribution. You can safely use this in commercial or proprietary projects without licensing obligations.
last release 2022-05-22 (1545 days) · last repo commit 2023-08-01 · 49 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 114,571 downloads/mo, #12,288 on PyPI
Alternatives
Verify before relying
pip install pytest-parametrization
from parametrization import Parametrization
@Parametrization.parameters("actual", "expected")
@Parametrization.case(name="test_1", actual=1, expected=1)
@Parametrization.case("test_2", 2, 2)
def test_example(actual, expected):
assert actual == expected- Whether this package works reliably with modern Python versions (3.8+) despite classifier claims only up to 3.6.
- Whether pytest's native parametrize decorator (available since pytest 2.3) now covers all use cases this package was designed to simplify.
- Active maintenance status or community forks that may have continued development.
What it is and what it does
pytest-parametrization is a decorator-based wrapper around pytest's parametrization feature, designed to reduce boilerplate when writing parameterized tests. Instead of using pytest.mark.parametrize with tuples or lists, you stack decorators to define test cases with named parameters and optional auto-detection of parameter names from the test function signature. It also supports default parameter values and custom name factories to generate test case names from argument values.
The package has been abandoned since mid-2022 and targets Python versions that are now end-of-life (2.7, 3.4–3.6). While it carries no known vulnerabilities and uses a permissive MIT license, the lack of maintenance means it will not receive updates for modern Python compatibility issues or pytest API changes. For new projects, pytest's native parametrization or actively maintained alternatives are likely safer choices.
Use it for
- Simplify test code when you have many test cases with the same assertions but different inputs and expected outputs.
- Use auto-detection to avoid repeating parameter names in both decorators and function signatures.
- Generate descriptive test case names dynamically from argument values using a name factory function.
- Define default values for optional parameters across multiple test cases to reduce repetition.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last update 2022-05-22, no commits since 2023-08-01) and targets obsolete Python versions (2.7, 3.4–3.6). Modern pytest versions have native parametrization that covers the same use cases. Install only if you are maintaining legacy code already using this package; for new projects, use pytest's built-in parametrize decorator instead.
Install
pytest-parametrization on PyPI
Before you install
High install friction and abandoned maintenance status. Last release was 2022-05-22 with no updates since; repo shows 49 stars and last commit on 2023-08-01. The package targets Python 2.7 through 3.6, which are now end-of-life. Consider whether pytest's native parametrization or active alternatives better suit your current Python version.
Package targets Python 2.7 and 3.4–3.6; compatibility with Python 3.7+ is untested and unsupported by the maintainers.
License in practice
MIT License (permissive) places no restrictions on use, modification, or distribution. You can safely use this in commercial or proprietary projects without licensing obligations.
Quickstart
pip install pytest-parametrization
from parametrization import Parametrization
@Parametrization.parameters("actual", "expected")
@Parametrization.case(name="test_1", actual=1, expected=1)
@Parametrization.case("test_2", 2, 2)
def test_example(actual, expected):
assert actual == expected
Verify before relying
- Whether this package works reliably with modern Python versions (3.8+) despite classifier claims only up to 3.6.
- Whether pytest's native parametrize decorator (available since pytest 2.3) now covers all use cases this package was designed to simplify.
- Active maintenance status or community forks that may have continued development.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,545 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 114,571 / month, #12,288 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 :: MIT LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Software Development :: Build Tools |
Evidence: pytest-parametrization-2022.2.1.tar.gz
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 › “pytest parametrization decorator”
- pytest-parametrizationProvides decorator-based parametrization for pytest test functions,…
- pytest-lazy-fixtureAllows you to use pytest fixtures directly as parameters in…
- unittest-parametrizeAdds parametrization support to unittest TestCases, allowing you to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also parameter-decorators · pytest-cases · pytest-lazy-fixture · unittest-parametrize · parametrize · pytest · pytest-deepassert · pytest-factoryboy · pytest-embedded · pytest-lazy-fixtures