Skip to main content

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


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.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

cfpdstuff-1.0.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file cfpdstuff-1.0.0.tar.gz.

File metadata

  • Download URL: cfpdstuff-1.0.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cfpdstuff-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3ad7def291f3af45aee2626097ef22bc92af63622e87fa1b26bca8f5e2b7726f
MD5 0ff30ea7b3bfc7111741bc14259afcb0
BLAKE2b-256 b20ef5bf38a3111c17fb2a2490697456cc36ad2c0e4ea84682755edcc1f06a30

See more details on using hashes here.

File details

Details for the file cfpdstuff-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cfpdstuff-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cfpdstuff-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce82ef3f2bb2a95e0f0f8710d18957319d07c2bdeebe10a480110326cd2c93d3
MD5 9baaaddf8aaf77a6887e786e2d67fed3
BLAKE2b-256 093f5520932174c00f6934cc7d0a0752448508eb08157dff08b46c4c4e119aaf

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