Skip to main content

AkenoAi Python Wrapper For Plus+

Project description

AkenoAI-Lib

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

Downloads

AkenoAI-Lib is a high-performance library for making raw HTTP requests, powered by aiohttp. It provides a simple yet powerful syntax for handling API requests efficiently, ensuring speed and flexibility.

Features:

  • Asynchronous Requests – Fully utilizes aiohttp for non-blocking HTTP calls.
  • Optimized Performance – Designed for speed and low-latency API interactions.
  • Flexible Request Handling – Supports JSON, form-data, and custom headers.
  • Built-in Response Serialization – Easily parse and structure API responses.
  • Lightweight & Scalable – Minimal dependencies with a focus on performance.
  • Optional: JSONResponse, HeaderOptions

[!IMPORTANT] AkenoAI-Lib: (Closed for updates) There won’t be new updates, but if the raw method is stable, there’s no need to panic about updates causing errors.

Installation

pip install akenoai[fast]

Quick Start

from akenoai.base import BaseDev
from akenoai.types import MakeRequest, RequestOptions, JSONResponse

async def fetch_data():
    response = await BaseDev("https://api.example.com")._make_request(
        MakeRequest(
            method="get",
            endpoint="data/list",
            options=RequestOptions(serialize_response=True)
        )
    )
    return response

Usage

Making a GET Request

response = await BaseDev("https://example.com")._make_request(
    MakeRequest(
        method="get",
        endpoint="api/resource",
        json_response=JSONResponse()
    )
)
print(response)

Sending a POST Request with JSON Data

response = await BaseDev("https://example.com")._make_request(
    MakeRequest(
        method="post",
        endpoint="api/create",
        options=RequestOptions(),
        json_response=JSONResponse(use_json={"key": "value"})
    )
)
print(response)

📊 Developed by:

❤️ Special Thanks To


Contributing

Feel free to open issues and contribute to the development of AkenoAI-Lib!

Donation

  • Your donation helps us continue our work!

To send payments via DANA, use the following Bank Jago account number:

Bank Jago: 100201327349

License

This project is licensed under the MIT License.

Project details


Release history Release notifications | RSS feed

This version

2.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

akenoai-2.0.1.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

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

akenoai-2.0.1-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file akenoai-2.0.1.tar.gz.

File metadata

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

File hashes

Hashes for akenoai-2.0.1.tar.gz
Algorithm Hash digest
SHA256 40d203f069908687a7141af7e879a7db41a3579f30c0694fbf256e599e4605e4
MD5 9f302aa7d536eaa2969aab02789daaab
BLAKE2b-256 b0bdcf8c5326dc89bc7dfb2748aa1be448b4f700b46622bfde2a283bee20be8a

See more details on using hashes here.

File details

Details for the file akenoai-2.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for akenoai-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5eddb7c96a03f10107c3046f7f95c7c343bf04465e0a0a9de7ecfbad5d92ba50
MD5 1c4d799f3c499ac160c4606a9a0cebdd
BLAKE2b-256 fdddcdd20ebeb37505ecd50285914168f65d0c033bcc18ba5c85a1c4be0a543e

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