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.
- 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.
pip install akenoai[fast]
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
response = await BaseDev("https://example.com")._make_request(
MakeRequest(
method="get",
endpoint="api/resource",
json_response=JSONResponse()
)
)
print(response)
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)
AkenoX API
- Full stack Developer BackendErrAPI
- Backend And Frontend Webitzpire API
- Backend And Frontend Web
Feel free to open issues and contribute to the development of AkenoAI-Lib!
- Your donation helps us continue our work!
To send payments via DANA, use the following Bank Jago account number:
Bank Jago: 100201327349
This project is licensed under the MIT License.