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

You can also launch the application one-shot:

uvx  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.4.tar.gz (336.6 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.4-py3-none-any.whl (336.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for openai_api_tester-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b5b97434352f733f06c05a8245e47a434e8d52f3bf3f116434ed87f6c5af6413
MD5 8d5c63498a76d4ef097fd69fb3f10702
BLAKE2b-256 0451a823e95987226239aa2a4e8f3da2a810be5f915a003915890a704f46a6bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openai_api_tester-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ce93fe74e92e4588f5c80c40ba47453495fbea6691d7afb2cbe0a621f05c751
MD5 1f3d4cd7e92f5440523ee39bd965b0d9
BLAKE2b-256 416c72cbff923ed793968b01e387854029b67a69887a93c01785c2d0b1065259

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