Client library for dockerhub API, provides a CLI interface.
Project description
Dockerhub Client
Client library to interact with dockerhub API. Shipped with a CLI that enables high level access to main features.
Installation
pip install dockerhub-client
Usage from CLI
Using CLI, dockerhub credentials must be provided as environment variables.
export DOCKERHUB_USERNAME=<username>
export DOCKERHUB_PASSWORD=<password or token>
Library reference
Instanciate client with dockerhub credentials...
from dockerhub.client import DockerhubClient
dockerhub = DockerhubClient("<username>", "<password or token>")
Get repository information
dockerhub.get_repository("<namespace>/<repo>")
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
dockerhub-client-0.0.4.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for dockerhub_client-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff589b99058cb8a0a0242d6c694e8397a2ba571b2b2537958e91f31d65715e0a |
|
MD5 | 3c5535b2d9b179a845d3692b96d6d89c |
|
BLAKE2b-256 | cec938ca0a9a0cac7a6f3627e74f608cdea07e601dce6de1bfc0bfea36ed61a6 |