Metadata-Version: 2.1
Name: aiomodelz
Version: 0.4.7
Summary: machine learning models
License: Apache-2.0
Keywords: machine learning,deep learning
Author-email: Teddy Xinyuan Chen <45612704+tddschn@users.noreply.github.com>,TensorChord <modelz-support@tensorchord.ai>
Requires-Python: >=3.7
Classifier: Environment :: GPU
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Description-Content-Type: text/markdown

# TensorChord Modelz Python SDK and CLI

[modelz-py](https://github.com/tensorchord/modelz-py) with aiohttp

- [TensorChord Modelz Python SDK and CLI](#tensorchord-modelz-python-sdk-and-cli)
  - [Installation](#installation)
    - [pipx](#pipx)
    - [pip](#pip)
  - [CLI Usage](#cli-usage)
  - [Example Usage](#example-usage)
    - [Stable Diffusion](#stable-diffusion)
  - [Develop](#develop)

## Installation

### pipx

This is the recommended installation method if you only want to use the CLI.

```
$ pipx install aiomodelz
```

### [pip](https://pypi.org/project/aiomodelz/)

```
$ pip install aiomodelz
```


## CLI Usage

```shell
$modelz --help

usage: modelz [-h] {inference,metrics,build} ...

modelz CLI

positional arguments:
  {inference,metrics,build}

options:
  -h, --help            show this help message and exit
```

## Example Usage
### Stable Diffusion

```shell
echo "cute cat" | modelz inference $PROJECT --serde msgpack --write-file cat.jpg --read-stdin
```

## Develop

```
$ git clone https://github.com/tddschn/aiomodelz.git
$ cd aiomodelz
$ pdm install
```
