🚀 Abhanti - Universal AI Client
Works out of the box with FREE endpoint!
from abhanti import ai
# Works immediately - no setup needed!
response = ai("What is Python?")
print(response)
✨ Features
- ✅ Zero config - works instantly
- ✅ FREE by default - uses llm7.io
- ✅ Universal - supports ollama.com, OpenAI, etc.
- ✅ Smart API keys - prompts when needed
- ✅ Model discovery - fetch available models
- ✅ LangChain compatible
📦 Installation
pip install abhanti
🚀 Quick Start
Zero Config (FREE)
from abhanti import ai
print(ai("What is 2+2?"))
print(ai("Explain AI"))
Ollama.com (with API key)
from abhanti import AIClient
# Get API key from: https://ollama.com/account
client = AIClient(
url="https://ollama.com/v1",
api_key="your-ollama-key"
)
# Get available models
models = client.get_available_models()
print([m['name'] for m in models])
# Use specific model
client.model = "gpt-oss:120b"
response = client.ask("Hello!")
Environment Variables
export ABHANTI_URL="https://ollama.com/v1"
export ABHANTI_API_KEY="your-key"
export ABHANTI_MODEL="gpt-oss:120b"
🔥 Supported Providers
- llm7.io (FREE, default)
- ollama.com (requires API key)
- OpenAI (requires API key)
- Groq (requires API key)
- Anthropic (requires API key)
📖 Examples
See examples/ folder for more examples.
📄 License
MIT License
Metadata
Release files for abhanti 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| abhanti-1.0.0.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abhanti-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / abhanti-1.0.0.tar.gz
| Download URL | abhanti-1.0.0.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
480ae673447afaf3b03f20b759f9fbdd0b5e24700a7406e761859765820b9ab0
|
|
BLAKE2b-256 checksum How to use checksums |
5d05713932d65aa8fe0ba3450768ec40ba3c8e2cf97c7af2983e9c17582ef950
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.2
|
Release files / abhanti-1.0.0-py2.py3-none-any.whl
| Download URL | abhanti-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3806d45c1b6f9cdd0120da6db3b30f8b4c4057ad41199b30be33c31be88dd1ff
|
|
BLAKE2b-256 checksum How to use checksums |
fa7777cdafe253158804de5576575b99a8bf14f0668f63c2eac67930f5bca249
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.2
|