apolaai


Nameapolaai JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/apolaai/apolaai-python
SummaryPython API client for ApolaAI server with Gemini 2.5 Flash + 50+ textbooks
upload_time2025-08-26 09:53:03
maintainerNone
docs_urlNone
authorApolaAI
requires_python>=3.7
licenseNone
keywords ai artificial intelligence text generation audio generation image generation gemini elevenlabs education textbooks sri lanka apolaai machine learning nlp
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ApolaAI Python Client

🚀 **Connect to ApolaAI server powered by Gemini 2.5 Flash + 50+ Sri Lankan textbooks**

## Installation

```bash
pip install apolaai
```

## Quick Start

```python
from apolaai import generatetext, generateaudio, generateimage, set_server_url

# Configure server (if not using default)
set_server_url("https://your-apolaai-server.railway.app")

# Generate educational content with textbook context
result = generatetext(
    "Explain photosynthesis in simple terms",
    textbook="Grade 06 Science",
    user_id="student-1"
)

if result['success']:
    print(result['text'])
```

## Features

- 🔤 **Smart Text Generation** - Contextual responses using 50+ textbooks
- 🔊 **Audio Generation** - High-quality text-to-speech
- 🖼️ **Educational Images** - Curriculum-aligned visual content
- 📚 **Textbook Integration** - Grade 6-11 Sri Lankan curriculum
- 🎯 **Simple API** - Easy-to-use functions with consistent responses

## Functions

```python
from apolaai import (
    generatetext,        # Generate text with textbook context
    generateaudio,       # Convert text to speech
    generateimage,       # Create educational images
    check_server_status, # Check server health
    set_server_url,      # Configure server endpoint
    get_available_voices # List available voices
)
```

## Example Usage

```python
import apolaai

# Check server status
status = apolaai.check_server_status()
print(f"Server: {status['status']}")

# Generate educational content
result = apolaai.generatetext(
    "What is the water cycle?",
    textbook="Grade 07 Geography"
)

if result['success']:
    print(result['text'])
```

## Requirements

- Python 3.7+
- Access to ApolaAI server

## Links

- 🌐 Website: https://apolaai.com
- 📚 Documentation: https://apolaai.com/docs
- 🐛 Issues: https://github.com/apolaai/apolaai-python/issues

---

Made with ❤️ for Sri Lankan education by ApolaAI

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/apolaai/apolaai-python",
    "name": "apolaai",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "ai, artificial intelligence, text generation, audio generation, image generation, gemini, elevenlabs, education, textbooks, sri lanka, apolaai, machine learning, nlp",
    "author": "ApolaAI",
    "author_email": "support@apolaai.com",
    "download_url": "https://files.pythonhosted.org/packages/83/bc/4b760c7a4b3c8b9796fda355e4d82c123736583e966cd9536a2d0903187b/apolaai-2.0.0.tar.gz",
    "platform": null,
    "description": "# ApolaAI Python Client\n\n\ud83d\ude80 **Connect to ApolaAI server powered by Gemini 2.5 Flash + 50+ Sri Lankan textbooks**\n\n## Installation\n\n```bash\npip install apolaai\n```\n\n## Quick Start\n\n```python\nfrom apolaai import generatetext, generateaudio, generateimage, set_server_url\n\n# Configure server (if not using default)\nset_server_url(\"https://your-apolaai-server.railway.app\")\n\n# Generate educational content with textbook context\nresult = generatetext(\n    \"Explain photosynthesis in simple terms\",\n    textbook=\"Grade 06 Science\",\n    user_id=\"student-1\"\n)\n\nif result['success']:\n    print(result['text'])\n```\n\n## Features\n\n- \ud83d\udd24 **Smart Text Generation** - Contextual responses using 50+ textbooks\n- \ud83d\udd0a **Audio Generation** - High-quality text-to-speech\n- \ud83d\uddbc\ufe0f **Educational Images** - Curriculum-aligned visual content\n- \ud83d\udcda **Textbook Integration** - Grade 6-11 Sri Lankan curriculum\n- \ud83c\udfaf **Simple API** - Easy-to-use functions with consistent responses\n\n## Functions\n\n```python\nfrom apolaai import (\n    generatetext,        # Generate text with textbook context\n    generateaudio,       # Convert text to speech\n    generateimage,       # Create educational images\n    check_server_status, # Check server health\n    set_server_url,      # Configure server endpoint\n    get_available_voices # List available voices\n)\n```\n\n## Example Usage\n\n```python\nimport apolaai\n\n# Check server status\nstatus = apolaai.check_server_status()\nprint(f\"Server: {status['status']}\")\n\n# Generate educational content\nresult = apolaai.generatetext(\n    \"What is the water cycle?\",\n    textbook=\"Grade 07 Geography\"\n)\n\nif result['success']:\n    print(result['text'])\n```\n\n## Requirements\n\n- Python 3.7+\n- Access to ApolaAI server\n\n## Links\n\n- \ud83c\udf10 Website: https://apolaai.com\n- \ud83d\udcda Documentation: https://apolaai.com/docs\n- \ud83d\udc1b Issues: https://github.com/apolaai/apolaai-python/issues\n\n---\n\nMade with \u2764\ufe0f for Sri Lankan education by ApolaAI\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python API client for ApolaAI server with Gemini 2.5 Flash + 50+ textbooks",
    "version": "2.0.0",
    "project_urls": {
        "Bug Reports": "https://github.com/apolaai/apolaai-python/issues",
        "Documentation": "https://apolaai.com/docs",
        "Homepage": "https://github.com/apolaai/apolaai-python",
        "Source": "https://github.com/apolaai/apolaai-python",
        "Website": "https://apolaai.com"
    },
    "split_keywords": [
        "ai",
        " artificial intelligence",
        " text generation",
        " audio generation",
        " image generation",
        " gemini",
        " elevenlabs",
        " education",
        " textbooks",
        " sri lanka",
        " apolaai",
        " machine learning",
        " nlp"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "43d23d71010fb6ae79f3c97601672c1fb7076c08e156b2f127d8325432cc94fe",
                "md5": "24ea725811329c00823fd6508428a98d",
                "sha256": "e206def53b2d86745bb688a69249e923b71293a3dca24db666888671bc273655"
            },
            "downloads": -1,
            "filename": "apolaai-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "24ea725811329c00823fd6508428a98d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5261,
            "upload_time": "2025-08-26T09:53:01",
            "upload_time_iso_8601": "2025-08-26T09:53:01.676278Z",
            "url": "https://files.pythonhosted.org/packages/43/d2/3d71010fb6ae79f3c97601672c1fb7076c08e156b2f127d8325432cc94fe/apolaai-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "83bc4b760c7a4b3c8b9796fda355e4d82c123736583e966cd9536a2d0903187b",
                "md5": "a8341281ac5e7e7a9d5ea2ac19b515a2",
                "sha256": "b1d6ebe307f21963448aa7a18985c97cd8d4b7fd19d1c3c9c633c4453d7327d9"
            },
            "downloads": -1,
            "filename": "apolaai-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a8341281ac5e7e7a9d5ea2ac19b515a2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4970,
            "upload_time": "2025-08-26T09:53:03",
            "upload_time_iso_8601": "2025-08-26T09:53:03.121895Z",
            "url": "https://files.pythonhosted.org/packages/83/bc/4b760c7a4b3c8b9796fda355e4d82c123736583e966cd9536a2d0903187b/apolaai-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-26 09:53:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "apolaai",
    "github_project": "apolaai-python",
    "github_not_found": true,
    "lcname": "apolaai"
}
        
Elapsed time: 0.67554s