$npx skillfedfor your agent

harborapi

Async Harbor API v2.0 client

With conditionsPyPI LibrariesReleased Jan 202582.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — harborapi-0.26.2-py3-none-any.whl
v0.26.2 · released 2025-01-21 · Python >=3.8 · 4 runtime deps: backoff, httpx, pydantic, typing-extensions

Yes, if you need to automate Harbor registry operations from Python. The library is mature (Beta, since 2022), has no known vulnerabilities, and low install friction. The dormant maintenance status is acceptable for a stable API client—the last release fixed a recent httpx compatibility issue. Verify that its workarounds for Harbor API spec inconsistencies align with your Harbor version before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8+; async/await syntax mandatory; Harbor API endpoint URL and credentials required.
  • Low friction: pure Python wheel with four lightweight runtime dependencies (backoff, httpx, pydantic, typing-extensions).
  • Maintenance is dormant—last release 2025-01-21 with a recent fix for httpx>=0.28.0 compatibility, but no active development signals beyond bug fixes.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive). No restrictions on commercial or private use; you may modify and redistribute under the same license.

last release 2025-01-21 (570 days) · last repo commit 2025-01-21 · 41 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,247 downloads/mo, #14,175 on PyPI

Verify before relying

pip install harborapi

import asyncio
from harborapi import HarborAsyncClient

async def main():
    client = HarborAsyncClient(
        url="https://demo.goharbor.io/api/v2.0/",
        username="user",
        secret="pass"
    )
    projects = await client.get_projects()
    for p in projects:
        print(p.name)

asyncio.run(main())
  • Whether the library's workarounds for Harbor API spec inconsistencies remain sufficient for current Harbor versions.
  • Current maintenance commitment and response time for bug reports or compatibility issues.
Same gist for agents: .md · .json

What it is and what it does

harborapi is an async Python client for Harbor, the open-source container registry. It wraps Harbor's REST API v2.0 with full type hints and Pydantic validation, allowing you to programmatically manage projects, artifacts, robots, vulnerability reports, and other registry resources. The library acknowledges that the official Harbor API spec contains errors and inconsistencies; it applies local fixes to make validation usable where the spec and actual API responses diverge.

You instantiate a HarborAsyncClient with your Harbor URL and credentials, then call async methods like get_projects(), create_project(), get_artifacts(), and get_artifact_vulnerability_reports(). Built-in retry logic via backoff handles transient failures automatically. Optional Rich support provides pretty-printed output. The library supports Python 3.8–3.12 and is classified as Beta.

Use it for

  • Automate project and artifact management in Harbor from Python scripts or CI/CD pipelines.
  • Fetch vulnerability reports for container images and integrate them into security scanning workflows.
  • Query and manage robot accounts and permissions programmatically for registry access control.
  • Build monitoring or audit tools that track Harbor projects, repositories, and artifact metadata.
  • Integrate Harbor operations into larger container orchestration or DevOps automation frameworks.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to automate Harbor registry operations from Python.

The library is mature (Beta, since 2022), has no known vulnerabilities, and low install friction. The dormant maintenance status is acceptable for a stable API client—the last release fixed a recent httpx compatibility issue. Verify that its workarounds for Harbor API spec inconsistencies align with your Harbor version before committing to production use.

Install

harborapi on PyPI

Before you install

Low friction: pure Python wheel with four lightweight runtime dependencies (backoff, httpx, pydantic, typing-extensions). Maintenance is dormant—last release 2025-01-21 with a recent fix for httpx>=0.28.0 compatibility, but no active development signals beyond bug fixes.

Requires Python 3.8+; async/await syntax mandatory; Harbor API endpoint URL and credentials required.

License in practice

MIT license (permissive). No restrictions on commercial or private use; you may modify and redistribute under the same license.

Quickstart

pip install harborapi

import asyncio
from harborapi import HarborAsyncClient

async def main():
    client = HarborAsyncClient(
        url="https://demo.goharbor.io/api/v2.0/",
        username="user",
        secret="pass"
    )
    projects = await client.get_projects()
    for p in projects:
        print(p.name)

asyncio.run(main())

Verify before relying

  • Whether the library's workarounds for Harbor API spec inconsistencies remain sufficient for current Harbor versions.
  • Current maintenance commitment and response time for bug reports or compatibility issues.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
backoffhttpxpydantictyping-extensions
MaintenanceDormant 570 days since the last release
Last repo commit
First released
Downloads82,247 / month, #14,175 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: InternetTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: harborapi-0.26.2-py3-none-any.whl

Tags

Capabilities
harbor registry api clientasync container registry clientharbor rest api pythoncontainer image management apiharbor project managementasync docker registry clientharbor artifact management
Topics
container-registryasync-clientharbor

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “harbor registry api client”

  • harborapiAsync Python client for the Harbor container registry REST API v2.0,…
  • harborHarbor is a framework for running and evaluating agents and language…
  • azure-containerregistryClient library for managing container images, artifacts, and metadata…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also harbor · legit-api-client · azure-containerregistry · harbor-rewardkit · socketdev · azure-mgmt-containerregistry · neptune-api · google-cloud-artifact-registry · google-cloud-containeranalysis · GitHubKit