This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Moved to https://pypi.org/project/podman/
podman-py
This python package is a library of bindings to use the RESTful API of Podman. It is currently under development and contributors are welcome!
Dependencies
- For runtime dependencies, see requirements.txt.
- For testing and development dependencies, see test-requirements.txt.
Example usage
"""Demonstrate PodmanClient."""
import json
from podman import PodmanClient
# Provide a URI path for the libpod service. In libpod, the URI can be a unix
# domain socket(UDS) or TCP. The TCP connection has not been implemented in this
# package yet.
uri = "unix:///run/user/1000/podman/podman.sock"
with PodmanClient(base_url=uri) as client:
version = client.version()
print("Release: ", version["Version"])
print("Compatible API: ", version["ApiVersion"])
print("Podman API: ", version["Components"][0]["Details"]["APIVersion"], "\n")
# get all images
for image in client.images.list():
print(image, image.id, "\n")
# find all containers
for container in client.containers.list():
first_name = container['Names'][0]
container = client.containers.get(first_name)
print(container, container.id, "\n")
# available fields
print(sorted(container.attrs.keys()))
print(json.dumps(client.df(), indent=4))
Contributing
See CONTRIBUTING.md
Metadata
Release files for podman-py 3.1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| podman-py-3.1.2.1.zip | 73.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| podman_py-3.1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 142.7 kB
Release files / podman-py-3.1.2.1.zip
| Download URL | podman-py-3.1.2.1.zip |
|---|---|
| Size | 73.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82db851781cc7c0d8850fb297b42e0ba6773a90288d8f379223ac9f1efb4131d
|
|
BLAKE2b-256 checksum How to use checksums |
0b3ea7170a183706a7738bb4cbeab8684edad74b314b4fd130b3180fb2c72a0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4
|
Release files / podman_py-3.1.2.1-py3-none-any.whl
| Download URL | podman_py-3.1.2.1-py3-none-any.whl |
|---|---|
| Size | 69.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b901771bf5f5ef6cf627e92e2c3d5b2f66750dce274e31bc1953050a4eb352a
|
|
BLAKE2b-256 checksum How to use checksums |
c55d17c633c8497236c39ad5369db112e6408003b4fae759682dcdbec8ecaae3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4
|
Security for podman-py 3.1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.