Skip to main content

The reborn Harbor Python SDK

Project description

Harbor client light.

Introduction

Harbor is the enterprise-class registry server for docker distribution.

harbor-py-light is lightweight Harbor client. The supported APIs are list below.

Installation

pip install harbor-py-light

Usage

from harborclient import harborclient

host = "127.0.0.1"
user = "admin"
password = "Harbor12345"

client = harborclient.HarborClient(host, user, password)

client.get_projects()
client.get_users()
client.get_statistics()
client.get_top_accessed_repositories()
client.search("library")

For more usage, please refer to the examples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for harbor-py-light, version 2.1.2
Filename, size File type Python version Upload date Hashes
Filename, size harbor_py_light-2.1.2-py3-none-any.whl (10.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size harbor-py-light-2.1.2.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page