A pyrig plugin to integrate containers.
Project description
pyrig-containers
A pyrig plugin to integrate containers.
Overview
pyrig-containers is a pyrig plugin that adds container support to a pyrig-managed Python project. Installed as a development dependency, it plugs into pyrig's config-generation and tooling system, so the files and CI steps needed to build and publish a container image are scaffolded, validated, and kept in sync automatically and is handled by pyrig.
What it adds
- A Containerfile — A ready to use Containerfile.
- Container tooling in the rig — Adds two tool classes that wrap podman and GHCR and add each a markdown badge.
- Automated image publishing — adds a job to the deploy workflow that build and pushes the container image to the registry.
Requirements
Just add the plugin and pyrig handles the rest for you.
uv add pyrig-containers --dev
uv run pyrig sync
If you want to build the image locally as well, you will need to install podman.
Documentation
Full documentation, including the auto-generated API reference, is available at the project documentation site.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrig_containers-1.13.0.tar.gz.
File metadata
- Download URL: pyrig_containers-1.13.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7d10f0758c0f5dc9f553ddaa504e40c86433c295a4a57416ace5fc13e7a896f
|
|
| MD5 |
3944b4879946ec66f549164a84ade1e9
|
|
| BLAKE2b-256 |
5ad904c93825a906a8075beb971a929199bf3459b1b6a288525b065a09e4a661
|
File details
Details for the file pyrig_containers-1.13.0-py3-none-any.whl.
File metadata
- Download URL: pyrig_containers-1.13.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c46a3485494f8377f83d65ed69db4524930b8b8291e2507e0052e1779db49b00
|
|
| MD5 |
2147394521c073a7b27a489a8772a80d
|
|
| BLAKE2b-256 |
1c9ca016fe8dfe581e91418163a38e6f15e163eeb2424357ec9d8f25dbfa1a4d
|