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.1.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.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrig_containers-1.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6bfaf702d6ebfe3f1e863c7204f7871e699393d26a9be4760876ee7ae823d746
MD5 72905eb31cda36e387b82b7a938abe54
BLAKE2b-256 833c7afdcb2c4364aeffc127be77ee35b6e195e5a76319182f759fcddb69319b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrig_containers-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9337fc2490eeb0e0836d61e2dfd693b7406d61324e563b5605dc8ed043f126f
MD5 89e862bbaedeb1e2f8cbed3ca6c04296
BLAKE2b-256 5fe9ca5b614bbf7c1ebb8fa0a4bc44a965025ed313973226528607b3760229a9

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