Skip to main content

A tool designed to interact with APIs compatible with OpenAI's format.

Project description

OpenAI API Tester

OpenAI API Tester is a tool designed to interact with APIs compatible with OpenAI's format. It uses the FastAPI framework and HTMX to provide a seamless interface for quickly testing various APIs. Form inputs are stored in the browser's local storage, so you can pick up where you left off.

Installation

To install the necessary dependencies, use the uv package manager:

uv tool install openai-api-tester
openai-api-tester

or pipx:

pipx install openai-api-tester
openai-api-tester

You can also launch the application one-shot:

uvx  openai-api-tester
pipx run openai-api-tester

Deploy on Clever Cloud

Install Clever Tools and create a Python application:

npm i -g clever-tools
clever login

clever create --type python

Set the environment variables:

clever env set CC_RUN_COMMAND "uvx openai-api-tester"

Deploy the application:

clever deploy
clever open

Development

To run the application locally, clone the repository use the development script:

git clone https://github.com/davlgd/openai-api-tester.git
cd openai-api-tester

uv run dev.py

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openai_api_tester-0.1.5.tar.gz (336.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openai_api_tester-0.1.5-py3-none-any.whl (337.0 kB view details)

Uploaded Python 3

File details

Details for the file openai_api_tester-0.1.5.tar.gz.

File metadata

  • Download URL: openai_api_tester-0.1.5.tar.gz
  • Upload date:
  • Size: 336.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.21

File hashes

Hashes for openai_api_tester-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ddaabc45037675a55b2ad56cfb19bc1e133a2fc71914171c2c29ac1697611c50
MD5 77f78758ca37f1a14be72834aabe5c53
BLAKE2b-256 96de42f8990a427a53ea515a8768d9a57ff8f72a5c8544d0046c581f7eb6c1c2

See more details on using hashes here.

File details

Details for the file openai_api_tester-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for openai_api_tester-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 502bcdfbce9dafdfe70c90fbbc2f5fcdbd9f0c0e0fdd72c1da16a7b59a71a19b
MD5 adc35471af5c1883656e94c1b8890c8d
BLAKE2b-256 b2a37e1fe1528a6af7847b08023da8272a19bf4874f19437fa566214135b58dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page