A simple library for communicating with Google's Gemini LLM - no setup required!
Project description
CFPDStuff
A simple Python library for communicating with Google's Gemini LLM. No API keys, no environment variables, no hassle - just install and use!
Installation
pip install cfpdstuff
Quick Start
Option 1: Simple Function Call
import cfpdstuff
response = cfpdstuff.chat("Explain how AI works in a few words")
print(response)
Option 2: Using the Bot Class
from cfpdstuff import CFPDBot
bot = CFPDBot()
response = bot.chat("What is Python?")
print(response)
# Or use the generate method
response = bot.generate("Write a haiku about coding")
print(response)
Option 3: Get Bot Instance
from cfpdstuff import get_bot
bot = get_bot()
response = bot.chat("Hello, how are you?")
print(response)
Features
- ✅ No API key setup required
- ✅ No environment variables needed
- ✅ Simple and intuitive API
- ✅ Ready to use after pip install
Requirements
- Python 3.7+
- google-genai package (installed automatically)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cfpdstuff-1.0.1.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cfpdstuff-1.0.1.tar.gz.
File metadata
- Download URL: cfpdstuff-1.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63a571090aedc046004ed90d92e96d07a9c1b3dc203042a442f70778b5644c8c
|
|
| MD5 |
a11eeed1e9198149d41ea91dd56b528b
|
|
| BLAKE2b-256 |
469563f6b9ef1eb8b1e9bf982b9556d7293bb0ec35bda07cf8867978d6108baf
|
File details
Details for the file cfpdstuff-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cfpdstuff-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2293bb805f662782e5c8b0453c7b3370533bc1db723adec1a0943855fc8fbbe
|
|
| MD5 |
9a2bf63c4d570f7872b5088075ca63ea
|
|
| BLAKE2b-256 |
7c5c4d6cbbc6208f68d20a28665f58d2da375428a986f302b51efcdf51f3a723
|