Skip to main content

FidlyAI is a highly effective AI package for Python, designed to be user-friendly.

Project description

💬 fidlyai

fidlyai is a powerful and flexible Python package for interacting with Google's Gemini 2.0 Flash API. Built to support multiple users, handle bulk prompts, and maintain chat memory per user, it's the perfect AI companion for developers, researchers, and builders.


✨ Features

  • 🔐 Support for multiple API keys (multi-user ready)
  • 💬 Chat-like session handling with memory per user
  • 📤 Send and process multiple prompts in one go
  • ⚡ Fast single-prompt requests
  • 📦 Lightweight with zero dependencies except requests
  • 🧩 Easy integration into any Python project
  • 💡 Great for AI chatbots, automation, assistants, and research

📦 Installation

Install directly from GitHub:

pip install fidlyai

💡 Basic Usage

from fidlyai import gemini

api = gemini("YOUR_GEMINI_API_KEY")
response = api.ask("What is Artificial Intelligence?")
print(response)

🔁 Bulk Prompting

Send multiple prompts in a single session:

prompts = ["What is AI?", "Explain Python.", "Uses of the internet."]
answers = api.bulk_ask(prompts)

for ans in answers:
    print(ans)

👥 Chat with User Memory

Each user gets isolated memory context:

user = "user123"
print(api.chat(user, "Hey Gemini, who are you?"))
print(api.chat(user, "What did I just ask you?"))

This creates a memory-like flow for each user separately — ideal for chatbots or interactive tools.


🔑 Authentication

To use fidlyai, you need a Gemini API key:

  1. Visit Google AI Studio
  2. Create a project
  3. Get your Gemini 2.0 Flash API key
  4. Use it like: gemini("YOUR_KEY")

🧪 Use Cases

  • AI-powered chat systems
  • Educational tools
  • Creative writing assistants
  • Code generators
  • Research projects
  • Interactive Q&A bots
  • Multi-user systems with context retention

🧑‍💻 Author

Developed with ❤️ by Fidal PalamParambil (mr-fidal)
Email: mrfidal@proton.me


📃 License

MIT License © 2025 Fidal


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

fidlyai-1.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

fidlyai-1.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file fidlyai-1.0.1.tar.gz.

File metadata

  • Download URL: fidlyai-1.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for fidlyai-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c5459f7e1277dd038656203e091219203247aa24b55257007995c0aefa47efbb
MD5 e8f6f8556a99868c26ffb55ede90d95f
BLAKE2b-256 7bf916640688a1bb1745925312648dbcaa1b90abacde8ac33074120e698cdef0

See more details on using hashes here.

File details

Details for the file fidlyai-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: fidlyai-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for fidlyai-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 abd4f40664240a5572009e5e111f8e8c6ee969ac20e09fd8006e4e18b8acab34
MD5 a1f2a66c3991a05ed678a4a3386f0895
BLAKE2b-256 42b20310e7f0c061e5db3fcb4b192684dbb3304b84bf0e4ff2d92b8da1f72bf5

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