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
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:
- Visit Google AI Studio
- Create a project
- Get your Gemini 2.0 Flash API key
- 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
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
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 fidlyai-1.1.1.tar.gz.
File metadata
- Download URL: fidlyai-1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59c136aec98c83205d9c3eab2e3816b5b8b5736fe1a9505191d4a0ebb5995cc3
|
|
| MD5 |
5ec15f1388ab348c6016d197b7b82ef9
|
|
| BLAKE2b-256 |
443849cf93205e22dbfcc5174f73ff8bef81c1881c0c31b5739ae38c07acfe5a
|
File details
Details for the file fidlyai-1.1.1-py3-none-any.whl.
File metadata
- Download URL: fidlyai-1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05dc3324d48ff1057e4b7a1e25184a435b43407d667c70bf2e756c7686c57467
|
|
| MD5 |
004052900b0f92114ccadf988e2910c8
|
|
| BLAKE2b-256 |
46842cadfc08c74affba1b06ad7d8a9f79209bd16b715357756c30973ca4af4f
|