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: 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.27.74
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrig_fixtures-2.27.74.tar.gz | 15.3 kB | Without provenance | Details for pyrig_fixtures-2.27.74.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrig_fixtures-2.27.74-py3-none-any.whl | Python 3 | none | any | Details for pyrig_fixtures-2.27.74-py3-none-any.whl |
Total release size: 35.0 kB
Release files / pyrig_fixtures-2.27.74.tar.gz
| Download URL | pyrig_fixtures-2.27.74.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46d62f297f65d18c3eb4cb73b3fe1c29c66a884b58752c71a5fb591fa471fb02
|
|
BLAKE2b-256 checksum How to use checksums |
27d9376024d8002ef6fc5d2f92da5d98681c9f43fe9783f1d6992af5f224aacd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyrig_fixtures-2.27.74-py3-none-any.whl
| Download URL | pyrig_fixtures-2.27.74-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f65c184f45ecdffbb975b29364f44e95e12c629e3f82622fca6bac76c5c6e6e7
|
|
BLAKE2b-256 checksum How to use checksums |
e119432531a6b09b2aa45a8baa39ed4975b8425ebe6b82ed60287dc8dbbeff0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pyrig-fixtures 2.27.74
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.