Skip to main content

Rust-accelerated next-generation execution engine for pytest (planned).

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

pytest-rxdist

rxdist is a planned drop-in replacement for pytest-xdist, aiming to make large pytest suites run significantly faster via a Rust-powered execution core, smarter scheduling, and faster inter-process communication (IPC).

The Python package name is pytest-rxdist (import as pytest_rxdist).

Status

This repository currently contains planning and roadmap docs. Implementation work has not started yet.

What it aims to improve (vs pytest-xdist)

  • Scheduling efficiency: predictive scheduling using historical runtimes to reduce idle workers
  • Lower overhead: a Rust core to orchestrate workers efficiently
  • Faster IPC: move beyond Python pickle toward binary / zero-copy options
  • Worker reuse: “warm” workers with cached imports (and carefully controlled caching)
  • Scales up: from laptop parallelism to multi-machine distributed execution

Planned CLI

pytest -p pytest_rxdist -n auto
pytest --rxdist-scheduler=smart
pytest --rxdist-profile=on

Docs

  • Roadmap: ROADMAP.md
  • Planning docs
    • planning/pytest_rust_runner_plan.md
    • planning/rxdist_full_idea_doc.md

Repository notes

  • planning/ is intentionally ignored (see .gitignore) so you can iterate on internal notes without committing them.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_rxdist-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_rxdist-0.0.1-cp312-cp312-macosx_11_0_arm64.whl (204.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file pytest_rxdist-0.0.1.tar.gz.

File metadata

  • Download URL: pytest_rxdist-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for pytest_rxdist-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1fd4db6d81a54469cdfdc15da7af96ef6c1a22323f8c2b8b2c42078e991c24e3
MD5 70b354147bb69b05352a502b8efd0f29
BLAKE2b-256 df9caa26838c1ff7db1f2facf05d7fc92e223406fd3ae0e547132d2c63529ac2

See more details on using hashes here.

File details

Details for the file pytest_rxdist-0.0.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pytest_rxdist-0.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 de882a43792e5ed2a9431bcda32f7c29cc0d72180ad49a1571e0dc11d8dc4a29
MD5 f005f53fa37dde7052891fef1e20a9f0
BLAKE2b-256 5f301b67c45d203bfb5ccee649a2c692c549445e085796572f90af4cd15b3fe4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page