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 — the same way as the rest of your project.
What it adds
- A production-ready Containerfile — generated at the project root from a slim Python base image, using uv for dependency installation, a non-root runtime user, and a layer order tuned for build-cache reuse.
- Container tooling in the rig — a Podman-based container engine and the GitHub Container Registry (GHCR) are registered as first-class tools, each contributing a Markdown badge to the README.
- Automated image publishing — the deploy workflow gains a job that, after a
successful release, builds the image and pushes it to GHCR tagged with both the
released version and
latest.
Requirements
pyrig-containers builds on pyrig and follows its conventions. Functionality is guaranteed only for the container engine wrapped by the plugin's tool class — Podman in this project. Images are built with Podman and published to GHCR using the repository's built-in GitHub token, so there are no extra registry credentials to configure.
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.5.0.tar.gz.
File metadata
- Download URL: pyrig_containers-1.5.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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 |
4e2cf7170a25dfffd321079a6fd9fd681436d04d38d4dea7cc1d01dcbe4ca79d
|
|
| MD5 |
53f089af4d3d52c89f78b32e38e25fbc
|
|
| BLAKE2b-256 |
5876492820bb81b9f1e8305964b25d9e30951aa7f47ae981b0d05816fa256f2a
|
File details
Details for the file pyrig_containers-1.5.0-py3-none-any.whl.
File metadata
- Download URL: pyrig_containers-1.5.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","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 |
3bf7eae61cc3ad1c96cd9ccdd91ff10d20cb02db64e99bc76fb2951316bf05e2
|
|
| MD5 |
7beaeb513e66441c4008674bad120d83
|
|
| BLAKE2b-256 |
8c26d20865ff439b9ce4925b0af72d275acaff83a1aa57cab2460a55ce1f2fff
|