Skip to main content

AkenoAi Python Wrapper For Plus+

Project description

akenoai-lib

Open Source Love Maintenance GitHub Forks GitHub Stars Last commit Size Contributors License PRs Welcome akenoai - Version PyPI - Downloads pre-commit.ci status

installation

🔹 Recommended Installation:

✅ Install via PYPI for the latest updates. e.g.: pip3 install akenoai[fast]

Code examples

[!TIP] Trip PRO Usage Example:

  • Use Access API key V2 Premium
import json
from akenoai import AkenoXToJs

chat_history = [
    {"role": "User", "message": "hello world"},
    {"role": "Chatbot", "message": "Hello! How can I assist you today?"}
]

response = await AkenoXToJs.randydev(
    "ai/cohere/command-plus",
    api_key="<your_api_key>",
    custom_dev_fast=True,
    query="what is AkenoX AI?",
    chatHistory=json.dumps(chat_history),
    system_prompt="You are a helpful AI assistant designed to provide clear and concise responses."
)

print(response)
  • Use API Key V1 Free
from akenoai import AkenoXToJs

response = await AkenoXToJs.randydev(
    "ai/openai/gpt-old",
     custom_dev_fast=True,
     query="hello world"
)
print(response)

Output:

{'results': 'Deepseek is a Chinese company that specializes in underwater robotics and autonomous underwater vehicles. They provide solutions for underwater exploration and research, as well as services for inspecting and maintaining underwater infrastructure. Their technology is used in various industries including marine science, aquaculture, and offshore energy.\n\nPowered By xtdevs'}

🔹 Method Definition:

randydev(endpoint, api_key=None, post=False, custom_dev_fast=False, **params)

🔹 User Creation Date:

import os
from akenoai import AkenoXToJs

response = await AkenoXToJs.randydev(
    "user/creation-date",
    custom_dev_fast=True,
    user_id=client.me.id
)
return response

API Key

[!NOTE] How to Get an API Key for AkenoX API?

Different V1 Free and V2 Access Premium

You can set up your API key using environment variables:

AKENOX_KEY=akeno_xxxxxx
  • To get an API key, @aknuserbot

  • 🚀 Thank you to our 2.7 million users per request!

Problem Double Fix:

🛠️ Double Fix for Connection Issues

  • Cannot connect to host
  • 🚫 IP address blocked issue
  • 🌐 Different DNS settings

Contributing

If you find a bug or have a feature request, please open an issue on our GitHub repository.

We welcome contributions from the community. If you'd like to contribute, please fork the repository and submit a pull request.

License

License TeamKillerX is licensed under GNU Affero General Public License v3 or later.

Copyright (C) 2019 - 2025 The AkenoAI TeamKillerX @xtdevs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project akenoai-lib is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

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-1.4.5.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

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

akenoai-1.4.5-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for akenoai-1.4.5.tar.gz
Algorithm Hash digest
SHA256 4bd56fd54c6a0cccbf8117e16663dbed169869ea3978a3edecd5a49b87b584ad
MD5 9dd12a27ea7cd54a3ef7207c1d5eab31
BLAKE2b-256 4e2ac73f4e99b03d785094a274fec1d1e56b6ac06a1bf8215b6c688fbe43de38

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for akenoai-1.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d884cc1e1e80043024a7f6ba788e4dd4b12a49d1906f5cfd113b3c60ac7ff99f
MD5 cb59c81ca76fffea69547b78622e142d
BLAKE2b-256 8e761622f3da127765dbe8883f7c5421389976e4473cac48c5d1be11f0eca5e0

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