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

Uploaded Python 3

File details

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

File metadata

  • Download URL: brainus_ai-0.1.5.tar.gz
  • Upload date:
  • Size: 6.9 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.5.tar.gz
Algorithm Hash digest
SHA256 55c7261e838b152a03c94c2044be9bf750c24f10607e16f258bbe770b6da7d6c
MD5 30b5247f55dffde9e3373fc7c4264bbc
BLAKE2b-256 e37d7170747c8debdfa3f73b496526aaf103a46b032f66dc10a8061de7986e02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brainus_ai-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cccfa4f62ee025ec02699d0e02987f1f328d2b73610f403e7a6c4baee5cb4662
MD5 dc9097e791e31d5bfe0e9fb9500aab91
BLAKE2b-256 d43c4b3392c729ef4164415c9e9bdf6f32d9cdf1dc8cf879d103bff5deeb9389

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