{"id":15297055,"url":"https://github.com/fedor-chemashkin/harbor-client-light","last_synced_at":"2025-10-07T10:30:52.839Z","repository":{"id":57436754,"uuid":"167012111","full_name":"fedor-chemashkin/harbor-client-light","owner":"fedor-chemashkin","description":"The reborn Harbor Python Client","archived":false,"fork":true,"pushed_at":"2019-03-11T09:04:13.000Z","size":70,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-02T01:43:41.405Z","etag":null,"topics":["automation","client","harbor","python","sdk"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/harbor-py-light/","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"tobegit3hub/harbor-py","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fedor-chemashkin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-22T14:54:06.000Z","updated_at":"2023-01-23T23:15:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fedor-chemashkin/harbor-client-light","commit_stats":null,"previous_names":["fedor-chemashkin/harbor-py-light"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedor-chemashkin%2Fharbor-client-light","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedor-chemashkin%2Fharbor-client-light/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedor-chemashkin%2Fharbor-client-light/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedor-chemashkin%2Fharbor-client-light/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedor-chemashkin","download_url":"https://codeload.github.com/fedor-chemashkin/harbor-client-light/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877408,"owners_count":16554889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","client","harbor","python","sdk"],"created_at":"2024-09-30T19:14:51.480Z","updated_at":"2025-10-07T10:30:47.524Z","avatar_url":"https://github.com/fedor-chemashkin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Harbor](https://github.com/goharbor/harbor) client light.\n\n## Introduction\n\n[Harbor](https://github.com/goharbor/harbor) is the enterprise-class registry server for docker distribution.\n\n[harbor-py-light](https://github.com/fedor-chemashkin/harbor-py-light) is lightweight Harbor client. The supported APIs are list below.\n\n- [x] Projects APIs\n  - [x] [Get projects](./examples/get_projects.py)\n  - [x] [Create project](./examples/create_project.py)\n  - [x] [Check project exist](./examples/check_project_exist.py)\n  - [x] [Get project id from name](./examples/get_project_id_from_name.py)\n  - [ ] [Set project publicity](./examples/set_project_publicity.py)\n  - [ ] Get project access logs\n  - [ ] Get project member\n  - [ ] Get project and user member\n- [x] Repositories APIs\n  - [x] [Get repositories](./examples/get_repositories.py)\n  - [x] [Delete repository](./examples/delete_repository.py)\n  - [x] [Get repository tags](./examples/get_repository_tags.py)\n  - [x] [Get repository manifests](./examples/get_repository_manifests.py)\n  - [x] [Retag image](./examples/retag_image.py)\n- [x] Others APIs\n  - [x] [Search](./examples/search.py)\n  - [x] [Get statistics](./examples/get_statistics.py)\n  - [x] [Get top accessed repositories](./examples/get_top_accessed_repositories.py)\n  - [x] [Get logs](./examples/get_logs.py)\n  - [x] Get systeminfo\n  - [x] Get systeminfo volumes\n  - [x] Get configurations\n\n## Installation\n\n```\npip install harbor-py-light\n```\n\n## Usage\n\n```\nfrom harborclient import harborclient\n\nhost = \"127.0.0.1\"\nuser = \"admin\"\npassword = \"Harbor12345\"\n\nclient = harborclient.HarborClient(host, user, password)\n\nclient.get_projects()\nclient.get_users()\nclient.get_statistics()\nclient.get_top_accessed_repositories()\nclient.search(\"library\")\n```\n\nFor more usage, please refer to the [examples](./examples/).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedor-chemashkin%2Fharbor-client-light","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedor-chemashkin%2Fharbor-client-light","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedor-chemashkin%2Fharbor-client-light/lists"}