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

Uploaded Python 3

File details

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

File metadata

  • Download URL: brainus_ai-0.1.6.tar.gz
  • Upload date:
  • Size: 7.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.6.tar.gz
Algorithm Hash digest
SHA256 709f5ef9155bdbc8e516630cb0a8bea19924dce92c27b4178d39a89ce395ae5c
MD5 edd024c54185b0aa735f25e2f7cac9c7
BLAKE2b-256 b3cec3e4e82a0757a885b784faa14322499e05f2ba770045025315de25139af2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brainus_ai-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b8018f670585e20393341a09e919cbedba57d8994552ebfe9532f30bcf8461a0
MD5 4fdb66c561422d93532a779debe788b0
BLAKE2b-256 365aa39b7243a0f99e75c422103b0fdbaad6f2e5f104ab3c5b2dd0e5d40255f9

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