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

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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