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

Uploaded Python 3

File details

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

File metadata

  • Download URL: brainus_ai-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 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.1.tar.gz
Algorithm Hash digest
SHA256 91de376439aa074df6a8eea09c64b4e1d142dd76f79da4a922e1f85694b51a98
MD5 84ff437ac3cf05fff281deaf8b5d0c16
BLAKE2b-256 8789b40a6b326666c7485377c72dfa46616888593f47fe25bc7c8ab41833b0c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brainus_ai-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03ee20818f33ef7c58e41796fbfb8c7bfafcc0248d36c92c2f15a69b25cc5770
MD5 259c8cb2d3b7e1a0b69199426f30b71e
BLAKE2b-256 ca3ab6df878b16df2f6098a6b82e96c504ba2f25c4a1eee18e760da4bdb2f408

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