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.

Filename, size & hash SHA256 hash help File type Python version Upload date
harbor_py_light-2.1.2-py3-none-any.whl (10.2 kB) Copy SHA256 hash SHA256 Wheel py3
harbor-py-light-2.1.2.tar.gz (6.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page