{"id":20618225,"url":"https://github.com/tddschn/aiomodelz","last_synced_at":"2026-05-29T08:04:18.504Z","repository":{"id":161957487,"uuid":"636336553","full_name":"tddschn/aiomodelz","owner":"tddschn","description":"TensorChord Modelz Python SDK and CLI with aiohttp","archived":false,"fork":false,"pushed_at":"2023-05-26T04:03:07.000Z","size":198,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"aio","last_synced_at":"2026-04-16T21:06:06.506Z","etag":null,"topics":["aiohttp","modelz","python3","tensorchord"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/aiomodelz","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tddschn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-04T16:17:30.000Z","updated_at":"2023-05-05T06:19:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"119cb30f-3a4c-47c4-a696-527bff7410b6","html_url":"https://github.com/tddschn/aiomodelz","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/tddschn/aiomodelz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Faiomodelz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Faiomodelz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Faiomodelz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Faiomodelz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tddschn","download_url":"https://codeload.github.com/tddschn/aiomodelz/tar.gz/refs/heads/aio","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Faiomodelz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33642320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aiohttp","modelz","python3","tensorchord"],"created_at":"2024-11-16T12:07:37.485Z","updated_at":"2026-05-29T08:04:18.481Z","avatar_url":"https://github.com/tddschn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TensorChord Modelz Python SDK and CLI\n\n[modelz-py](https://github.com/tensorchord/modelz-py) with aiohttp\n\nBasically, [aioclient.py](modelz/aioclient.py) implements the async / aiohttp versions of `Modelz*` classes,  \nand [client.py](modelz/client.py) wraps around them with `asyncio.run()` calls.\n\n- [TensorChord Modelz Python SDK and CLI](#tensorchord-modelz-python-sdk-and-cli)\n  - [Installation](#installation)\n    - [pipx](#pipx)\n    - [pip](#pip)\n  - [CLI Usage](#cli-usage)\n  - [Example Usage](#example-usage)\n    - [CLI Inference](#cli-inference)\n    - [Python Interface](#python-interface)\n  - [Develop](#develop)\n\n## Installation\n\n### pipx\n\nThis is the recommended installation method if you only want to use the CLI.\n\n```\n$ pipx install aiomodelz\n```\n\n### [pip](https://pypi.org/project/aiomodelz/)\n\n```\n$ pip install aiomodelz\n```\n\n\n## CLI Usage\n\n```shell\n$modelz --help\n\nusage: modelz [-h] {inference,metrics,build} ...\n\nmodelz CLI\n\npositional arguments:\n  {inference,metrics,build}\n\noptions:\n  -h, --help            show this help message and exit\n```\n\n## Example Usage\n### CLI Inference\n\n```shell\necho \"cute cat\" | modelz inference $PROJECT --serde msgpack --write-file cat.jpg --read-stdin\n```\n### Python Interface\n\n```python\n# use dotenv to load env\nfrom dotenv import load_dotenv\nload_dotenv()\n\n# example .env:\n# MODELZ_API_KEY=mzi-*****\n# MODELZ_HOST=https://{}.cloud.modelz.dev/ # use this if you're using the dev modelz cluster\n# MODELZ_SSL_VERIFY=0 # disable ssl verification\n\nfrom modelz import AioModelzClient, ModelzClient\n...\n\n```\n\n\n\n## Develop\n\n```\n$ git clone https://github.com/tddschn/aiomodelz.git\n$ cd aiomodelz\n$ pdm install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Faiomodelz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftddschn%2Faiomodelz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Faiomodelz/lists"}