Metadata-Version: 2.4
Name: promptart
Version: 0.1.0
Summary: Simple frontend for accessing image and speech generation APIs.
Project-URL: Documentation, https://github.com/manuelkonrad/promptart#readme
Project-URL: Issues, https://github.com/manuelkonrad/promptart/issues
Project-URL: Source, https://github.com/manuelkonrad/promptart
Author-email: Manuel Konrad <oss@mkonrad.dev>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.9
Requires-Dist: openai~=1.58
Requires-Dist: requests~=2.32
Requires-Dist: streamlit~=1.41
Provides-Extra: dev
Requires-Dist: bandit[sarif,toml]~=1.7.10; extra == 'dev'
Requires-Dist: mypy~=1.13.0; extra == 'dev'
Requires-Dist: pre-commit~=4.0.1; extra == 'dev'
Requires-Dist: ruff~=0.7.4; extra == 'dev'
Provides-Extra: full
Requires-Dist: bandit[sarif,toml]~=1.7.10; extra == 'full'
Requires-Dist: mypy~=1.13.0; extra == 'full'
Requires-Dist: pre-commit~=4.0.1; extra == 'full'
Requires-Dist: pytest-cov~=6.0.0; extra == 'full'
Requires-Dist: pytest-html~=4.1.1; extra == 'full'
Requires-Dist: pytest~=8.3.3; extra == 'full'
Requires-Dist: ruff~=0.7.4; extra == 'full'
Provides-Extra: test
Requires-Dist: pytest-cov~=6.0.0; extra == 'test'
Requires-Dist: pytest-html~=4.1.1; extra == 'test'
Requires-Dist: pytest~=8.3.3; extra == 'test'
Description-Content-Type: text/markdown

# promptart

[![CI - Tests](https://github.com/manuelkonrad/promptart/actions/workflows/tests.yml/badge.svg)](https://github.com/manuelkonrad/promptart/actions/workflows/tests.yml)
[![CI - Bandit](https://github.com/manuelkonrad/promptart/actions/workflows/bandit.yml/badge.svg)](https://github.com/manuelkonrad/promptart/actions/workflows/bandit.yml)
[![CI - Build](https://github.com/manuelkonrad/promptart/actions/workflows/build.yml/badge.svg)](https://github.com/manuelkonrad/promptart/actions/workflows/build.yml)

[![License - MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://spdx.org/licenses/MIT.html)
[![PyPI - Version](https://img.shields.io/pypi/v/promptart.svg)](https://pypi.org/project/promptart)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/promptart.svg)](https://pypi.org/project/promptart)
[![Python Project Management - Hatch](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
[![Linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/python/mypy)
[![Security - Bandit](https://img.shields.io/badge/security-Bandit-yellow.svg)](https://github.com/PyCQA/bandit)

Simple frontend for accessing image and speech generation APIs. Currently supporting OpenAI Dall-E and Text-to-Speech models. Based on Streamlit.

## Table of Contents

- [Getting Started](#getting_started)
- [License](#license)

## Getting Started

Install `promptart` using `pipx`:

```console
pipx install promptart
```

Alternatively, install `promptart` using `pip`:

```console
pip install --user promptart
```

Start the application:

```console
promptart
```

Additional `streamlit` arguments can be appended. For example,
to change the bind address and port:

```console
promptart --server.address 0.0.0.0 --server.port 5000
```

## License

`promptart` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
