$npx skillfedfor your agent

pytest-shard

With conditionsPyPI TestingReleased Dec 20201.8M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_shard-0.1.2-py3-none-any.whl
v0.1.2 · released 2020-12-11 · Python >=3.6 · 1 runtime deps: pytest

Yes, if you are running pytest on a CI platform that supports parallel jobs and your test suite is stable. The plugin is simple and has no known vulnerabilities. However, do not adopt it for new projects: the package is abandoned and will not receive updates for future pytest or Python versions. Consider it only if you have an existing CI setup that already uses it or if you can commit to maintaining a fork.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires pytest to be installed; intended for CI environments that can set shard-id and num-shards parameters.
  • Low install friction with a single runtime dependency on pytest.
  • However, the package is abandoned—last release was 2020-12-11 and no commits since 2023-08-22—so it will not receive bug fixes or compatibility updates for future Python or pytest versions.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2020-12-11 (2072 days) · last repo commit 2023-08-22 · 38 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,797,137 downloads/mo, #3,548 on PyPI

Verify before relying

pip install pytest-shard

pytest --shard-id=0 --num-shards=2
  • Whether the package remains compatible with current pytest versions and modern Python releases beyond 3.8
  • Whether hash-based sharding produces balanced test distribution across workers in practice
Same gist for agents: .md · .json

What it is and what it does

pytest-shard is a pytest plugin that divides your test suite across multiple CI workers or machines by hashing individual test names and assigning each test to a shard. It works at the finest granularity—individual test cases—so even a single parameterized test or file can be split across workers. You run pytest with two flags: --shard-id (which worker this is) and --num-shards (total number of workers), and the plugin automatically routes each test to its assigned shard.

The package is designed for continuous integration pipelines that support parallel jobs, such as CircleCI or Travis CI. It does not balance based on test runtime—all shards receive roughly equal numbers of tests—and is meant to complement tools like pytest-xdist, which parallelizes across CPU cores on a single machine. The package is no longer maintained; its last release was in December 2020.

Use it for

  • Split a large test suite across multiple CircleCI workers using CIRCLE_NODE_INDEX and CIRCLE_NODE_TOTAL environment variables.
  • Parallelize test execution on Travis CI by distributing test cases across multiple build jobs.
  • Reduce total CI build time by running disjoint test shards on separate machines without test interdependencies.
  • Enable fine-grained parallelism even when all tests live in a single file or parameterized test method.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are running pytest on a CI platform that supports parallel jobs and your test suite is stable.

The plugin is simple and has no known vulnerabilities. However, do not adopt it for new projects: the package is abandoned and will not receive updates for future pytest or Python versions. Consider it only if you have an existing CI setup that already uses it or if you can commit to maintaining a fork.

Install

pytest-shard on PyPI

Before you install

Low install friction with a single runtime dependency on pytest. However, the package is abandoned—last release was 2020-12-11 and no commits since 2023-08-22—so it will not receive bug fixes or compatibility updates for future Python or pytest versions.

Requires pytest to be installed; intended for CI environments that can set shard-id and num-shards parameters.

License in practice

MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install pytest-shard

pytest --shard-id=0 --num-shards=2

Verify before relying

  • Whether the package remains compatible with current pytest versions and modern Python releases beyond 3.8
  • Whether hash-based sharding produces balanced test distribution across workers in practice

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pytest
MaintenanceAbandoned 2,072 days since the last release
Last repo commit
First released
Downloads1,797,137 / month, #3,548 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Software Development :: Testing

Evidence: pytest_shard-0.1.2-py3-none-any.whl

Tags

Capabilities
pytest parallel ci workersdistribute tests across machinespytest test shardingci test parallelizationpytest load balancingsplit tests multiple workerspytest horizontal scaling
Topics
ci-parallelizationtest-distribution

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 parallel ci workers”

  • pytest-shardDistributes pytest test execution across multiple machines or CI…
  • pytest-test-groupspytest-test-groups is a pytest plugin that splits your test suite…
  • pytest-split-testsA pytest plugin that splits your test suite into equal-sized groups…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

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.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

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.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

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.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

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.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-xdist · pytest-circleci-parallelized · pytest-parallel · pytest-test-groups · pytest-run-parallel · pytest-split-tests · pytest-split · pytest-forked · robotframework-pabot · pytest-cov