Brainus AI Python SDK
Official Python SDK for the Brainus AI API - RAG-powered educational content queries with citations.
Features
- Async-first - Built with
httpxfor modern async/await patterns - Type-safe - Full type hints with Pydantic models
- Automatic retries - Configurable retry logic for resilience
- Error handling - Custom exceptions for different error cases
- Citation support - Get source documents with page numbers
- Usage tracking - Monitor your API usage and quotas
Installation
pip install brainus-ai
Documentation
Full documentation, quick start guide, API reference, and examples are available at:
https://developers.brainus.lk/docs/sdks/python
Resources
License
MIT License - see LICENSE for details.
Made with ❤️ by the Brainus team
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brainus_ai-0.1.7.tar.gz
(20.4 kB
view details)
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 brainus_ai-0.1.7.tar.gz.
File metadata
- Download URL: brainus_ai-0.1.7.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e7d2951bf44b966308813a5d8ca9e4d9c082af87688d00f1eb901e0357d3a39
|
|
| MD5 |
6838d7a99f2eba8c4283870eab067031
|
|
| BLAKE2b-256 |
63905e855290ee3fbbaabdc04c9249537e3357eadf2261a4ebee6cb764ba7d1c
|
File details
Details for the file brainus_ai-0.1.7-py3-none-any.whl.
File metadata
- Download URL: brainus_ai-0.1.7-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46ea6fdcd37eb96dcd5002cede45661409c8bbffbf05d6e36fbb28bc2f85fa52
|
|
| MD5 |
24fd46a33e6f8ab8f752e263b5d8b54e
|
|
| BLAKE2b-256 |
888dfdae658b40f1069029cfcc8118007658d42757f908f69b94cd88832676b9
|