Skip to main content

Official Python SDK for Brainus AI - RAG-powered educational content API

Project description

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

Project details


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.3.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brainus_ai-0.1.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file brainus_ai-0.1.3.tar.gz.

File metadata

  • Download URL: brainus_ai-0.1.3.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for brainus_ai-0.1.3.tar.gz
Algorithm Hash digest
SHA256 574affc0b7cd9e03d42fefbdd500bc0c3be9dd7aad3a577ecf926d3df8622fc1
MD5 d76ebb19b86598540f5707d7ca781f5e
BLAKE2b-256 59410fb8e5e04b41c3b8d50adb0d5517452057c99ed7576e529ee9aa7984e9cb

See more details on using hashes here.

File details

Details for the file brainus_ai-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: brainus_ai-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for brainus_ai-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b6a9fdd81367f9190b7569e3f6ff1dbb1cc20432aa8fdb8c2f929268918d469
MD5 a665a335d1998dc8d59904894e0a07db
BLAKE2b-256 91cba8ae911c273b74f41c450eec9a7a35b0d6d6ef542118f3a9116a481deea9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page