Skip to main content

Brainus AI Python SDK

Official Python SDK for the Brainus AI API - RAG-powered educational content queries with citations.

PyPI version Python Support License: MIT

Features

  • Async-first - Built with httpx for 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)

Source distribution for brainus-ai 0.1.7
File Size Uploaded
brainus_ai-0.1.7.tar.gz 20.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brainus-ai 0.1.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page