An AIOHTTP based Python REST client for the Docker Registry.
Project description
docker-registry-client-async
Overview
An AIOHTTP based Python REST client for the Docker Registry.
Compatibility
- Tested with python 3.8
Installation
From pypi.org
$ pip install docker_registry_client_async
From source code
$ git clone https://github.com/crashvb/docker-registry-client-async
$ cd docker-registry-client-async
$ virtualenv env
$ source env/bin/activate
$ python -m pip install --editable .[dev]
Environment Variables
Variable | Default Value | Description |
---|---|---|
DRCA_CHUNK_SIZE | 2097152 | The chunk size to use then replicating content. |
DRCA_CREDENTIALS_STORE | ~/.docker/config.json | The credentials store from which to retrieve registry credentials. |
DRCA_DEFAULT_REGISTRY | index.docker.io | The default registry index to use when resolving image names. |
DRCA_DEFAULT_NAMESPACE | library | The default registry namespace to use when resolving image names. |
DRCA_DEFAULT_TAG | latest | The default image tag to use when resolving image names. |
DRCA_PROTOCOL | https | The default transport protocol to when communicating with a registry. |
DRCA_TOKEN_BASED_ENDPOINTS | index.docker.io,quay.io,registry.redhat.io | Endpoints for which to retrieve authentication tokens. |
Development
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for docker_registry_client_async-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8502ce8aee54a288d62255bce11684779311744ab138d74f4dd4b134cc83e3c3 |
|
MD5 | 183f849076442d5eb202cbf634140493 |
|
BLAKE2b-256 | e934689e1b62d97c087f8a8ae0d5c91a52ea61de42eba98785e10aaffd610f9d |
Close
Hashes for docker_registry_client_async-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 493b648ff4bebe8df9401cc09960f7e0bf92f6a342b9140e0ed6df34985f26f3 |
|
MD5 | e8cfecaae9f6a2bffa1c27f99fb486e4 |
|
BLAKE2b-256 | f716827fbe24cb0c0ddf4d91a48bc91c66548fbc6588459c5f0371e476fecb78 |