Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dockerhub_client-0.0.4-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file dockerhub-client-0.0.4.tar.gz.

File metadata

  • Download URL: dockerhub-client-0.0.4.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.13

File hashes

Hashes for dockerhub-client-0.0.4.tar.gz
Algorithm Hash digest
SHA256 044cb714723701c95cd689d80075fc7624c803f2cf36c83ceb51c4446133380a
MD5 9942661148f12c6fe85719a9185b358b
BLAKE2b-256 2f9e1199fba7640c66ea1be18a82edd4dc787661646403cb9d74d56ee19545b2

See more details on using hashes here.

File details

Details for the file dockerhub_client-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: dockerhub_client-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.13

File hashes

Hashes for dockerhub_client-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ff589b99058cb8a0a0242d6c694e8397a2ba571b2b2537958e91f31d65715e0a
MD5 3c5535b2d9b179a845d3692b96d6d89c
BLAKE2b-256 cec938ca0a9a0cac7a6f3627e74f608cdea07e601dce6de1bfc0bfea36ed61a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page