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
Metadata
Release files for brainus-ai 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| brainus_ai-0.1.7.tar.gz | 20.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brainus_ai-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.4 kB
Release files / brainus_ai-0.1.7.tar.gz
| Download URL | brainus_ai-0.1.7.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e7d2951bf44b966308813a5d8ca9e4d9c082af87688d00f1eb901e0357d3a39
|
|
BLAKE2b-256 checksum How to use checksums |
63905e855290ee3fbbaabdc04c9249537e3357eadf2261a4ebee6cb764ba7d1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / brainus_ai-0.1.7-py3-none-any.whl
| Download URL | brainus_ai-0.1.7-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46ea6fdcd37eb96dcd5002cede45661409c8bbffbf05d6e36fbb28bc2f85fa52
|
|
BLAKE2b-256 checksum How to use checksums |
888dfdae658b40f1069029cfcc8118007658d42757f908f69b94cd88832676b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|