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
Metadata
Release files for cfpdstuff 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cfpdstuff-1.0.2.tar.gz | 2.7 kB | Without provenance | Details for cfpdstuff-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cfpdstuff-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for cfpdstuff-1.0.2-py3-none-any.whl |
Total release size: 5.8 kB
Release files / cfpdstuff-1.0.2.tar.gz
| Download URL | cfpdstuff-1.0.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6369693d0036eb23f9d762b4fcd11cad70028c2ad89359cf97a169cb1f45b3ae
|
|
BLAKE2b-256 checksum How to use checksums |
9535c3c1c06e0665c6b286536f9c1cbad242a120ed80cf2250ac285a4a10b302
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / cfpdstuff-1.0.2-py3-none-any.whl
| Download URL | cfpdstuff-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
277d25e25217b717b66a0b3e7cb4af7f2f31da10d7cafdb44cc77e0891e1d24b
|
|
BLAKE2b-256 checksum How to use checksums |
e98da24a831c9e55856fae396632e5aaf7c8c6f40a66224eacb7bd85613027a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for cfpdstuff 1.0.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.