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.4.tar.gz (6.8 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.4-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brainus_ai-0.1.4.tar.gz
  • Upload date:
  • Size: 6.8 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.4.tar.gz
Algorithm Hash digest
SHA256 e9f3973cb9cb554da5f31f68d94c47262205af54974ad5566642d17c5066e67c
MD5 33c505e679aa8dd68229cdd38a062016
BLAKE2b-256 662b8c273fcdea5689b536934b70b4ac8f4f171b1391807f85eca0958bdc6f42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brainus_ai-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3f95d0925146a7fc42305f3f756471254445fd6e7deb03a9b726594e5c4bdb6a
MD5 c258818ce1627215b309f2790dc8c2b6
BLAKE2b-256 084f31caf8e6e671c35e6096a8578b265c9572849afe42165d1c09a3fd64199a

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