podman
Bindings for Podman RESTful API
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, uses a permissive Apache 2.0 license, and supports current Python versions (3.9–3.13). Install it if you need programmatic control over Podman from Python; skip it if you only use Podman via the CLI or don't need container automation in your codebase.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Podman daemon accessible via Unix socket or TCP; the package currently supports Unix domain sockets only.
- Low install friction with a pure-Python wheel distribution.
- Maintenance is active with a recent release and ongoing repository activity.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache License 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and license inclusion.
last release 2026-03-25 (142 days) · last repo commit 2026-08-14 · 377 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 706,658 downloads/mo, #5,272 on PyPI
Alternatives
Verify before relying
pip install podman
from podman import PodmanClient
uri = "unix:///run/user/1000/podman/podman.sock"
with PodmanClient(base_url=uri) as client:
version = client.version()
for image in client.images.list():
print(image)- Whether TCP connection support is planned or available in versions beyond 5.8.0
- Performance characteristics and latency overhead compared to direct Podman CLI invocation
- Compatibility matrix with specific Podman daemon versions
What it is and what it does
Podman is a Python library that wraps the Podman container engine's RESTful API, letting you interact with containers and images from Python code instead of shell commands. It connects to a running Podman daemon (typically via a Unix socket) and provides object-oriented access to list, inspect, create, and manage containers and images. The library depends on requests, tomli, and urllib3 for HTTP communication and configuration parsing.
You use it by instantiating a PodmanClient with a URI pointing to your Podman daemon, then calling methods on that client to query or manipulate containers and images. The example in the documentation shows retrieving version info, listing images, iterating over containers, and checking their status. It's designed for developers who want to automate container operations from Python rather than shelling out to the Podman CLI.
Use it for
- Automate container lifecycle management (start, stop, remove) from Python applications or scripts
- Build container orchestration or monitoring tools that query Podman daemon state programmatically
- Integrate container operations into CI/CD pipelines or deployment automation written in Python
- Query container and image metadata (status, IDs, attributes) without parsing CLI output
- Develop testing frameworks that spin up and tear down containers on demand via Python code
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, installs with low friction, uses a permissive Apache 2.0 license, and supports current Python versions (3.9–3.13). Install it if you need programmatic control over Podman from Python; skip it if you only use Podman via the CLI or don't need container automation in your codebase.
Install
podman on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance is active with a recent release and ongoing repository activity.
Requires a running Podman daemon accessible via Unix socket or TCP; the package currently supports Unix domain sockets only.
License in practice
Licensed under Apache License 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and license inclusion.
Quickstart
pip install podman
from podman import PodmanClient
uri = "unix:///run/user/1000/podman/podman.sock"
with PodmanClient(base_url=uri) as client:
version = client.version()
for image in client.images.list():
print(image)
Verify before relying
- Whether TCP connection support is planned or available in versions beyond 5.8.0
- Performance characteristics and latency overhead compared to direct Podman CLI invocation
- Compatibility matrix with specific Podman daemon versions
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesrequeststomliurllib3 |
| Maintenance | Actively maintained 142 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 706,658 / month, #5,272 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: podman-5.8.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “podman python bindings”
- podmanProvides Python bindings to the Podman container engine's RESTful…
- podman-composePodman Compose runs Docker Compose specification files using Podman…
- molecule-pluginsProvides driver plugins for molecule that enable testing across…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also docker · podman-compose · docker-py · stackit-resourcemanager · opentelemetry-resourcedetector-kubernetes · splunk-sdk · pylxd · llm-sandbox · pytest-container · azure-mgmt-appcontainers