Ryzenth 1.8.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ryzenth-1.8.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 TeamKillerX
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
ryzenth-1.8.1/PKG-INFO ADDED
@@ -0,0 +1,110 @@
1
+ Metadata-Version: 2.4
2
+ Name: Ryzenth
3
+ Version: 1.8.1
4
+ Summary: Ryzenth Python Wrapper For Perfomance
5
+ Author: TeamKillerX
6
+ License: MIT
7
+ Project-URL: Source, https://github.com/TeamKillerX/Ryzenth/
8
+ Project-URL: Issues, https://github.com/TeamKillerX/Ryzenth/issues
9
+ Keywords: API,Ryzenth
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.7
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Development Status :: 5 - Production/Stable
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Intended Audience :: Developers
20
+ Classifier: Natural Language :: English
21
+ Requires-Python: ~=3.7
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: requests
25
+ Requires-Dist: pydantic
26
+ Requires-Dist: typing
27
+ Requires-Dist: aiohttp
28
+ Requires-Dist: httpx[http2]
29
+ Requires-Dist: bs4
30
+ Requires-Dist: uvloop
31
+ Requires-Dist: python-box
32
+ Provides-Extra: fast
33
+ Requires-Dist: aiohttp; extra == "fast"
34
+ Requires-Dist: wget; extra == "fast"
35
+ Requires-Dist: requests; extra == "fast"
36
+ Requires-Dist: httpx[http2]; extra == "fast"
37
+ Requires-Dist: python-box; extra == "fast"
38
+ Requires-Dist: pydantic; extra == "fast"
39
+ Requires-Dist: bs4; extra == "fast"
40
+ Requires-Dist: typing; extra == "fast"
41
+ Requires-Dist: uvloop; extra == "fast"
42
+ Dynamic: author
43
+ Dynamic: classifier
44
+ Dynamic: description
45
+ Dynamic: description-content-type
46
+ Dynamic: keywords
47
+ Dynamic: license
48
+ Dynamic: license-file
49
+ Dynamic: project-url
50
+ Dynamic: provides-extra
51
+ Dynamic: requires-dist
52
+ Dynamic: requires-python
53
+ Dynamic: summary
54
+
55
+ # Ryzenth Library
56
+
57
+ **Ryzenth** is a powerful and flexible Python SDK for interacting with the new **Ryzenth API** — a successor to the AkenoX API — supporting both synchronous and asynchronous workflows out of the box.
58
+
59
+ > Note: AkenoX API is still alive and supported, but Ryzenth is the next generation.
60
+
61
+ ## Features
62
+
63
+ - Full support for both `sync` and `async` clients
64
+ - Built-in API Key management
65
+ - Support for modern AI endpoints (image generation, search, text, and more)
66
+ - Designed for speed with `httpx`
67
+
68
+ ## Installation
69
+
70
+ ```bash
71
+ pip install ryzenth
72
+ ````
73
+
74
+ ## Getting Started
75
+
76
+ ### Async Example
77
+
78
+ ```python
79
+ from Ryzenth import ApiKeyFrom
80
+
81
+ ryz = ApiKeyFrom("your-api-key")
82
+ await ryz.aio.send_message_hybrid("Hello from Ryzenth!")
83
+ ```
84
+
85
+ ### Sync Example
86
+
87
+ ```python
88
+ from Ryzenth import ApiKeyFrom
89
+
90
+ ryz = ApiKeyFrom("your-api-key")
91
+ ryz._sync.send_message_hybrid("Hello from Ryzenth (sync)!")
92
+ ```
93
+
94
+ ## Environment Variable Support
95
+
96
+ You can skip passing the API key directly by setting it via environment:
97
+
98
+ ```bash
99
+ export RYZENTH_API_KEY=your-api-key
100
+ ```
101
+
102
+ ## Credits
103
+
104
+ * Built with love by [xtdevs](https://t.me/xtdevs)
105
+ * Inspired by early work on AkenoX API
106
+ * Thanks to Google Dev tools for AI integration concepts
107
+
108
+ ## License
109
+
110
+ Private – API still in early access stage. Public release coming soon.
@@ -0,0 +1,56 @@
1
+ # Ryzenth Library
2
+
3
+ **Ryzenth** is a powerful and flexible Python SDK for interacting with the new **Ryzenth API** — a successor to the AkenoX API — supporting both synchronous and asynchronous workflows out of the box.
4
+
5
+ > Note: AkenoX API is still alive and supported, but Ryzenth is the next generation.
6
+
7
+ ## Features
8
+
9
+ - Full support for both `sync` and `async` clients
10
+ - Built-in API Key management
11
+ - Support for modern AI endpoints (image generation, search, text, and more)
12
+ - Designed for speed with `httpx`
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ pip install ryzenth
18
+ ````
19
+
20
+ ## Getting Started
21
+
22
+ ### Async Example
23
+
24
+ ```python
25
+ from Ryzenth import ApiKeyFrom
26
+
27
+ ryz = ApiKeyFrom("your-api-key")
28
+ await ryz.aio.send_message_hybrid("Hello from Ryzenth!")
29
+ ```
30
+
31
+ ### Sync Example
32
+
33
+ ```python
34
+ from Ryzenth import ApiKeyFrom
35
+
36
+ ryz = ApiKeyFrom("your-api-key")
37
+ ryz._sync.send_message_hybrid("Hello from Ryzenth (sync)!")
38
+ ```
39
+
40
+ ## Environment Variable Support
41
+
42
+ You can skip passing the API key directly by setting it via environment:
43
+
44
+ ```bash
45
+ export RYZENTH_API_KEY=your-api-key
46
+ ```
47
+
48
+ ## Credits
49
+
50
+ * Built with love by [xtdevs](https://t.me/xtdevs)
51
+ * Inspired by early work on AkenoX API
52
+ * Thanks to Google Dev tools for AI integration concepts
53
+
54
+ ## License
55
+
56
+ Private – API still in early access stage. Public release coming soon.
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # Copyright 2021-2025 (c) Randy W @xtdevs, @xtsea
4
+ #
5
+ # from : https://github.com/TeamKillerX
6
+ # Channel : @RendyProjects
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU Affero General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU Affero General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU Affero General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ from . import *
21
+ from .ryzenth_client import ApiKeyFrom
22
+ from .__version__ import __version__
23
+
24
+ __all__ = [
25
+ "ApiKeyFrom"
26
+ ]
@@ -0,0 +1,4 @@
1
+ __version__ = "1.8.1"
2
+ __author__ = "TeamKillerX"
3
+ __title__ = "Ryzenth"
4
+ __description__ = "Ryzenth Python API Wrapper"
@@ -0,0 +1,42 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # Copyright 2019-2025 (c) Randy W @xtdevs, @xtsea
4
+ #
5
+ # from : https://github.com/TeamKillerX
6
+ # Channel : @RendyProjects
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU Affero General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU Affero General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU Affero General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ from Ryzenth.types import *
21
+ import httpx
22
+
23
+ class RyzenthXAsync:
24
+ def __init__(self, api_key, base_url="https://randydev-ryu-js.hf.space/api"):
25
+ self.api_key = api_key
26
+ self.base_url = base_url
27
+ self.headers = {"x-api-key": f"{self.api_key}"}
28
+
29
+ async def send_message_hybrid(self, text: str):
30
+ async with httpx.AsyncClient() as client:
31
+ try:
32
+ response = await client.get(
33
+ f"{self.base_url}/v1/ai/akenox/AkenoX-1.9-Hybrid",
34
+ params=params.dict(),
35
+ headers=self.headers,
36
+ timeout=10
37
+ )
38
+ response.raise_for_status()
39
+ return response.json()
40
+ except httpx.HTTPError as e:
41
+ print(f"[ASYNC] Error: {e}")
42
+ return None
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # Copyright 2019-2025 (c) Randy W @xtdevs, @xtsea
4
+ #
5
+ # from : https://github.com/TeamKillerX
6
+ # Channel : @RendyProjects
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU Affero General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU Affero General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU Affero General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ from Ryzenth.types import *
21
+ import httpx
22
+
23
+ class RyzenthXSync:
24
+ def __init__(self, api_key, base_url="https://randydev-ryu-js.hf.space/api"):
25
+ self.api_key = api_key
26
+ self.base_url = base_url
27
+ self.headers = {"x-api-key": f"{self.api_key}"}
28
+
29
+ def send_message_hybrid(self, params: HybridParams):
30
+ try:
31
+ response = httpx.get(
32
+ f"{self.base_url}/v1/ai/akenox/AkenoX-1.9-Hybrid",
33
+ params=params.dict(),
34
+ headers=self.headers,
35
+ timeout=10
36
+ )
37
+ response.raise_for_status()
38
+ return response.json()
39
+ except httpx.HTTPError as e:
40
+ print(f"[SYNC] Error: {e}")
41
+ return None
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # Copyright 2019-2025 (c) Randy W @xtdevs, @xtsea
4
+ #
5
+ # from : https://github.com/TeamKillerX
6
+ # Channel : @RendyProjects
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU Affero General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU Affero General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU Affero General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+ import os
21
+
22
+ from Ryzenth._synchisded import RyzenthXSync
23
+ from Ryzenth._asynchisded import RyzenthXAsync
24
+
25
+ class ApiKeyFrom:
26
+ def __init__(self, api_key: str = None):
27
+ if not api_key:
28
+ api_key = os.environ.get("RYZENTH_API_KEY")
29
+ self.api_key = api_key
30
+ self.aio = RyzenthXAsync(api_key)
31
+ self._sync = RyzenthXSync(api_key)
32
+
33
+ def something(self):
34
+ pass
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # Copyright 2019-2025 (c) Randy W @xtdevs, @xtsea
4
+ #
5
+ # from : https://github.com/TeamKillerX
6
+ # Channel : @RendyProjects
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU Affero General Public License as published by
9
+ # the Free Software Foundation, either version 3 of the License, or
10
+ # (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU Affero General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU Affero General Public License
18
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+
20
+
21
+ from pydantic import BaseModel
22
+ from typing import Optional
23
+
24
+ class HybridParams(BaseModel):
25
+ query: str
26
+
@@ -0,0 +1,110 @@
1
+ Metadata-Version: 2.4
2
+ Name: Ryzenth
3
+ Version: 1.8.1
4
+ Summary: Ryzenth Python Wrapper For Perfomance
5
+ Author: TeamKillerX
6
+ License: MIT
7
+ Project-URL: Source, https://github.com/TeamKillerX/Ryzenth/
8
+ Project-URL: Issues, https://github.com/TeamKillerX/Ryzenth/issues
9
+ Keywords: API,Ryzenth
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.7
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Development Status :: 5 - Production/Stable
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Intended Audience :: Developers
20
+ Classifier: Natural Language :: English
21
+ Requires-Python: ~=3.7
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: requests
25
+ Requires-Dist: pydantic
26
+ Requires-Dist: typing
27
+ Requires-Dist: aiohttp
28
+ Requires-Dist: httpx[http2]
29
+ Requires-Dist: bs4
30
+ Requires-Dist: uvloop
31
+ Requires-Dist: python-box
32
+ Provides-Extra: fast
33
+ Requires-Dist: aiohttp; extra == "fast"
34
+ Requires-Dist: wget; extra == "fast"
35
+ Requires-Dist: requests; extra == "fast"
36
+ Requires-Dist: httpx[http2]; extra == "fast"
37
+ Requires-Dist: python-box; extra == "fast"
38
+ Requires-Dist: pydantic; extra == "fast"
39
+ Requires-Dist: bs4; extra == "fast"
40
+ Requires-Dist: typing; extra == "fast"
41
+ Requires-Dist: uvloop; extra == "fast"
42
+ Dynamic: author
43
+ Dynamic: classifier
44
+ Dynamic: description
45
+ Dynamic: description-content-type
46
+ Dynamic: keywords
47
+ Dynamic: license
48
+ Dynamic: license-file
49
+ Dynamic: project-url
50
+ Dynamic: provides-extra
51
+ Dynamic: requires-dist
52
+ Dynamic: requires-python
53
+ Dynamic: summary
54
+
55
+ # Ryzenth Library
56
+
57
+ **Ryzenth** is a powerful and flexible Python SDK for interacting with the new **Ryzenth API** — a successor to the AkenoX API — supporting both synchronous and asynchronous workflows out of the box.
58
+
59
+ > Note: AkenoX API is still alive and supported, but Ryzenth is the next generation.
60
+
61
+ ## Features
62
+
63
+ - Full support for both `sync` and `async` clients
64
+ - Built-in API Key management
65
+ - Support for modern AI endpoints (image generation, search, text, and more)
66
+ - Designed for speed with `httpx`
67
+
68
+ ## Installation
69
+
70
+ ```bash
71
+ pip install ryzenth
72
+ ````
73
+
74
+ ## Getting Started
75
+
76
+ ### Async Example
77
+
78
+ ```python
79
+ from Ryzenth import ApiKeyFrom
80
+
81
+ ryz = ApiKeyFrom("your-api-key")
82
+ await ryz.aio.send_message_hybrid("Hello from Ryzenth!")
83
+ ```
84
+
85
+ ### Sync Example
86
+
87
+ ```python
88
+ from Ryzenth import ApiKeyFrom
89
+
90
+ ryz = ApiKeyFrom("your-api-key")
91
+ ryz._sync.send_message_hybrid("Hello from Ryzenth (sync)!")
92
+ ```
93
+
94
+ ## Environment Variable Support
95
+
96
+ You can skip passing the API key directly by setting it via environment:
97
+
98
+ ```bash
99
+ export RYZENTH_API_KEY=your-api-key
100
+ ```
101
+
102
+ ## Credits
103
+
104
+ * Built with love by [xtdevs](https://t.me/xtdevs)
105
+ * Inspired by early work on AkenoX API
106
+ * Thanks to Google Dev tools for AI integration concepts
107
+
108
+ ## License
109
+
110
+ Private – API still in early access stage. Public release coming soon.
@@ -0,0 +1,14 @@
1
+ LICENSE
2
+ README.md
3
+ setup.py
4
+ Ryzenth/__init__.py
5
+ Ryzenth/__version__.py
6
+ Ryzenth/_asynchisded.py
7
+ Ryzenth/_synchisded.py
8
+ Ryzenth/ryzenth_client.py
9
+ Ryzenth.egg-info/PKG-INFO
10
+ Ryzenth.egg-info/SOURCES.txt
11
+ Ryzenth.egg-info/dependency_links.txt
12
+ Ryzenth.egg-info/requires.txt
13
+ Ryzenth.egg-info/top_level.txt
14
+ Ryzenth/types/__init__.py
@@ -0,0 +1,19 @@
1
+ requests
2
+ pydantic
3
+ typing
4
+ aiohttp
5
+ httpx[http2]
6
+ bs4
7
+ uvloop
8
+ python-box
9
+
10
+ [fast]
11
+ aiohttp
12
+ wget
13
+ requests
14
+ httpx[http2]
15
+ python-box
16
+ pydantic
17
+ bs4
18
+ typing
19
+ uvloop
@@ -0,0 +1 @@
1
+ Ryzenth
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
ryzenth-1.8.1/setup.py ADDED
@@ -0,0 +1,64 @@
1
+ import os
2
+ import re
3
+
4
+ import setuptools
5
+
6
+ def read(fname, version=False):
7
+ text = open(os.path.join(os.path.dirname(__file__), fname), encoding="utf8").read()
8
+ return re.search(r'__version__ = "(.*?)"', text)[1] if version else text
9
+
10
+ setuptools.setup(
11
+ name="Ryzenth",
12
+ packages=setuptools.find_packages(),
13
+ version=read("Ryzenth/__version__.py", version=True),
14
+ license="MIT",
15
+ description="Ryzenth Python Wrapper For Perfomance",
16
+ long_description=read("README.md"),
17
+ long_description_content_type="text/markdown",
18
+ author="TeamKillerX",
19
+ project_urls={
20
+ "Source": "https://github.com/TeamKillerX/Ryzenth/",
21
+ "Issues": "https://github.com/TeamKillerX/Ryzenth/issues",
22
+ },
23
+ keywords=[
24
+ "API",
25
+ "Ryzenth",
26
+ ],
27
+ install_requires=[
28
+ "requests",
29
+ "pydantic",
30
+ "typing",
31
+ "aiohttp",
32
+ "httpx[http2]",
33
+ "bs4",
34
+ "uvloop",
35
+ "python-box",
36
+ ],
37
+ extras_require={
38
+ "fast": [
39
+ "aiohttp",
40
+ "wget",
41
+ "requests",
42
+ "httpx[http2]",
43
+ "python-box",
44
+ "pydantic",
45
+ "bs4",
46
+ "typing",
47
+ "uvloop",
48
+ ]
49
+ },
50
+ classifiers=[
51
+ "Programming Language :: Python :: 3",
52
+ "Programming Language :: Python :: 3.7",
53
+ "Programming Language :: Python :: 3.8",
54
+ "Programming Language :: Python :: 3.9",
55
+ "Programming Language :: Python :: 3.10",
56
+ "Programming Language :: Python :: 3.11",
57
+ "Development Status :: 5 - Production/Stable",
58
+ "License :: OSI Approved :: MIT License",
59
+ "Operating System :: OS Independent",
60
+ "Intended Audience :: Developers",
61
+ "Natural Language :: English",
62
+ ],
63
+ python_requires="~=3.7",
64
+ )