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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: akenoai-2.0.0.tar.gz
  • Upload date:
  • Size: 30.2 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.0.tar.gz
Algorithm Hash digest
SHA256 93f0baa619f0a87d040ee78c3bcc57049381ecc16fd36fa6fd09b0cf9ce1d6d2
MD5 81b2153357c96d51de0a259384233544
BLAKE2b-256 6fba8a11ae9be960ad6e82e5a53b1890cf4ef9e1284ee2bbf3f4b4cc46aff2c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: akenoai-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 34.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1edf0fcff0e1512236fb0288f8c83a12d0ab1d792a7649e2217cb65ec2540a1c
MD5 8ca7126cbec9d0d7d1faf0e2eaa9f3a6
BLAKE2b-256 6fbd821c161c41f261c29bc87b26567f9c59da5e0d05ade71b7c7f1947f10705

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