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 | Provenance | Actions |
|---|---|---|---|---|
| brainus_ai-0.1.7.tar.gz | 20.4 kB | Without provenance | Details for brainus_ai-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brainus_ai-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for brainus_ai-0.1.7-py3-none-any.whl |
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
|
Security for brainus-ai 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.