Skip to main content

promptart

CI - Tests CI - Bandit CI - Build

License - MIT PyPI - Version PyPI - Python Version Python Project Management - Hatch Linting - Ruff Types - Mypy Security - Bandit

Simple frontend for accessing image and speech generation APIs. Made with Streamlit.

Currently supported:

  • Black Forest Labs Flux (Text-to-Image, In/Out-Painting, Image Variation, Structural Conditioning)
  • OpenAI Dall-E (Text-to-Image)
  • OpenAI TTS (Text-to-Speech)

Table of Contents

Getting Started

Install promptart using pipx:

pipx install promptart

Alternatively, install promptart using pip:

pip install --user promptart

Start the application:

promptart

Additional streamlit arguments can be appended. For example, to change the server port:

promptart --server.port 5000

The API keys for authentication can be provided in the following ways:

  1. Setting environment variables BFL_API_KEY / OPENAI_API_KEY.
  2. Creating ~/promptart/config.json populated with parameters bfl_api_key / openai_api_key.
  3. If 1. and 2. are not set, the API keys can also be provided in the frontend.

Further information about creating API keys:

To limit access to the frontend, a simple password check can be enabled by setting the environment variable PROMPTART_PASSWORD.

License

promptart is distributed under the terms of the MIT license.

Metadata

Release files for promptart 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for promptart 0.2.0
File Size Uploaded
promptart-0.2.0.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for promptart 0.2.0
File Interpreter ABI Platform
promptart-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / promptart-0.2.0.tar.gz

Download URL promptart-0.2.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
06e435bff7f913df4cbe68144b26b227919405bc9e66cd1dfd219aa52ed8fd33
BLAKE2b-256 checksum
How to use checksums
aa8e913b12688fe2dd2da9f48ceb8a160d219399dfb59b8cf01c81608c0db270
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 2, 2025.

Transparency log

Release files / promptart-0.2.0-py3-none-any.whl

Download URL promptart-0.2.0-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7190c150dc95d678b1c9c89068b8596a22f10a44a889de747ad7d37cafd20d5d
BLAKE2b-256 checksum
How to use checksums
e20060f4f31e62ebbb3c5285fd9e8c0785d803093d41a543700dd06f30a2954b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 2, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page