Skip to main content

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.

Metadata

Release files for akenoai 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for akenoai 2.0.1
File Size Uploaded Provenance Actions
akenoai-2.0.1.tar.gz 30.1 kB Without provenance Details for akenoai-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for akenoai 2.0.1
File Interpreter ABI Platform Actions
akenoai-2.0.1-py3-none-any.whl Python 3 none any Details for akenoai-2.0.1-py3-none-any.whl

Total release size: 64.5 kB

Release files / akenoai-2.0.1.tar.gz

Download URL akenoai-2.0.1.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
40d203f069908687a7141af7e879a7db41a3579f30c0694fbf256e599e4605e4
BLAKE2b-256 checksum
How to use checksums
b0bdcf8c5326dc89bc7dfb2748aa1be448b4f700b46622bfde2a283bee20be8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akenoai-2.0.1-py3-none-any.whl

Download URL akenoai-2.0.1-py3-none-any.whl
Size 34.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5eddb7c96a03f10107c3046f7f95c7c343bf04465e0a0a9de7ecfbad5d92ba50
BLAKE2b-256 checksum
How to use checksums
fdddcdd20ebeb37505ecd50285914168f65d0c033bcc18ba5c85a1c4be0a543e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for akenoai 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page