allpairspy
Pairwise test combinations generator
Decision gist · record as of 2026-08-14
Yes, if you need to reduce test case explosion in parameterized testing. The package is stable, has no dependencies, and solves a real problem in combinatorial test design. The dormant maintenance status is not a blocker for a mature algorithm, but verify that pairwise coverage meets your testing requirements before relying on it for critical quality gates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later.
- Low friction installation with no runtime dependencies.
- Maintenance is dormant—last release was 2023-07-08—but the package is marked Production/Stable and the repository remains active and unarchived.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) allows free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2023-07-08 (1133 days) · last repo commit 2023-11-01 · 298 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 301,926 downloads/mo, #7,829 on PyPI
Alternatives
Verify before relying
from allpairspy import AllPairs
parameters = [
["Brand X", "Brand Y"],
["98", "NT", "2000", "XP"],
["Internal", "Modem"],
]
for i, pairs in enumerate(AllPairs(parameters)):
print(f"{i}: {pairs}")- Whether the algorithm produces optimal pairwise coverage or merely 'good enough' coverage as the description suggests.
- Performance characteristics when handling large parameter sets or high-order n-wise combinations.
- How long the package has been dormant and whether that affects reliability for new test frameworks.
What it is and what it does
AllPairs is a test combinations generator that implements pairwise testing—a combinatorial technique that reduces the number of test cases needed while still covering most interactions between variables. Instead of testing every possible combination (which grows exponentially), it generates a minimal set where each pair of parameter values appears together at least once. This is useful when you have many configuration options or input parameters and want to test their interactions without the explosion of a full factorial matrix.
The package works as a Python iterator, accepting either a list of lists or an OrderedDict of parameter options. It supports filtering to exclude invalid combinations and can generate n-wise combinations beyond pairs when needed. It integrates cleanly with pytest for parameterized testing and has no external runtime dependencies, making it lightweight to add to a test suite.
Use it for
- Reduce test suite size for software with many configuration options by generating representative pairwise combinations instead of exhaustive tests.
- Parameterize pytest tests with a minimal set of input combinations that still exercise most variable interactions.
- Filter out known invalid parameter combinations while generating test cases to avoid wasting test execution on impossible scenarios.
- Generate test matrices for hardware or OS compatibility testing where you have multiple brands, versions, and features to combine.
- Create n-wise combinations beyond pairs when you need to test higher-order interactions between specific parameters.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to reduce test case explosion in parameterized testing.
The package is stable, has no dependencies, and solves a real problem in combinatorial test design. The dormant maintenance status is not a blocker for a mature algorithm, but verify that pairwise coverage meets your testing requirements before relying on it for critical quality gates.
Install
allpairspy on PyPI
Before you install
Low friction installation with no runtime dependencies. Maintenance is dormant—last release was 2023-07-08—but the package is marked Production/Stable and the repository remains active and unarchived.
Requires Python 3.7 or later.
License in practice
MIT License (permissive) allows free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
from allpairspy import AllPairs
parameters = [
["Brand X", "Brand Y"],
["98", "NT", "2000", "XP"],
["Internal", "Modem"],
]
for i, pairs in enumerate(AllPairs(parameters)):
print(f"{i}: {pairs}")
Verify before relying
- Whether the algorithm produces optimal pairwise coverage or merely 'good enough' coverage as the description suggests.
- Performance characteristics when handling large parameter sets or high-order n-wise combinations.
- How long the package has been dormant and whether that affects reliability for new test frameworks.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,133 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 301,926 / month, #7,829 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/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: TestingTopic :: Utilities |
Evidence: allpairspy-2.5.1-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 › “pairwise test combinations”
- allpairspyGenerates minimal test case combinations using pairwise testing,…
- scikit-posthocsProvides post hoc statistical tests for pairwise multiple comparisons…
- pingouinPingouin provides a comprehensive statistical analysis toolkit for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
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.
See also pingouin · trampoline · parameterized · pytest-cache · scikit-posthocs · ua-generator · namedlist · ddt · browserforge · covdefaults