You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.
Search by package name:
my-package (implicit)
name:my-package (explicit)
Search by package filename:
filename:my-package.ext
Search by package tag:
tag:latest
Search by package version:
version:1.0.0
prerelease:true (prereleases)
prerelease:false (no prereleases)
Search by package architecture:
architecture:x86_64
Search by package distribution:
distribution:el
Search by package license:
license:MIT
Search by package format:
format:deb
Search by package status:
status:in_progress
Search by package file checksum:
checksum:5afba
Search by package security status:
severity:critical
Search by package vulnerabilities:
vulnerabilities:>1
vulnerabilities:<1000
Search by # of package downloads:
downloads:>8
downloads:<100
Search by package type:
type:binary
type:source
Search by package size (bytes):
size:>50000
size:<10000
Search by dependency name/version:
dependency:log4j
dependency:log4j=1.0.0
dependency:log4j>1.0.0
Search by uploaded date:
uploaded:>"1 day ago"
uploaded:<"August 14, 2022 EST"
Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY
Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true
Search by repository:
repository:repo-name
Search by last download date:
last_downloaded:<"30 days ago"
last_downloaded:>"August 14, 2022 EST"
Search queries for all Debian-specific (and related) package types
Search by component:
deb_component:unstable
Search queries for all Maven-specific (and related) package types
Search by group ID:
maven_group_id:org.apache
Search queries for all Docker-specific (and related) package types
Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)
Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)
Search queries for all Generic-specific package types
Search by file path:
generic_filepath:path/to/file.txt
Search by directory:
generic_directory:path/to
Field type modifiers (depending on the type, you can influence behaviour)
For all queries, you can use:
~foo for negation
For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching
For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal
Need a secure and centralised artifact repository to deliver Alpine,
Cargo,
CocoaPods,
Composer,
Conan,
Conda,
CRAN,
Dart,
Debian,
Docker,
Generic,
Go,
Helm,
Hex,
HuggingFace,
LuaRocks,
Maven,
MCP,
npm,
NuGet,
P2,
Python,
RedHat,
Ruby,
Swift,
Terraform,
Vagrant,
VSX,
Raw & More packages?
Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.
With support for all major package formats, you can trust us to manage your software supply chain.
akenoai
1.6.0
One-liner (summary)
Description
# akenoai-lib [](https://github.com/TeamKillerX/akenoai-lib) [](https://github.com/TeamKillerX/akenoai-lib/graphs/commit-activity) [](https://github.com/TeamKillerX/akenoai-lib) [](https://github.com/TeamKillerX/akenoai-lib/blob/main/LICENSE) [](https://makeapullrequest.com) [](https://pypi.org/project/akenoai) [](https://pypi.org/project/akenoai) [](https://results.pre-commit.ci/latest/github/TeamKillerX/akenoai-lib/main)
### 👑 Coding The End ``` @xpushz on (telegram) I Already Master King Python 👑
- Open source full soon! 🚀
- Note:
💡 Why Open Source Full? I’m a developer who patiently and sincerely shares code, even for beginners.
💰 No Donations Needed! If you’re a beginner and want to learn, just take the code.
~ Me Dead: thank you :) 🥀 ``` ### installation 🔹 <b>Recommended Installation:</b>
✅ Install via [PYPI](https://pypi.org/project/akenoai) for the latest updates. e.g.: pip3 install akenoai[fast]
✅ Install via github - Create a requirements.txt file in the project root containing the following dependency to ensure you can install the GitHub version: - git+https://github.com/TeamKillerX/akenoai-lib.git#egg=akenoai[fast]
### FastAPI Demo - Use main.py - Try running python3 main.py ```py from akenoai.runner import run_fast
# run_fast initializes a FastAPI server with example routes and configurations.
### Code examples > [!TIP] > Trip PRO Usage Example:
- Use Access API key V2 Premium
```py 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) ``` ### 🌐 Streamlit + AkenoX API - installation: pip3 install akenoai[streamlit] - You can use streamlit run app.py - akenoai[fast] → <b> no import Pyrogram error:</b> There is no current event loop (<b>Stuck in Streamlit</b>)
Full Example usage:
Note: The import path changed from akenoai import AkenoXToJs to akenoai.streamlit import StreamlitToJs to clearly separate the streamlit integration functionality from the core API. The previous import path is now deprecated.
```py import requests import json import time from akenoai.streamlit import StreamlitToJs as js
- class GithubUsername:
- def __init__(self, username):
- self.username = username
- def get_github_data(self):
req = requests.get(f"https://api.github.com/users/{self.username}").json() try:
return req
- except Exception as e:
- base_msg = f"Error! nn**Traceback:** n {e} nn`Make sure that you've sent the command with the correct username!`" return base_msg
js_st = js.stl() js_st.title("Welcome to akenoai-lib APP") js_st.write("Developed by RandyDev") js_st.write("GitHub User Information")
- with js_st.form("github"):
username = js_st.text_input("Enter GitHub username:") submit_checkbox = js_st.checkbox("Allow users", value=False) submitted = js_st.form_submit_button("Submit") if submitted and submit_checkbox:
js_st.spinner("Fetching GitHub data...") github_data = GithubUsername(username).get_github_data() if isinstance(github_data, dict):
js_st.json(github_data)
- else:
- js_st.error(github_data)
js_st.title("Examples JSON by AkenoX API")
- with js_st.form("json"):
submitted = js_st.form_submit_button("Submit") if submitted:
js_st.spinner("Loading......") try:
- js_st.json(
- js.no_async_randydev("json/all", is_obj=False)
)
- except Exception as e:
- js_st.error(str(e))
js_st.title("ChatGPT AI")
- with js_st.form("openai"):
text = js_st.text_area('Enter text:', 'How to JavaScript code?') submitted = js_st.form_submit_button('Submit') placeholder = js_st.empty() free_api_key_on = js_st.toggle("Free API Key") if submitted:
- try:
- if free_api_key_on:
- with placeholder, js_st.spinner("Processing......"):
- time.sleep(5)
- js_st.write(
- js.no_async_randydev("ai/openai/gpt-old", is_obj=True, query=text).results
) js_st.success("Join Channel Telegram : @RendyProjects")
- else:
- js_st.warning('Use button Free API Key', icon="⚠️")
- except Exception as e:
- js_st.error(str(e))
js.waifu_random() js.hide_streamlit_watermark(unsafe_allow_html=True) ``` > [!WARNING] > >⚠️ Breaking Change ⚠️
> Note: The import path has changed! > > To better separate Streamlit integration from the core API, the import path has been updated:
> ❌ <b>Deprecated:</b> > from akenoai import AkenoXToJs > > ✅ Use this <b>instead:</b> > from akenoai.streamlit import StreamlitToJs > > Make sure to update your imports to avoid issues. 🚀
- [X] If using API [fast] for <b>full-stack</b>, move to akenoai.clients:
`py from akenoai.clients import create_pyrogram # Use [fast] ` ### 🚀 Super-Fast Performance Use AkenoX API + FastAPI > [!WARNING] > AkenoX API <b>may block access if there are too many spam requests!</b> 🚨 > > Always use <b>rate limiting</b> > ```py from akenoai import AkenoXToJs as js from akenoai.runner import run_fast
fast_app = js.get_app() js.add_cors_middleware()
@fast_app.get("/api/cohere") async def cohere(query: str):
- return await js.randydev(
- "ai/cohere/command-plus", api_key="<your_api_key>", custom_dev_fast=True, query=query, chatHistory=[], system_prompt="You are a helpful AI assistant designed to provide clear and concise responses."
)
@fast_app.get("/test") async def example_json():
- async with js.fasthttp().ClientSession() as session:
- async with session.get("https://jsonplaceholder.typicode.com/todos/1") as response:
- title = js.dict_to_obj(await response.json()).title
return {"message": title}
run_fast(build=fast_app) ``` ### 🛠️ Custom OpenAI ```py from akenoai import AkenoXToJs as js
fast_app = js.get_app()
- js.custom_openapi(
- app=fast_app, logo_url="https://github-production-user-asset-6210df.s3.amazonaws.com/90479255/289277800-f26513f7-cdf4-44ee-9a08-f6b27e6b99f7.jpg", title="AkenoX Beta AI API", version="1.0.0", summary="Use It Only For Personal Projects", description="Free API By akenoai-lib", routes=fast_app.routes,
)
### 🥷 Full-Stack Examples - [X] Powerful & Super Fast Performance - [X] Recommended RAM: 8GB / 16GB - [X] Supports bot_token & session_string - [X] Custom Web Frontend with HTML & CSS ```py import logging from akenoai import AkenoXToJs as js from akenoai.runner import run_fast from akenoai.clients import create_pyrogram
logger = logging.getLogger(__name__) LOGS = logging.getLogger("[akenox]") logger.setLevel(logging.DEBUG)
from akenoai.models import BaseModel
- class Items(BaseModel):
- message: str
fast_app = js.get_app() js.add_cors_middleware()
- assistant = create_pyrogram(
- name="fastapi-bot", api_id=1234, api_hash="asdfghkl", bot_token="1235:asdfh"
)
- user_client = create_pyrogram(
- name="fastapi-user", api_id=1234, api_hash="asdfghkl", session_string="session"
)
@fast_app.on_event("startup") async def startup_event():
bot = await assistant.start() user = await user_client.start() LOGS.info(f"Started UserBot & Assistant: {user.me.first_name} || {bot.me.first_name}")
@fast_app.get("/api/cohere") async def cohere(query: str):
- return await js.randydev(
- "ai/cohere/command-plus", api_key="<your_api_key>", custom_dev_fast=True, query=query, chatHistory=[], system_prompt="You are a helpful AI assistant designed to provide clear and concise responses."
)
@fast_app.get("/item") async def example_test(item: Items):
return {"message": item.message}
@fast_app.get("/test") async def example_json():
- async with js.fasthttp().ClientSession() as session:
- async with session.get("https://jsonplaceholder.typicode.com/todos/1") as response:
- title = js.dict_to_obj(await response.json()).title
return {"message": title}
@fast_app.get("/api/tg/send_message") async def send_message(text: str, chat_id: str):
response_json = await client.send_message(chat_id, text) return {"message_id": response_json.id}
- js.custom_openapi(
- app=fast_app, logo_url="https://github-production-user-asset-6210df.s3.amazonaws.com/90479255/289277800-f26513f7-cdf4-44ee-9a08-f6b27e6b99f7.jpg", title="AkenoX Beta AI API", version="1.0.0", summary="Use It Only For Personal Project", description="Free API By akenoai-lib", routes=fast_app.routes,
)
- Use API Key V1 Free
```py from akenoai import AkenoXToJs
- response = await AkenoXToJs.randydev(
- "ai/openai/gpt-old",
- custom_dev_fast=True, query="hello world"
) print(response) ` <b>Output:</b> ```py {'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'} ` ### 🔹 <b>Method Definition:</b>
- [X] Parameters:
- endpoint: The API endpoint to call.
- api_key: (Optional) API key for authentication.
- post: Boolean flag to indicate POST requests.
- is_obj: Boolean flag indicating whether the response should be returned as a Python object (True) or in the default format (False).
- custom_dev_fast: Boolean flag defaults to None
- **params: Allows passing additional parameters as a dictionary, which will be sent as JSON.
`py randydev(endpoint, api_key=None, post=False, is_obj=False, custom_dev_fast=False, **params) ` ### 🔹 <b>User Creation Date:</b> ```py 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: ```env AKENOX_KEY=akeno_xxxxxx ` - To get an API key, [@aknuserbot](https://t.me/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
### ❤️ Special Thanks To - [Kurigram](https://github.com/KurimuzonAkuma/pyrogram) - [FastAPI](https://github.com/fastapi/fastapi)
# 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](https://www.gnu.org/licenses/agpl-3.0.en.html) v3 or later.
<h4 align="center">Copyright (C) 2019 - 2025 The AkenoAI <a href="https://github.com/TeamKillerX">Tea
| Status | Completed |
|---|---|
| Checksum (MD5) | b2bcb4976528ae24c6d4b34d2276f9fb |
| Checksum (SHA-1) | 7c3b5c2d606663568013a51b65adec905f8ebf80 |
| Checksum (SHA-256) | 075aab213efcb7d7cafa6cb8bdc3c2e3eaba1b4e2b1e18668a3540faa7cb53f5 |
| Checksum (SHA-512) | a10cd73a2496a9c07d5beb623a9ca0880b50f5b341dda949e977d7b9a5e1a13893… |
| GPG Signature | |
| GPG Fingerprint | 6811684bac0b8895434e97bdd4391b8fb999e537 |
| Storage Region | Dublin, Ireland |
| Type | Binary (contains binaries and binary artifacts) |
| Uploaded At | 4 months, 3 weeks ago |
| Uploaded By |
|
| Slug Id | akenoai-160-py3-none-anywhl-anln |
| Unique Id | eVLcExm92v6MFj29 |
| Version (Raw) | 1.6.0 |
| Version (Parsed) |
|
| extended metadata | |
| Classifiers | Development Status :: 5 - Production/Stable | Intended Audience :: Developers | License :: OSI Approved :: MIT License | Natural Language :: English | Operating System :: OS Independent | Programming Language :: Python :: 3 | Programming Language :: Python :: 3.10 | Programming Language :: Python :: 3.11 | Programming Language :: Python :: 3.7 | Programming Language :: Python :: 3.8 | Programming Language :: Python :: 3.9 |
| Keywords | API,akeno-lib |
| Metadata Version | 2.2 |
| Project Urls | Issues, https://github.com/TeamKillerX/akenoai-lib/issues | Source, https://github.com/TeamKillerX/akenoai-lib/ |
| Py Filetype | bdist_wheel |
| Py Version | py3 |
| Requires Dist | Flask; extra == "all" | Pillow; extra == "all" | Python-IO; extra == "all" | TgCrypto; extra == "fast" | aiofiles; extra == "all" | aiohttp; extra == "all" | aiohttp; extra == "fast" | aiohttp; extra == "standard" | aiohttp; extra == "streamlit" | authlib; extra == "all" | authlib; extra == "standard" | bs4; extra == "all" | bs4; extra == "fast" | curl_cffi; extra == "all" | curl_cffi; extra == "standard" | deprecation; extra == "all" | fastapi[all]; extra == "all" | fastapi[all]; extra == "fast" | fastapi[all]; extra == "standard" | fastapi[all]; extra == "streamlit" | g4f; extra == "all" | g4f; extra == "standard" | google-generativeai; extra == "all" | google-generativeai; extra == "standard" | google-search-results; extra == "all" | gpytranslate; extra == "all" | gpytranslate; extra == "standard" | gradio-client; extra == "all" | gradio; extra == "all" | httpx[http2]; extra == "all" | httpx[http2]; extra == "fast" | httpx[http2]; extra == "standard" | httpx[http2]; extra == "streamlit" | huggingface-hub>=0.23.2; extra == "all" | huggingface-hub>=0.23.2; extra == "standard" | kurigram; extra == "all" | kurigram; extra == "fast" | kurigram; extra == "standard" | motor; extra == "all" | motor; extra == "standard" | numpy; extra == "all" | openai; extra == "all" | openai; extra == "standard" | pre-commit; extra == "all" | psutil; extra == "all" | pydantic; extra == "all" | pydantic; extra == "fast" | pymongo; extra == "all" | python-box; extra == "fast" | python-box; extra == "streamlit" | python-dateutil; extra == "all" | pytz; extra == "all" | requests | requests; extra == "fast" | requests; extra == "streamlit" | screeninfo; extra == "all" | starlette; extra == "fast" | starlette; extra == "streamlit" | streamlit-nightly; extra == "streamlit" | streamlit-option-menu; extra == "streamlit" | tqdm; extra == "all" | typing-extensions; extra == "all" | typing-extensions; extra == "standard" | typing; extra == "all" | typing; extra == "fast" | typing; extra == "standard" | urllib3; extra == "all" | uvicorn[standard]; extra == "all" | uvicorn[standard]; extra == "fast" | uvicorn[standard]; extra == "standard" | uvicorn[standard]; extra == "streamlit" | wget; extra == "all" | wget; extra == "fast" | wget; extra == "streamlit" |
| Requires Python | ~=3.7 |
| pkg | akenoai-1.6.0-py3-none-any.whl |
5
25.9 KB |
md5 | sha1 | sha256 | sha512 |
This package has 37 files/directories.
| Newer |
|
akenoai |
4 |
|
||
| Newer |
|
akenoai |
5 |
|
||
| Newer |
|
akenoai |
5 |
|
||
| Newer |
|
akenoai |
5 |
|
||
| Newer |
|
akenoai |
4 |
|
||
| Newer |
|
akenoai |
5 |
|
||
| Newer |
|
akenoai |
4 |
|
||
| Newer |
|
akenoai |
5 |
|
||
| Newer |
|
akenoai |
5 |
|
||
| Newer |
|
akenoai |
4 |
|
||
|
|
akenoai |
5 |
|
|||
| Older |
|
akenoai |
4 |
|
||
| Older |
|
akenoai |
4 |
|
||
| Older |
|
akenoai |
4 |
|
||
| Older |
|
akenoai |
5 |
|
||
| Older |
|
akenoai |
5 |
|
||
| Older |
|
akenoai |
5 |
|
||
| Older |
|
akenoai |
5 |
|
||
| Older |
|
akenoai |
5 |
|
||
| Older |
|
akenoai |
5 |
|
Last scanned
4 months, 3 weeks ago
Scan result
Clean
Vulnerability count
0
Max. severity
UnknownPackage statistics are no longer available on cloudsmith.io. Please visit our new web app to access this feature.
You can embed a badge in another website that shows this or the latest version of this package.
To embed the badge for this specific package version, use the following:
[](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/akenoai/1.6.0/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/)
|This version of 'akenoai' @ Cloudsmith|
.. |This version of 'akenoai' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/akenoai/1.6.0/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/?render=true
:target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/akenoai/1.6.0/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/akenoai/1.6.0/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/?render=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/akenoai/1.6.0/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/",title="This version of 'akenoai' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/akenoai/1.6.0/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/akenoai/1.6.0/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/?render=true" alt="This version of 'akenoai' @ Cloudsmith" /></a>
rendered as:
To embed the badge for the latest package version, use the following:
[](https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/akenoai/latest/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/)
|Latest version of 'akenoai' @ Cloudsmith|
.. |Latest version of 'akenoai' @ Cloudsmith| image:: https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/akenoai/latest/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/?render=true&show_latest=true
:target: https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/akenoai/latest/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/
image::https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/akenoai/latest/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/?render=true&show_latest=true[link="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/akenoai/latest/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/",title="Latest version of 'akenoai' @ Cloudsmith"]
<a href="https://cloudsmith.io/~demo-docs/repos/awesome-repo/packages/detail/python/akenoai/latest/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/"><img src="https://api.cloudsmith.com/v1/badges/version/demo-docs/awesome-repo/python/akenoai/latest/a=noarch;xf=bdist_wheel;xn=akenoai;xv=py3/?render=true&show_latest=true" alt="Latest version of 'akenoai' @ Cloudsmith" /></a>
rendered as:
These instructions assume you have setup the repository first (or read it).
To install/use akenoai @ version 1.6.0 ...
pip install 'akenoai==1.6.0'
You can also install the latest version of this package:
pip install --upgrade 'akenoai'
If necessary, you can specify the repository directly:
pip install \
--index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/ \
akenoai==1.6.0
If you've got a project requirements.txt file, you can specify this as a dependency:
--index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/
akenoai==1.6.0
In addition, you can use this repository as an extra index url. However, please read our documentation on this parameter before using it. For example in a requirements.txt file:
--extra-index-url=https://dl.cloudsmith.io/public/demo-docs/awesome-repo/python/simple/
akenoai==1.6.0