{ "info": { "author": "fedos", "author_email": "fedor.chemashkin@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# [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\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fedor-chemashkin/harbor-py-light", "keywords": "harbor python client sdk docker registry distribution", "license": "Apache Software", "maintainer": "", "maintainer_email": "", "name": "harbor-py-light", "package_url": "https://pypi.org/project/harbor-py-light/", "platform": "", "project_url": "https://pypi.org/project/harbor-py-light/", "project_urls": { "Homepage": "https://github.com/fedor-chemashkin/harbor-py-light" }, "release_url": "https://pypi.org/project/harbor-py-light/2.1.2/", "requires_dist": null, "requires_python": "", "summary": "The reborn Harbor Python SDK", "version": "2.1.2" }, "last_serial": 4924091, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "eb28016a39f977ed4860f474332bd2f2", "sha256": "ac1860032acb5309e3c703d3022638472cb4102c5763713d88d04f9fb7f997a1" }, "downloads": -1, "filename": "harbor_py_light-2.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "eb28016a39f977ed4860f474332bd2f2", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7734, "upload_time": "2019-01-25T11:24:35", "url": "https://files.pythonhosted.org/packages/e4/05/40fe65eafdd3d6a6b14944d3aa486c49a54482c5768cbf5ad644b4701704/harbor_py_light-2.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "834615cd30ab736eb3c3fa591fbd0cab", "sha256": "45fa16e56861789519364a052825676f6f93ea6729e68dee25906a50d4998974" }, "downloads": -1, "filename": "harbor_py_light-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "834615cd30ab736eb3c3fa591fbd0cab", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10227, "upload_time": "2019-01-25T10:39:46", "url": "https://files.pythonhosted.org/packages/ab/d7/7faa91cf0f3e13ac494e6c32167970913ced4cb136da057f7b532663788d/harbor_py_light-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09f00082108e93c8306cf928c222e1bb", "sha256": "b46d972c27ecb72d606414ea5235803104c6a7c3dbabbe86881d6c474b51c826" }, "downloads": -1, "filename": "harbor-py-light-2.0.0.tar.gz", "has_sig": false, "md5_digest": "09f00082108e93c8306cf928c222e1bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6535, "upload_time": "2019-01-25T10:39:48", "url": "https://files.pythonhosted.org/packages/76/22/d5ef5d2ea25afa15d8e1c7223e8a27efca8e459ffe7088ca6d78bc517266/harbor-py-light-2.0.0.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "088f777b87e7641f9cb63d4ba930f50a", "sha256": "7a1b66560d177c4442710291a729fd143676c3d7cf6698f2bebaeb2598ec3ecc" }, "downloads": -1, "filename": "harbor_py_light-2.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "088f777b87e7641f9cb63d4ba930f50a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10204, "upload_time": "2019-03-07T12:29:35", "url": "https://files.pythonhosted.org/packages/44/35/86d364d50c02663c17821d4739ffee7a8d15e5f5905e6892aebc95aa8327/harbor_py_light-2.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa4a0d74eb35808edc12df23984b7146", "sha256": "10e55c3250ab5ee3225e124d364725179f885d4297f9841c076438adbdd45aea" }, "downloads": -1, "filename": "harbor-py-light-2.1.0.tar.gz", "has_sig": false, "md5_digest": "aa4a0d74eb35808edc12df23984b7146", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6473, "upload_time": "2019-03-07T12:29:36", "url": "https://files.pythonhosted.org/packages/48/93/0b4542450e6176c5258607f4f2c4484092570d2eb05fdd75da7082fcf810/harbor-py-light-2.1.0.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "bb4f4b56fb7fe2f713adf5b87364fac3", "sha256": "6dd9259feeed06650fff685e555ec8cbfce8916e643bbc57a691f750a62e863f" }, "downloads": -1, "filename": "harbor_py_light-2.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bb4f4b56fb7fe2f713adf5b87364fac3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10218, "upload_time": "2019-03-07T13:04:54", "url": "https://files.pythonhosted.org/packages/e7/0b/9826a4b30d3c3ce91a1d66f4c4d8ba568b3005fc8105f8c3ff8efea5f26e/harbor_py_light-2.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "890079cb279b0d3c21aea0aaa5264081", "sha256": "2533d75843622817cc423710a95463a2c26ed62984240af742e046b986f5bfb9" }, "downloads": -1, "filename": "harbor-py-light-2.1.1.tar.gz", "has_sig": false, "md5_digest": "890079cb279b0d3c21aea0aaa5264081", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6494, "upload_time": "2019-03-07T13:04:56", "url": "https://files.pythonhosted.org/packages/64/de/3130b0619b06c6ece28572f867fbd7aa8907091c93105231ef0bc9bd91a4/harbor-py-light-2.1.1.tar.gz" } ], "2.1.2": [ { "comment_text": "", "digests": { "md5": "61e537fa40b74788ee375a062684c11c", "sha256": "45ea03d71fa8483aaae203ebda083ff6ae1e336349500696df19b7136ab31538" }, "downloads": -1, "filename": "harbor_py_light-2.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "61e537fa40b74788ee375a062684c11c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10242, "upload_time": "2019-03-11T09:07:40", "url": "https://files.pythonhosted.org/packages/fd/50/e009981e2f69b3fe438c8fd0a1310e6acd1a9e8190691e06eca489c35578/harbor_py_light-2.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f44abc91f112bcaeb8b4d44aa7952f10", "sha256": "1f912a8c8b188c286b3e1368b48de6bfbc4b3ebbe0922c41f3c1703710dd7c54" }, "downloads": -1, "filename": "harbor-py-light-2.1.2.tar.gz", "has_sig": false, "md5_digest": "f44abc91f112bcaeb8b4d44aa7952f10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6519, "upload_time": "2019-03-11T09:07:41", "url": "https://files.pythonhosted.org/packages/07/5e/1be9c687221948453239988b6a277609441c2e289bb99fdc7c816a5eb786/harbor-py-light-2.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "61e537fa40b74788ee375a062684c11c", "sha256": "45ea03d71fa8483aaae203ebda083ff6ae1e336349500696df19b7136ab31538" }, "downloads": -1, "filename": "harbor_py_light-2.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "61e537fa40b74788ee375a062684c11c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10242, "upload_time": "2019-03-11T09:07:40", "url": "https://files.pythonhosted.org/packages/fd/50/e009981e2f69b3fe438c8fd0a1310e6acd1a9e8190691e06eca489c35578/harbor_py_light-2.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f44abc91f112bcaeb8b4d44aa7952f10", "sha256": "1f912a8c8b188c286b3e1368b48de6bfbc4b3ebbe0922c41f3c1703710dd7c54" }, "downloads": -1, "filename": "harbor-py-light-2.1.2.tar.gz", "has_sig": false, "md5_digest": "f44abc91f112bcaeb8b4d44aa7952f10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6519, "upload_time": "2019-03-11T09:07:41", "url": "https://files.pythonhosted.org/packages/07/5e/1be9c687221948453239988b6a277609441c2e289bb99fdc7c816a5eb786/harbor-py-light-2.1.2.tar.gz" } ] }