jb_async_utils 0.1.0__py3-none-any.whl → 0.2.0__py3-none-any.whl
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.
- async_utils/__init__.py +26 -1
- {jb_async_utils-0.1.0.dist-info → jb_async_utils-0.2.0.dist-info}/METADATA +9 -5
- jb_async_utils-0.2.0.dist-info/RECORD +6 -0
- jb_async_utils-0.1.0.dist-info/RECORD +0 -6
- {jb_async_utils-0.1.0.dist-info → jb_async_utils-0.2.0.dist-info}/WHEEL +0 -0
- {jb_async_utils-0.1.0.dist-info → jb_async_utils-0.2.0.dist-info}/licenses/LICENSE +0 -0
async_utils/__init__.py
CHANGED
|
@@ -1 +1,26 @@
|
|
|
1
|
-
from .async_utils import
|
|
1
|
+
from .async_utils import (
|
|
2
|
+
process_batch_data,
|
|
3
|
+
|
|
4
|
+
BasicTaskDatum,
|
|
5
|
+
BasicQuotaManager,
|
|
6
|
+
math_task_runner,
|
|
7
|
+
|
|
8
|
+
OpenAITaskDatum,
|
|
9
|
+
OpenAIQuotaManager,
|
|
10
|
+
openai_task_runner,
|
|
11
|
+
dummy_openai_task_runner,
|
|
12
|
+
|
|
13
|
+
OpenAIEmbTaskDatum,
|
|
14
|
+
openai_emb_task_runner,
|
|
15
|
+
|
|
16
|
+
DeepInfraTaskDatum,
|
|
17
|
+
DeepInfraQuotaManager,
|
|
18
|
+
deepinfra_task_runner,
|
|
19
|
+
|
|
20
|
+
DeepInfraEmbTaskDatum,
|
|
21
|
+
deepinfra_emb_task_runner,
|
|
22
|
+
|
|
23
|
+
FedGPTTaskDatum,
|
|
24
|
+
FedGPTQuotaManager,
|
|
25
|
+
fedgpt_task_runner,
|
|
26
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jb_async_utils
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Utilities for running asynchronous IO tasks.
|
|
5
5
|
Project-URL: Homepage, https://github.com/jacobvsdanniel/async_utils
|
|
6
6
|
Author-email: Li Peng-Hsuan <jacobvsdanniel@gmail.com>
|
|
@@ -689,7 +689,11 @@ Requires-Dist: tiktoken>=0.7.0
|
|
|
689
689
|
Description-Content-Type: text/markdown
|
|
690
690
|
|
|
691
691
|
# Async Utils
|
|
692
|
-
|
|
692
|
+
|
|
693
|
+
[](https://pypi.org/project/jb_async_utils)
|
|
694
|
+
[](https://github.com/jacobvsdanniel/async_utils/blob/main/LICENSE)
|
|
695
|
+
|
|
696
|
+
*Utilities for running asynchronous IO tasks.*
|
|
693
697
|
|
|
694
698
|
Authors
|
|
695
699
|
- Li Peng-Hsuan (李朋軒) @ ailabs.tw (jacobvsdanniel [at] gmail.com)
|
|
@@ -697,17 +701,17 @@ Authors
|
|
|
697
701
|
Features
|
|
698
702
|
- A framework of modularized, customizable data definition, quota management, and task runner
|
|
699
703
|
- A barebone math application for demo purposes
|
|
700
|
-
-
|
|
704
|
+
- OpenAI and Deep Infra applications for high-throughput, real-time, batched requests
|
|
701
705
|
|
|
702
706
|
## Installation
|
|
703
707
|
|
|
704
708
|
```
|
|
705
|
-
python -m pip install
|
|
709
|
+
python -m pip install jb_async_utils
|
|
706
710
|
```
|
|
707
711
|
|
|
708
712
|
## Usage
|
|
709
713
|
|
|
710
|
-
For more detailed usage, see *
|
|
714
|
+
For more detailed usage, see *examples*
|
|
711
715
|
|
|
712
716
|
```python
|
|
713
717
|
import json
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
async_utils/__init__.py,sha256=D4EIO5PhU9pnQK5RUYEsEEskYK3-a6KNfFYszDbo6QI,480
|
|
2
|
+
async_utils/async_utils.py,sha256=wawz85IM6BTy58aCIaGXF84cbJ-DFCnVK_rQ8krgCsc,13405
|
|
3
|
+
jb_async_utils-0.2.0.dist-info/METADATA,sha256=aYWoXfwP06_UszqEf0PH8MBZ1WXUEOP7-9q4ZuHdE2s,42887
|
|
4
|
+
jb_async_utils-0.2.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
5
|
+
jb_async_utils-0.2.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
6
|
+
jb_async_utils-0.2.0.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
async_utils/__init__.py,sha256=0EoIpOmuBAtkSoZOw8KOLgm0waW56TOTw4BAV14x9Ew,28
|
|
2
|
-
async_utils/async_utils.py,sha256=wawz85IM6BTy58aCIaGXF84cbJ-DFCnVK_rQ8krgCsc,13405
|
|
3
|
-
jb_async_utils-0.1.0.dist-info/METADATA,sha256=hY-NYl8r2GdK6Isx1ertZvtIzZ0SK7ERP2vTPQ74EyY,42674
|
|
4
|
-
jb_async_utils-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
5
|
-
jb_async_utils-0.1.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
6
|
-
jb_async_utils-0.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|