From d5aa534f5ae8a421f2e04397f6447fbea06eaf26 Mon Sep 17 00:00:00 2001 From: retoor Date: Thu, 28 Nov 2024 03:41:34 +0100 Subject: [PATCH] Update --- .gitignore | 1 + dist/yura-14.3.7-py3-none-any.whl | Bin 3148 -> 1598 bytes dist/yura-14.3.7.tar.gz | Bin 2570 -> 2431 bytes dist/yura-14.3.7/PKG-INFO | 42 ------- dist/yura-14.3.7/README.md | 31 ----- dist/yura-14.3.7/pyproject.toml | 3 - dist/yura-14.3.7/setup.cfg | 25 ----- dist/yura-14.3.7/src/yura.egg-info/PKG-INFO | 42 ------- .../yura-14.3.7/src/yura.egg-info/SOURCES.txt | 11 -- .../src/yura.egg-info/dependency_links.txt | 1 - .../src/yura.egg-info/requires.txt | 1 - .../src/yura.egg-info/top_level.txt | 1 - dist/yura-14.3.7/src/yura/client.py | 106 ------------------ src/yura.egg-info/SOURCES.txt | 2 - src/yura.egg-info/top_level.txt | 2 +- 15 files changed, 2 insertions(+), 266 deletions(-) delete mode 100644 dist/yura-14.3.7/PKG-INFO delete mode 100644 dist/yura-14.3.7/README.md delete mode 100644 dist/yura-14.3.7/pyproject.toml delete mode 100644 dist/yura-14.3.7/setup.cfg delete mode 100644 dist/yura-14.3.7/src/yura.egg-info/PKG-INFO delete mode 100644 dist/yura-14.3.7/src/yura.egg-info/SOURCES.txt delete mode 100644 dist/yura-14.3.7/src/yura.egg-info/dependency_links.txt delete mode 100644 dist/yura-14.3.7/src/yura.egg-info/requires.txt delete mode 100644 dist/yura-14.3.7/src/yura.egg-info/top_level.txt delete mode 100644 dist/yura-14.3.7/src/yura/client.py diff --git a/.gitignore b/.gitignore index d55e67c..29c6c4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .venv __* +.pypirc diff --git a/dist/yura-14.3.7-py3-none-any.whl b/dist/yura-14.3.7-py3-none-any.whl index 6cbbe8e9a7c624c52828c2fe9471d3b932b397e4..9090dd46bd53e57a17662ba985eb2012a94ff5dc 100644 GI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8CxbF@vAj%UH1xWX zfi*8(#jIO)yd%DXY?1L=W4HCv4=BD$Qd(W7vc8j$^^T%UOQ?IJFjuYX43{7x9_y+d zRO=VyDl1IC_XI-U&#L1~*!VQ?cHLLXX~5`yi!Xw9*D7CZ8_S&LyGN{!hMMTN-Xma@ zBvsO>EZb|Ux!t{5oboO48c9>Z^bpPVzEciRDMz8?clqGVqoiArJlcZtZtoNeiPl4V z9Ts0YWfxb%&Jxq8eebE>N*fDvs@+M98vkr5*^!j&%norvorcOzE`&%~KZv4O z5dvcN4!w~_uw{WtzO1wCqJX>Po4iF}TRwR(^$H#+&wtl9YqblxiE0g+7ylqnG!J=z zJr4G;uZ!Ov$Rv8 za5wyPae3J}-Q8NyRCP}tiM=nyk#g6;|ItLfzhURHxYt~I$S%wZoyIF5c9un>?3Df* z#y!cP>%acQK&P^@1v+QWla%OZ>5-aifWzNsW6v(KkEK( z%a-TA#<~Um|26>b|Asp*;f_nV{~PQ-u>ZjR1N*OP|9$%Pw~w#ie$x0Yf4=h{x-~Xx z_MdIqVE?rOyW5qjw|}DTWnic&Ef6*3ilEv7Vzhst2p#^$KzFiVL#an&VfN6_-8jNT zxn>8dsn;zXs8U|+bfB0=u@lf68vMn50Qw*FKj?pezmNWJ60uLO|HWff{|}AP2=0Gw z1z@WmH-P>J{SW#d^nbJduYWr|&-cG>jqCbf*Fpcc0@K?4!!y)$`7rDg(Ep(SLH`3B zm;P5BqknDx->Lt_X0PghAps1~|80PBP69Rq=zq}vp#MStgZ_Wg$mjk3|50844^4>w gw?=>1?f?J)00000000000RMdWAIm*r9{`{L04eA~>;M1& diff --git a/dist/yura-14.3.7/PKG-INFO b/dist/yura-14.3.7/PKG-INFO deleted file mode 100644 index b4c3c69..0000000 --- a/dist/yura-14.3.7/PKG-INFO +++ /dev/null @@ -1,42 +0,0 @@ -Metadata-Version: 2.1 -Name: yura -Version: 14.3.7 -Summary: Yura async AI client -Author: retoor -Author-email: retoor@retoor.io -License: MIT -Requires-Python: >=3.7 -Description-Content-Type: text/markdown -Requires-Dist: websockets - -# Yura LLM Client for Katya server - -Part of project with as target replacing the native ollama protocol. This protocol supports streaming and is usable trough https and it is possible to directly attach a web client to the backend. - -## Install -```bash -pip install -e . -``` - -## Build -```bash -make build -``` - -## Command line usage -```bash -yura ws://[host]:[port]/[path]/ -``` - -## Python -```python -import asyncio -from yura.client import AsyncClient - -async def communicate(): - client = AsyncClient("ws://[host]:[port]/[path]/") - async for response in client.chat("Your prompt"): - print(response) - -asyncio.run(communicate()) -``` diff --git a/dist/yura-14.3.7/README.md b/dist/yura-14.3.7/README.md deleted file mode 100644 index a523dd6..0000000 --- a/dist/yura-14.3.7/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# Yura LLM Client for Katya server - -Part of project with as target replacing the native ollama protocol. This protocol supports streaming and is usable trough https and it is possible to directly attach a web client to the backend. - -## Install -```bash -pip install -e . -``` - -## Build -```bash -make build -``` - -## Command line usage -```bash -yura ws://[host]:[port]/[path]/ -``` - -## Python -```python -import asyncio -from yura.client import AsyncClient - -async def communicate(): - client = AsyncClient("ws://[host]:[port]/[path]/") - async for response in client.chat("Your prompt"): - print(response) - -asyncio.run(communicate()) -``` diff --git a/dist/yura-14.3.7/pyproject.toml b/dist/yura-14.3.7/pyproject.toml deleted file mode 100644 index 07de284..0000000 --- a/dist/yura-14.3.7/pyproject.toml +++ /dev/null @@ -1,3 +0,0 @@ -[build-system] -requires = ["setuptools", "wheel"] -build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/dist/yura-14.3.7/setup.cfg b/dist/yura-14.3.7/setup.cfg deleted file mode 100644 index 1457f98..0000000 --- a/dist/yura-14.3.7/setup.cfg +++ /dev/null @@ -1,25 +0,0 @@ -[metadata] -name = yura -version = 14.3.7 -description = Yura async AI client -author = retoor -author_email = retoor@retoor.io -license = MIT -long_description = file: README.md -long_description_content_type = text/markdown - -[options] -packages = find: -package_dir = - = src -python_requires = >=3.7 -install_requires = - websockets - -[options.packages.find] -where = src - -[egg_info] -tag_build = -tag_date = 0 - diff --git a/dist/yura-14.3.7/src/yura.egg-info/PKG-INFO b/dist/yura-14.3.7/src/yura.egg-info/PKG-INFO deleted file mode 100644 index b4c3c69..0000000 --- a/dist/yura-14.3.7/src/yura.egg-info/PKG-INFO +++ /dev/null @@ -1,42 +0,0 @@ -Metadata-Version: 2.1 -Name: yura -Version: 14.3.7 -Summary: Yura async AI client -Author: retoor -Author-email: retoor@retoor.io -License: MIT -Requires-Python: >=3.7 -Description-Content-Type: text/markdown -Requires-Dist: websockets - -# Yura LLM Client for Katya server - -Part of project with as target replacing the native ollama protocol. This protocol supports streaming and is usable trough https and it is possible to directly attach a web client to the backend. - -## Install -```bash -pip install -e . -``` - -## Build -```bash -make build -``` - -## Command line usage -```bash -yura ws://[host]:[port]/[path]/ -``` - -## Python -```python -import asyncio -from yura.client import AsyncClient - -async def communicate(): - client = AsyncClient("ws://[host]:[port]/[path]/") - async for response in client.chat("Your prompt"): - print(response) - -asyncio.run(communicate()) -``` diff --git a/dist/yura-14.3.7/src/yura.egg-info/SOURCES.txt b/dist/yura-14.3.7/src/yura.egg-info/SOURCES.txt deleted file mode 100644 index 79c79b9..0000000 --- a/dist/yura-14.3.7/src/yura.egg-info/SOURCES.txt +++ /dev/null @@ -1,11 +0,0 @@ -README.md -pyproject.toml -setup.cfg -src/yura/__init__.py -src/yura/__main__.py -src/yura/client.py -src/yura.egg-info/PKG-INFO -src/yura.egg-info/SOURCES.txt -src/yura.egg-info/dependency_links.txt -src/yura.egg-info/requires.txt -src/yura.egg-info/top_level.txt \ No newline at end of file diff --git a/dist/yura-14.3.7/src/yura.egg-info/dependency_links.txt b/dist/yura-14.3.7/src/yura.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/dist/yura-14.3.7/src/yura.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/dist/yura-14.3.7/src/yura.egg-info/requires.txt b/dist/yura-14.3.7/src/yura.egg-info/requires.txt deleted file mode 100644 index 14774b4..0000000 --- a/dist/yura-14.3.7/src/yura.egg-info/requires.txt +++ /dev/null @@ -1 +0,0 @@ -websockets diff --git a/dist/yura-14.3.7/src/yura.egg-info/top_level.txt b/dist/yura-14.3.7/src/yura.egg-info/top_level.txt deleted file mode 100644 index 6951fbf..0000000 --- a/dist/yura-14.3.7/src/yura.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -yura diff --git a/dist/yura-14.3.7/src/yura/client.py b/dist/yura-14.3.7/src/yura/client.py deleted file mode 100644 index 5cea3d5..0000000 --- a/dist/yura-14.3.7/src/yura/client.py +++ /dev/null @@ -1,106 +0,0 @@ -import asyncio -import websockets -import json -import sys - - -class AsyncClient: - - def __init__(self, url="ws://127.0.0.1:8470"): - - self.url = url - self.ws = None - self.queue_in = asyncio.Queue() - self.queue_out = asyncio.Queue() - self.communication_task = None - - async def ensure_connection(): - - if not self.ws: - self.ws = await websockets.connect(self.url) - - return self.ws - - async def ensure_communication(self): - - if not self.communication_task: - self.communication_task = asyncio.create_task(self.communicate()) - - return self.communication_task - - async def chat(self, message): - await self.ensure_communication() - await self.queue_out.put(message) - while True: - - while True: - try: - response = await asyncio.wait_for(self.queue_in.get(), 0.1) - - except asyncio.TimeoutError: - continue - break - - yield response - - if response["done"]: - break - - async def communicate(self): - loop = asyncio.get_event_loop() - async with websockets.connect(self.url) as websocket: - while True: - message_content = None - while not message_content: - try: - message_content = await asyncio.wait_for( - self.queue_out.get(), 0.1 - ) - except asyncio.TimeoutError: - continue - - response = await websocket.send(json.dumps(message_content)) - - while True: - response = json.loads(await websocket.recv()) - - if response["done"]: - break - - await self.queue_in.put(response) - - await self.queue_in.put(response) - - -async def cli_client(url="ws://127.0.0.1:8470"): - - loop = asyncio.get_event_loop() - async_client = AsyncClient(url) - - while True: - - sys.stdout.write("> ") - sys.stdout.flush() - message_content = await loop.run_in_executor(None, sys.stdin.readline) - - async for response in async_client.chat(message_content): - - print(response["content"], end="", flush=True) - - if response["done"]: - break - - print("") - - -def main(): - url = "ws://127.0.0.1:8470" - try: - url = sys.argv[1] - except IndexError: - pass - asyncio.run(cli_client(url)) - - -if __name__ == "__main__": - main() diff --git a/src/yura.egg-info/SOURCES.txt b/src/yura.egg-info/SOURCES.txt index 21a0719..4e52371 100644 --- a/src/yura.egg-info/SOURCES.txt +++ b/src/yura.egg-info/SOURCES.txt @@ -1,8 +1,6 @@ README.md pyproject.toml setup.cfg -src/yura/__init__.py -src/yura/__main__.py src/yura/cli.py src/yura/client.py src/yura.egg-info/PKG-INFO diff --git a/src/yura.egg-info/top_level.txt b/src/yura.egg-info/top_level.txt index 6951fbf..8b13789 100644 --- a/src/yura.egg-info/top_level.txt +++ b/src/yura.egg-info/top_level.txt @@ -1 +1 @@ -yura +