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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for brainus_ai-0.1.7.tar.gz
Algorithm Hash digest
SHA256 4e7d2951bf44b966308813a5d8ca9e4d9c082af87688d00f1eb901e0357d3a39
MD5 6838d7a99f2eba8c4283870eab067031
BLAKE2b-256 63905e855290ee3fbbaabdc04c9249537e3357eadf2261a4ebee6cb764ba7d1c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for brainus_ai-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 46ea6fdcd37eb96dcd5002cede45661409c8bbffbf05d6e36fbb28bc2f85fa52
MD5 24fd46a33e6f8ab8f752e263b5d8b54e
BLAKE2b-256 888dfdae658b40f1069029cfcc8118007658d42757f908f69b94cd88832676b9

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