Skip to main content

A useful utility library for AI applications

Project description

ezpyai

Welcome to ezpyai, your new best friend in the wild, wild world of AI! Whether you're a coding wizard, a data sorcerer, or just someone who likes to mess around with powerful tools, this Python utility library is here to make your life easier and your AI dreams a reality. Hack the planet, one prompt at a time!

Features

  • Easy Integration: Plug and play with OpenAI's API(and others in the future like LM Studio, Groq, HuggingFace, custom ones, etc). No need to sacrifice any goats.
  • Simplified Prompts: Wrangle those prompts like a boss. Customize to your heart's content.
  • Structured Responses: Get clean, validated JSON responses without the hassle. Because who has time for messy data?

Installation

Getting started is a breeze. Just run this magic spell in your terminal:

pip install ezpyai

Boom! You're ready to rock.

Usage

Here's a quick primer on how to use ezpyai. It's so simple, your pet hamster could do it (assuming it's a really smart hamster).

from ezpyai.llm import OpenAI, Prompt

# Initialize the OpenAI client
ai_client = OpenAI(api_key="your_openai_api_key")

# Create a prompt
prompt = Prompt(user_message="Hello, world!")

# Get a response from the model
response = ai_client.get_response(prompt)
print(response)

See? Easy peasy, lemon squeezy.

Documentation

Want to dive deeper? Check out our documentation. It's packed with everything you need to become an AI rockstar.

Contributing

We love contributions like hackers love caffeine. Found a bug? Have a brilliant idea? Head over to the issues page and let us know. Pull requests are always welcome!

License

ezpyai is unleashed under the WTFPL (Do What The Fuck You Want To Public License). Copy it, change it, or repurpose it to start your own digital riot.

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

ezpyai-0.0.1a1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

ezpyai-0.0.1a1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file ezpyai-0.0.1a1.tar.gz.

File metadata

  • Download URL: ezpyai-0.0.1a1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for ezpyai-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 87143b96e850bd10dad2afdb7de91e242f6ca60e936faca05b80f1f0eb3bc729
MD5 cb9dff2bcd5d68ba79abc9dec860af5e
BLAKE2b-256 0d73240db8d5c70414c5c00d14a2754893806e62bf73498bf4550642337bf796

See more details on using hashes here.

File details

Details for the file ezpyai-0.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: ezpyai-0.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for ezpyai-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d01d34fb171a17b8daa26963b4d9ae9e301536c9ddb731aed622e449f57b0508
MD5 b358f004e2fddbac004c00f56249ff3d
BLAKE2b-256 a2fadab7137f9e570ae65ba70c55e4ff774d897005d3e8a0589b13e6cf5381b6

See more details on using hashes here.

Supported by

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