Skip to main content

A pyrig plugin to integrate containers.

Project description

pyrig-containers

DependencyAuditor SecurityChecker

CI CD

MarkdownLinter PythonLinter TypeChecker VersionControlHookManager

CoverageTester ProjectTester

ContainerEngine PackageManager Pyrigger RemoteVersionController VersionController

DocsBuilder Documentation

ContainerRegistry PackageIndex ProgrammingLanguage License


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


Download files

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

Source Distribution

pyrig_containers-1.5.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

pyrig_containers-1.5.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

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

Hashes for pyrig_containers-1.5.0.tar.gz
Algorithm Hash digest
SHA256 4e2cf7170a25dfffd321079a6fd9fd681436d04d38d4dea7cc1d01dcbe4ca79d
MD5 53f089af4d3d52c89f78b32e38e25fbc
BLAKE2b-256 5876492820bb81b9f1e8305964b25d9e30951aa7f47ae981b0d05816fa256f2a

See more details on using hashes here.

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

Hashes for pyrig_containers-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3bf7eae61cc3ad1c96cd9ccdd91ff10d20cb02db64e99bc76fb2951316bf05e2
MD5 7beaeb513e66441c4008674bad120d83
BLAKE2b-256 8c26d20865ff439b9ce4925b0af72d275acaff83a1aa57cab2460a55ce1f2fff

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