{"id":22574895,"url":"https://github.com/thoth-station/amun-client","last_synced_at":"2025-04-10T16:11:31.939Z","repository":{"id":33377082,"uuid":"150066576","full_name":"thoth-station/amun-client","owner":"thoth-station","description":"A library for communicating with Amun API","archived":false,"fork":false,"pushed_at":"2022-12-09T08:32:49.000Z","size":315,"stargazers_count":2,"open_issues_count":3,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-24T13:51:25.246Z","etag":null,"topics":["artificial-intelligence","hacktoberfest","thoth"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thoth-station.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2018-09-24T07:10:35.000Z","updated_at":"2022-09-26T11:43:48.000Z","dependencies_parsed_at":"2023-01-15T00:39:43.222Z","dependency_job_id":null,"html_url":"https://github.com/thoth-station/amun-client","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoth-station%2Famun-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoth-station%2Famun-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoth-station%2Famun-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoth-station%2Famun-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thoth-station","download_url":"https://codeload.github.com/thoth-station/amun-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248251020,"owners_count":21072685,"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":["artificial-intelligence","hacktoberfest","thoth"],"created_at":"2024-12-08T03:08:21.685Z","updated_at":"2025-04-10T16:11:31.925Z","avatar_url":"https://github.com/thoth-station.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Amun Client\n-----------\n\nAutogenerated library for communication with\n`Amun API \u003chttps://github.com/thoth-station/amun-api\u003e`_\n\nThe swagger definition that is used for generating this swagger client can be\nfound in Amun API repository in file\n`amun-api/openapi/openapi.yaml \u003chttps://github.com/thoth-station/amun-api/blob/master/openapi/openapi.yaml\u003e`_.\n\nInstallation\n============\n\nThis library is automatically released on changes to PyPI, so you can install\nit using pip or Pipenv (recommended):\n\n.. code-block:: console\n\n  pipenv install amun\n  # or use pip\n  # pip3 install amun\n\nUsage\n=====\n\nYou can find autogenerated documentation in the \n`Amun client \u003chttps://github.com/thoth-station/amun-client\u003e`_ repository,\nunder the\n`Documentation directory \u003chttps://github.com/thoth-station/amun-client/tree/master/Documentation\u003e`_.\n\nTo adjust client for a desired remote, you can use the following configuration chages:\n\n.. code-block:: python\n\n  from amun.swagger_client import InspectionApi\n  from amun.swagger_client import InspectionSpecification\n  from amun.swagger_client import Configuration\n  from amun.swagger_client import ApiClient\n  from pprint import pprint\n\n  # Adjust remote to communicate with:\n  configuration = Configuration()\n  configuration.host = 'http://amun-api.your-cluster.redhat.com/api/v1'\n\n  # Apply this configuration to API client:\n  api_client = ApiClient(configuration)\n\n  # Use the customized API client to talk to the remote API:\n  api_instance = InspectionApi(api_client)\n  specification = InspectionSpecification(base='fedora:28')\n  \n  api_response = api_instance.post_inspection(specification)\n  pprint(api_response)\n\nOr you can use the prepared wrapper for this purpose:\n\n.. code-block:: python\n\n  from amun import inspect\n\n  inspect('http://amun-api.your-cluster.redhat.com/api/v1', base='fedora:28')\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoth-station%2Famun-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoth-station%2Famun-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoth-station%2Famun-client/lists"}