Skip to main content

Ryzenth is a flexible Multi-API SDK with built-in support for API key management and database integration.

Project description

Ryzenth Library

Open Source Love Maintenance License PRs Welcome Ryzenth - Version pre-commit.ci status

Downloads API Tests

Image


Ryzenth is a powerful Multi-API SDK designed to seamlessly handle API keys and database connections with ease.

Built with httpx and aiohttp integration, comprehensive logging features (including Telegram alerts), and database storage capabilities like MongoDB, Ryzenth empowers developers with a flexible, scalable, and customizable API client solution.

✨ Features

  • Dual Mode Support: Works with both sync and async clients
  • Smart API Key Management: Built-in API key handling and rotation
  • AI-Ready: Seamless integration with modern AI services (image generation, text processing, etc.)
  • High Performance: Built on httpx for optimal speed and reliability
  • Comprehensive Logging: Built-in logging with optional Telegram notifications
  • Error Handling: Robust error handling with automatic retries
  • Context Managers: Proper resource management with async context support
  • Database Integration: MongoDB and other database connectors included

Installation

Standard Installation

pip3 install ryzenth[fast]

Development Installation (Latest Features)

pip3 install git+https://github.com/TeamKillerX/Ryzenth.git

Quick Start

from Ryzenth import RyzenthTools

rt = RyzenthTools()
chat = rt.aio.chat

results = await chat.kimi_ask(
    [chat.msg.user("hello World")],
    use_instruct=True
)

obj = await results.to_obj()
print(obj.data.choices[0].message.content)

Usage

Text & Images in one conversation

from Ryzenth import RyzenthTools

rt = RyzenthTools()

chat = rt.aio.chat

results = await chat.ask(
    [
        chat.msg.core("You are a helpful assistant"),
        chat.msg.user_and_image(
            "What's in this picture?",
            "data:image/jpeg;base64," + chat.file.encode_image_base64("examples/path/create.jpg"),
            use_legacy_format=True
        )
    ],
    use_conversation=True
)

print(await results.to_dict())

Platform full support

  • Claude
  • OpenAI
  • Gemini-Openai
  • Gemini
  • Cohere
  • Grok
  • Deepseek
  • Cloudflare
  • Qwen
  • Zai
  • Hugging Face
  • Kimi AI
  • GPT oss
  • Meta Llama
  • Ryzenth (Free)
  • Image Generate
  • Flux AI
  • All in one downloader

Troubleshoot

Sometimes errors occur, but we are here to help This guide covers some of the most common issues we’ve seen and how you can resolve them. However, this guide isn’t meant to be a comprehensive collection of every Ryzenth issue. For more help with troubleshooting your issue, try:

🏆 Credits Developer

  • xtdevs - Lead Developer & Creator
  • Ryzenth V2 - Ryzenth TypeScript Solo Dev
  • TeamKillerX - Solo Dev
  • AkenoX Project - Original inspiration and foundation
  • Google Developer Tools - AI integration support
  • Open Source Community - Contributions and feedback

💖 Support Development

Your support helps us continue building and maintaining this project!

💰 Donation Options

  • Bank Transfer (DANA): Send to Bank Jago 100201327349
  • Cryptocurrency: Contact us for wallet addresses
  • GitHub Sponsors: Sponsor on GitHub

Contact support

  • You can ask to contact support @zxyeor via telegram

📄 License

MIT License © 2025 Ryzenth Developers from TeamKillerX

This project is open source and available under the MIT License.


🌟 Star us on GitHub if you find this project useful!

GitHub stars GitHub forks GitHub watchers

Made with ❤️ by the Ryzenth Solo Dev

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

ryzenth-2.3.5.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ryzenth-2.3.5-py3-none-any.whl (92.5 kB view details)

Uploaded Python 3

File details

Details for the file ryzenth-2.3.5.tar.gz.

File metadata

  • Download URL: ryzenth-2.3.5.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ryzenth-2.3.5.tar.gz
Algorithm Hash digest
SHA256 640261fa86fe0af2e33100fc7c2221f33b64190458067787f11ce6f649153444
MD5 6d2e572d8313ba77362cf5807380c26c
BLAKE2b-256 b1a77a65d83ef035e9edef23fda56056d0afa46e9e20d7bb4f28ad37a1a9bcfc

See more details on using hashes here.

File details

Details for the file ryzenth-2.3.5-py3-none-any.whl.

File metadata

  • Download URL: ryzenth-2.3.5-py3-none-any.whl
  • Upload date:
  • Size: 92.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ryzenth-2.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c4db0acb629cbed88ac770690dcc042a53ea0ad729b40fdc2bec5d4b19cc5ec2
MD5 6208d7cfac0db3a01a219062729bbbff
BLAKE2b-256 0357a5cfebc5bdfa531f7e377f0fda41b3748cfb131c9680a458b802e9606a60

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