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.4.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.4.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file pyrig_containers-1.4.0.tar.gz.

File metadata

  • Download URL: pyrig_containers-1.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 0bbfea7789c2e93b5292d142f327ae28964a7f1de030184650bbd620e3463c8c
MD5 89479494fe12afc478194e656db14cce
BLAKE2b-256 77b64b96cc249bdbd80192f02c5967feba24323d46aac59b63053cc04b66f30c

See more details on using hashes here.

File details

Details for the file pyrig_containers-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: pyrig_containers-1.4.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f3130280f4aa6943d8b64f646a604411293c13e87908b3891127ce19edfcca4
MD5 0b996f80b1ae10ab221cc7c5bb5630a7
BLAKE2b-256 b26c71548cdc77b72117633cd340089e9ccd2839ecdadd3e70bf4a540bb8cd21

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