Docker Registry Client
A Python REST client for the Docker Registry
It’s useful for automating image tagging and untagging
Usage
The API provides several classes: DockerRegistryClient, Repository, and Image.
DockerRegistryClient has the following methods:
namespaces() -> a list of all namespaces in the registry
repository(repository_name, namespace) -> the corresponding repository object
repositories() -> all repositories in the registry
Repository has the following methods:
tags() -> a list of all tags in the repository
data(tag) -> json data associated with tag
image(tag) -> the image associated with tag
untag(tag) -> remove tag from the repository
tag(tag, image_id) -> apply tag to image_id
Image has the following methods:
get_layer() -> binary layer data for image
get_json() -> json metadata for image
get_data(field) -> single field from json data
ancestry() -> ids for image ancestors
Alternatives
python-dxf (only supports V2)
0.5.2 (2017-06-16)
0.5.1 (2017-01-12)
Fixes to release process with zest
0.5.0 (2017-01-12)
First version of docker-registry-client with changelog
Support get and push manifest on protocol v2, schema v1. (Issue #33)
Metadata
Release files for docker-registry-client 0.5.2
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 | Actions |
|---|---|---|---|---|
| docker-registry-client-0.5.2.tar.gz | 8.0 kB | Without provenance | Details for docker-registry-client-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docker_registry_client-0.5.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for docker_registry_client-0.5.2-py2.py3-none-any.whl |
Total release size: 19.8 kB
Release files / docker-registry-client-0.5.2.tar.gz
| Download URL | docker-registry-client-0.5.2.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8482efc9ec9ec708dfb74193cdfa530eee23c93596c63d704c5a3702b049e58f
|
|
BLAKE2b-256 checksum How to use checksums |
823c287104dcdbd6fd3d367b8bc50f1387f8326fb8026312af61b2bcf5c09387
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / docker_registry_client-0.5.2-py2.py3-none-any.whl
| Download URL | docker_registry_client-0.5.2-py2.py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cb6c1c5e72e091ada9b32499c8529850e247bafb2202bc31bbe45e9710bf9038
|
|
BLAKE2b-256 checksum How to use checksums |
c7b4f1b3b2da3024fc20fe1e359871dc3c4f8e0ade1b0bbd85294f244c6a29d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for docker-registry-client 0.5.2
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.