pyrig-fixtures
A pyrig plugin that provides pytest fixtures support.
Overview
pyrig-fixtures is a pyrig plugin that provides a library of reusable pytest fixtures for testing pyrig projects. Its fixtures — and any contributed by packages that depend on it — are made available automatically in every project that installs it.
What it adds
- A fixture library — ready-made fixtures for common testing needs: temporary project trees, module and package creation, config-file testing, CLI-command assertions, and environment gating.
- Automatic, cross-package availability — fixtures are registered as a pytest plugin so they work without imports, and any installed package that depends on pyrig-fixtures contributes its own fixtures the same way.
- A scaffolding command —
pyrig-fixtures fixture <name>adds a new fixture stub to your project's shared fixtures module. - An end-to-end init check — an autouse fixture that builds this project,
initializes a fresh scratch project with it installed as a pyrig plugin via
pyrig init, and verifies everything works. Runs once per test session even under pytest-xdist. Skip it with the--skip-init-pyrig-projectpytest flag (--sippfor short).
Usage
uv add pyrig-fixtures --dev
uv run pyrig sync
Documentation
Full documentation, including the auto-generated API reference, is available on the documentation site.
Metadata
Release files for pyrig-fixtures 2.26.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrig_fixtures-2.26.1.tar.gz | 16.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrig_fixtures-2.26.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.9 kB
Release files / pyrig_fixtures-2.26.1.tar.gz
| Download URL | pyrig_fixtures-2.26.1.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3375cc2e8099c92148ec73bead2b892bbae9108d54f1566fa7c3981e2f28c00a
|
|
BLAKE2b-256 checksum How to use checksums |
aa4a7a73ef57e99312df8581ce6f6159960f8c1edc23b90613c7325007e74942
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pyrig_fixtures-2.26.1-py3-none-any.whl
| Download URL | pyrig_fixtures-2.26.1-py3-none-any.whl |
|---|---|
| Size | 21.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c415c85dd61ac2556ee9b0db809591e5c29dac89b62de32f145619e8bbc84b7c
|
|
BLAKE2b-256 checksum How to use checksums |
556e8d7a1b2f09b1f097d55208d99e2184cc558cfe3fbed26b700f862daf2ce8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|