ez-a-sync 0.32.24__cp38-cp38-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.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.

Potentially problematic release.


This version of ez-a-sync might be problematic. Click here for more details.

Files changed (177) hide show
  1. a_sync/ENVIRONMENT_VARIABLES.py +42 -0
  2. a_sync/__init__.pxd +2 -0
  3. a_sync/__init__.py +145 -0
  4. a_sync/_smart.c +22686 -0
  5. a_sync/_smart.cpython-38-i386-linux-gnu.so +0 -0
  6. a_sync/_smart.pxd +2 -0
  7. a_sync/_smart.pyi +202 -0
  8. a_sync/_smart.pyx +674 -0
  9. a_sync/_typing.py +258 -0
  10. a_sync/a_sync/__init__.py +60 -0
  11. a_sync/a_sync/_descriptor.c +19749 -0
  12. a_sync/a_sync/_descriptor.cpython-38-i386-linux-gnu.so +0 -0
  13. a_sync/a_sync/_descriptor.pyi +34 -0
  14. a_sync/a_sync/_descriptor.pyx +422 -0
  15. a_sync/a_sync/_flags.c +5687 -0
  16. a_sync/a_sync/_flags.cpython-38-i386-linux-gnu.so +0 -0
  17. a_sync/a_sync/_flags.pxd +3 -0
  18. a_sync/a_sync/_flags.pyx +92 -0
  19. a_sync/a_sync/_helpers.c +13722 -0
  20. a_sync/a_sync/_helpers.cpython-38-i386-linux-gnu.so +0 -0
  21. a_sync/a_sync/_helpers.pxd +3 -0
  22. a_sync/a_sync/_helpers.pyi +10 -0
  23. a_sync/a_sync/_helpers.pyx +167 -0
  24. a_sync/a_sync/_kwargs.c +10672 -0
  25. a_sync/a_sync/_kwargs.cpython-38-i386-linux-gnu.so +0 -0
  26. a_sync/a_sync/_kwargs.pxd +2 -0
  27. a_sync/a_sync/_kwargs.pyx +64 -0
  28. a_sync/a_sync/_meta.py +210 -0
  29. a_sync/a_sync/abstract.c +11350 -0
  30. a_sync/a_sync/abstract.cpython-38-i386-linux-gnu.so +0 -0
  31. a_sync/a_sync/abstract.pyi +141 -0
  32. a_sync/a_sync/abstract.pyx +221 -0
  33. a_sync/a_sync/base.c +14066 -0
  34. a_sync/a_sync/base.cpython-38-i386-linux-gnu.so +0 -0
  35. a_sync/a_sync/base.pyi +60 -0
  36. a_sync/a_sync/base.pyx +271 -0
  37. a_sync/a_sync/config.py +168 -0
  38. a_sync/a_sync/decorator.py +651 -0
  39. a_sync/a_sync/flags.c +4471 -0
  40. a_sync/a_sync/flags.cpython-38-i386-linux-gnu.so +0 -0
  41. a_sync/a_sync/flags.pxd +72 -0
  42. a_sync/a_sync/flags.pyi +74 -0
  43. a_sync/a_sync/flags.pyx +72 -0
  44. a_sync/a_sync/function.c +38189 -0
  45. a_sync/a_sync/function.cpython-38-i386-linux-gnu.so +0 -0
  46. a_sync/a_sync/function.pxd +28 -0
  47. a_sync/a_sync/function.pyi +571 -0
  48. a_sync/a_sync/function.pyx +1381 -0
  49. a_sync/a_sync/method.c +30587 -0
  50. a_sync/a_sync/method.cpython-38-i386-linux-gnu.so +0 -0
  51. a_sync/a_sync/method.pxd +9 -0
  52. a_sync/a_sync/method.pyi +524 -0
  53. a_sync/a_sync/method.pyx +1023 -0
  54. a_sync/a_sync/modifiers/__init__.pxd +1 -0
  55. a_sync/a_sync/modifiers/__init__.py +101 -0
  56. a_sync/a_sync/modifiers/cache/__init__.py +160 -0
  57. a_sync/a_sync/modifiers/cache/memory.py +165 -0
  58. a_sync/a_sync/modifiers/limiter.py +132 -0
  59. a_sync/a_sync/modifiers/manager.c +14939 -0
  60. a_sync/a_sync/modifiers/manager.cpython-38-i386-linux-gnu.so +0 -0
  61. a_sync/a_sync/modifiers/manager.pxd +5 -0
  62. a_sync/a_sync/modifiers/manager.pyi +219 -0
  63. a_sync/a_sync/modifiers/manager.pyx +299 -0
  64. a_sync/a_sync/modifiers/semaphores.py +173 -0
  65. a_sync/a_sync/property.c +28130 -0
  66. a_sync/a_sync/property.cpython-38-i386-linux-gnu.so +0 -0
  67. a_sync/a_sync/property.pyi +376 -0
  68. a_sync/a_sync/property.pyx +820 -0
  69. a_sync/a_sync/singleton.py +63 -0
  70. a_sync/aliases.py +3 -0
  71. a_sync/async_property/__init__.pxd +1 -0
  72. a_sync/async_property/__init__.py +1 -0
  73. a_sync/async_property/cached.c +20542 -0
  74. a_sync/async_property/cached.cpython-38-i386-linux-gnu.so +0 -0
  75. a_sync/async_property/cached.pxd +10 -0
  76. a_sync/async_property/cached.pyi +45 -0
  77. a_sync/async_property/cached.pyx +178 -0
  78. a_sync/async_property/proxy.c +36410 -0
  79. a_sync/async_property/proxy.cpython-38-i386-linux-gnu.so +0 -0
  80. a_sync/async_property/proxy.pxd +2 -0
  81. a_sync/async_property/proxy.pyi +124 -0
  82. a_sync/async_property/proxy.pyx +474 -0
  83. a_sync/asyncio/__init__.pxd +6 -0
  84. a_sync/asyncio/__init__.py +164 -0
  85. a_sync/asyncio/as_completed.c +18198 -0
  86. a_sync/asyncio/as_completed.cpython-38-i386-linux-gnu.so +0 -0
  87. a_sync/asyncio/as_completed.pxd +8 -0
  88. a_sync/asyncio/as_completed.pyi +109 -0
  89. a_sync/asyncio/as_completed.pyx +269 -0
  90. a_sync/asyncio/create_task.c +15109 -0
  91. a_sync/asyncio/create_task.cpython-38-i386-linux-gnu.so +0 -0
  92. a_sync/asyncio/create_task.pxd +2 -0
  93. a_sync/asyncio/create_task.pyi +51 -0
  94. a_sync/asyncio/create_task.pyx +276 -0
  95. a_sync/asyncio/gather.c +15735 -0
  96. a_sync/asyncio/gather.cpython-38-i386-linux-gnu.so +0 -0
  97. a_sync/asyncio/gather.pyi +107 -0
  98. a_sync/asyncio/gather.pyx +218 -0
  99. a_sync/asyncio/igather.c +11984 -0
  100. a_sync/asyncio/igather.cpython-38-i386-linux-gnu.so +0 -0
  101. a_sync/asyncio/igather.pxd +1 -0
  102. a_sync/asyncio/igather.pyi +7 -0
  103. a_sync/asyncio/igather.pyx +182 -0
  104. a_sync/asyncio/sleep.c +8916 -0
  105. a_sync/asyncio/sleep.cpython-38-i386-linux-gnu.so +0 -0
  106. a_sync/asyncio/sleep.pyi +14 -0
  107. a_sync/asyncio/sleep.pyx +49 -0
  108. a_sync/debugging.c +15157 -0
  109. a_sync/debugging.cpython-38-i386-linux-gnu.so +0 -0
  110. a_sync/debugging.pyi +76 -0
  111. a_sync/debugging.pyx +107 -0
  112. a_sync/exceptions.c +13169 -0
  113. a_sync/exceptions.cpython-38-i386-linux-gnu.so +0 -0
  114. a_sync/exceptions.pyi +376 -0
  115. a_sync/exceptions.pyx +446 -0
  116. a_sync/executor.py +575 -0
  117. a_sync/functools.c +11489 -0
  118. a_sync/functools.cpython-38-i386-linux-gnu.so +0 -0
  119. a_sync/functools.pxd +7 -0
  120. a_sync/functools.pyi +33 -0
  121. a_sync/functools.pyx +139 -0
  122. a_sync/future.py +1497 -0
  123. a_sync/iter.c +37702 -0
  124. a_sync/iter.cpython-38-i386-linux-gnu.so +0 -0
  125. a_sync/iter.pxd +11 -0
  126. a_sync/iter.pyi +366 -0
  127. a_sync/iter.pyx +981 -0
  128. a_sync/primitives/__init__.pxd +1 -0
  129. a_sync/primitives/__init__.py +53 -0
  130. a_sync/primitives/_debug.c +14737 -0
  131. a_sync/primitives/_debug.cpython-38-i386-linux-gnu.so +0 -0
  132. a_sync/primitives/_debug.pxd +12 -0
  133. a_sync/primitives/_debug.pyi +52 -0
  134. a_sync/primitives/_debug.pyx +223 -0
  135. a_sync/primitives/_loggable.c +10569 -0
  136. a_sync/primitives/_loggable.cpython-38-i386-linux-gnu.so +0 -0
  137. a_sync/primitives/_loggable.pxd +4 -0
  138. a_sync/primitives/_loggable.pyi +66 -0
  139. a_sync/primitives/_loggable.pyx +102 -0
  140. a_sync/primitives/locks/__init__.pxd +8 -0
  141. a_sync/primitives/locks/__init__.py +17 -0
  142. a_sync/primitives/locks/counter.c +16972 -0
  143. a_sync/primitives/locks/counter.cpython-38-i386-linux-gnu.so +0 -0
  144. a_sync/primitives/locks/counter.pxd +12 -0
  145. a_sync/primitives/locks/counter.pyi +151 -0
  146. a_sync/primitives/locks/counter.pyx +260 -0
  147. a_sync/primitives/locks/event.c +16125 -0
  148. a_sync/primitives/locks/event.cpython-38-i386-linux-gnu.so +0 -0
  149. a_sync/primitives/locks/event.pxd +22 -0
  150. a_sync/primitives/locks/event.pyi +43 -0
  151. a_sync/primitives/locks/event.pyx +185 -0
  152. a_sync/primitives/locks/prio_semaphore.c +25204 -0
  153. a_sync/primitives/locks/prio_semaphore.cpython-38-i386-linux-gnu.so +0 -0
  154. a_sync/primitives/locks/prio_semaphore.pxd +25 -0
  155. a_sync/primitives/locks/prio_semaphore.pyi +217 -0
  156. a_sync/primitives/locks/prio_semaphore.pyx +597 -0
  157. a_sync/primitives/locks/semaphore.c +25813 -0
  158. a_sync/primitives/locks/semaphore.cpython-38-i386-linux-gnu.so +0 -0
  159. a_sync/primitives/locks/semaphore.pxd +21 -0
  160. a_sync/primitives/locks/semaphore.pyi +196 -0
  161. a_sync/primitives/locks/semaphore.pyx +454 -0
  162. a_sync/primitives/queue.py +1018 -0
  163. a_sync/py.typed +0 -0
  164. a_sync/sphinx/__init__.py +3 -0
  165. a_sync/sphinx/ext.py +289 -0
  166. a_sync/task.py +932 -0
  167. a_sync/utils/__init__.py +105 -0
  168. a_sync/utils/iterators.py +297 -0
  169. a_sync/utils/repr.c +14354 -0
  170. a_sync/utils/repr.cpython-38-i386-linux-gnu.so +0 -0
  171. a_sync/utils/repr.pyi +2 -0
  172. a_sync/utils/repr.pyx +73 -0
  173. ez_a_sync-0.32.24.dist-info/LICENSE.txt +17 -0
  174. ez_a_sync-0.32.24.dist-info/METADATA +356 -0
  175. ez_a_sync-0.32.24.dist-info/RECORD +177 -0
  176. ez_a_sync-0.32.24.dist-info/WHEEL +7 -0
  177. ez_a_sync-0.32.24.dist-info/top_level.txt +1 -0
a_sync/utils/repr.pyi ADDED
@@ -0,0 +1,2 @@
1
+ def repr_trunc(iterable: Iterable[Any]) -> str:
2
+ """Returns a truncated `repr` for `iterable`, limited to the first 5 items."""
a_sync/utils/repr.pyx ADDED
@@ -0,0 +1,73 @@
1
+ from itertools import islice
2
+ from typing import Any, Iterable
3
+
4
+ from cpython.dict cimport PyDict_Size
5
+ from cpython.list cimport PyList_GET_SIZE
6
+ from cpython.object cimport Py_TYPE, PyObject_Repr
7
+ from cpython.tuple cimport PyTuple_GET_SIZE
8
+
9
+ cdef extern from "Python.h":
10
+ ctypedef struct PyTypeObject:
11
+ pass
12
+
13
+
14
+ L, S, D = [], set(), {}
15
+ cdef PyTypeObject *List_ptr = Py_TYPE(L)
16
+ cdef PyTypeObject *Tuple_ptr = Py_TYPE(())
17
+ cdef PyTypeObject *Dict_ptr = Py_TYPE(D)
18
+ cdef PyTypeObject *DictKeys_ptr = Py_TYPE(D.keys())
19
+ cdef PyTypeObject *DictValues_ptr = Py_TYPE(D.values())
20
+ cdef PyTypeObject *DictItems_ptr = Py_TYPE(D.items())
21
+ cdef PyTypeObject *Set_ptr = Py_TYPE(S)
22
+ del L, S, D
23
+
24
+
25
+ def repr_trunc(iterable: Iterable[Any]) -> str:
26
+ """Returns a truncated `repr` for `iterable`, limited to the first 5 items."""
27
+ cdef PyTypeObject *itype = Py_TYPE(iterable)
28
+ if itype == List_ptr:
29
+ return _join_first_5_reprs_list(iterable)
30
+ elif itype == Tuple_ptr:
31
+ return _join_first_5_reprs_tuple(iterable)
32
+ elif itype == Dict_ptr:
33
+ if PyDict_Size(iterable) <= 5:
34
+ return "{" + ", ".join(
35
+ f"{PyObject_Repr(k)}: {repr(iterable[k])}"
36
+ for k in iterable
37
+ ) + "}"
38
+ else:
39
+ return "{" + ", ".join(
40
+ f"{PyObject_Repr(k)}: {repr(iterable[k])}"
41
+ for k in islice(iterable, 5)
42
+ ) + ", ...}"
43
+ elif itype == DictKeys_ptr:
44
+ return f"dict_keys([{_join_first_5_reprs_generic(iterable)}])"
45
+ elif itype == DictValues_ptr:
46
+ return f"dict_values([{_join_first_5_reprs_generic(iterable)}])"
47
+ elif itype == DictItems_ptr:
48
+ return f"dict_items([{_join_first_5_reprs_generic(iterable)}])"
49
+ elif itype == Set_ptr:
50
+ return "{" + _join_first_5_reprs_generic(iterable) + "}"
51
+ else:
52
+ return PyObject_Repr(iterable)
53
+
54
+
55
+ cdef inline str _join_first_5_reprs_list(list[object] lst):
56
+ if PyList_GET_SIZE(lst) <= 5:
57
+ return f"[{', '.join(PyObject_Repr(obj) for obj in lst)}]"
58
+ else:
59
+ return f"[{', '.join(PyObject_Repr(obj) for obj in lst[:5])}, ...]"
60
+
61
+
62
+ cdef inline str _join_first_5_reprs_tuple(tuple[object, ...] tup):
63
+ if PyTuple_GET_SIZE(tup) <= 5:
64
+ return f"({', '.join(PyObject_Repr(obj) for obj in tup)})"
65
+ else:
66
+ return f"({', '.join(PyObject_Repr(obj) for obj in tup[:5])}, ...)"
67
+
68
+
69
+ cdef str _join_first_5_reprs_generic(iterable: Iterable[Any]):
70
+ if len(iterable) <= 5:
71
+ return ", ".join(PyObject_Repr(obj) for obj in iterable)
72
+ else:
73
+ return f"{', '.join(PyObject_Repr(obj) for obj in islice(iterable, 5))}, ..."
@@ -0,0 +1,17 @@
1
+ MIT License
2
+ Copyright (c) 2023 Posted On The Block LLC
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+ The above copyright notice and this permission notice shall be included in all
10
+ copies or substantial portions of the Software.
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17
+ SOFTWARE.
@@ -0,0 +1,356 @@
1
+ Metadata-Version: 2.1
2
+ Name: ez_a_sync
3
+ Version: 0.32.24
4
+ Summary: A library that makes it easy to define objects that can be used for both sync and async use cases.
5
+ Home-page: https://github.com/BobTheBuidler/a-sync
6
+ Author: BobTheBuidler
7
+ Author-email: bobthebuidlerdefi@gmail.com
8
+ License: MIT
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.8
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: Implementation :: CPython
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Topic :: Software Development :: Libraries
19
+ Requires-Python: >=3.8,<3.14
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE.txt
22
+ Requires-Dist: aiolimiter>=1
23
+ Requires-Dist: async-lru-threadsafe==2.0.4
24
+ Requires-Dist: async-property==0.2.1
25
+ Requires-Dist: typed-envs>=0.0.5
26
+ Requires-Dist: typing-extensions>=4.1.0
27
+
28
+ ## Table of Contents
29
+ <!-- TOC -->
30
+
31
+ - [Table of Contents](#table-of-contents)
32
+ - [Introduction](#introduction)
33
+ - [Installation](#installation)
34
+ - [Usage](#usage)
35
+ - [Decorators](#decorators)
36
+ - [@a_sync'async'](#a_syncasync)
37
+ - [@a_sync'sync'](#a_syncsync)
38
+ - [Classes](#classes)
39
+ - [Modifiers](#modifiers)
40
+ - [async modifiers](#async-modifiers)
41
+ - [sync modifiers](#sync-modifiers)
42
+ - [Default Modifiers](#default-modifiers)
43
+ - [Other Helpful Classes](#other-helpful-modules)
44
+ - [ASyncIterable](#asynciterable)
45
+ - [ASyncIterator](#asynciterator)
46
+ - [ASyncFilter](#asyncfilter)
47
+ - [ASyncSorter](#asyncsorter)
48
+ - [Other Helpful Modules](#other-helpful-modules)
49
+ - [future](#future)
50
+ - [ASyncFuture](#asyncfuture)
51
+ - [future decorator](#future-decorator)
52
+ - [asyncio](#asyncio)
53
+
54
+ <!-- /TOC -->
55
+ ## Introduction
56
+
57
+ `ez-a-sync` is a Python library that enables developers to write both synchronous and asynchronous code without having to write redundant code. It provides a decorator `@a_sync()`, as well as a base class `ASyncGenericBase` which can be used to create classes that can be executed in both synchronous and asynchronous contexts.
58
+
59
+ It also contains implementations of various asyncio primitives with extra functionality, including queues and various types of locks.
60
+ \# TODO add links to various objects' docs
61
+
62
+ ## Installation
63
+
64
+ `ez-a-sync` can be installed via pip:
65
+
66
+ ```
67
+ pip install ez-a-sync
68
+ ```
69
+
70
+ ## Usage
71
+
72
+ ### Decorators
73
+
74
+ `ez-a-sync` provides one decorator: `@a_sync()`. You can explicitly pass the type of function you want with `@a_sync('sync')` or `@a_sync('async')`
75
+
76
+ #### `@a_sync('async')`
77
+
78
+ The `@a_sync('async')` decorator can be used to define an asynchronous function that can also be executed synchronously.
79
+
80
+ ```python
81
+ @a_sync('async')
82
+ def some_function():
83
+ ...
84
+ ```
85
+
86
+ This function can then be executed asynchronously using `await`:
87
+
88
+ ```python
89
+ aaa = await some_function()
90
+ ```
91
+
92
+ It can also be executed synchronously by passing `sync=True` or `asynchronous=False`:
93
+
94
+ ```python
95
+ aaa = some_function(sync=True)
96
+ ```
97
+
98
+ #### `@a_sync('sync')`
99
+
100
+ The `@a_sync('sync')` decorator can be used to define a synchronous function that can also be executed asynchronously.
101
+
102
+ ```python
103
+ @a_sync('sync')
104
+ async def some_function():
105
+ ...
106
+ ```
107
+
108
+ This function can then be executed synchronously:
109
+
110
+ ```python
111
+ aaa = some_function()
112
+ ```
113
+
114
+ It can also be overridden asynchronously by passing `sync=False` or `asynchronous=True` and using `await`:
115
+
116
+ ```python
117
+ aaa = await some_function(sync=False)
118
+ ```
119
+
120
+ ### Classes
121
+
122
+ `ez-a-sync` also provides a base class `ASyncGenericBase` that can be used to create classes that can be executed in both synchronous and asynchronous contexts. To create an asynchronous class, simply inherit from `ASyncGenericBase` and set `asynchronous=True`:
123
+
124
+ ```python
125
+ class CoolAsyncClass(ASyncGenericBase):
126
+ asynchronous=True
127
+
128
+ def some_sync_fn():
129
+ ...
130
+ ```
131
+
132
+ In this example, `CoolAsyncClass` has `asynchronous=True`, which means it is an asynchronous class. You can call `some_sync_fn` asynchronously using `await`:
133
+
134
+ ```python
135
+ aaa = await CoolAsyncClass().some_sync_fn()
136
+ ```
137
+
138
+ `CoolAsyncClass` functions can also be called synchronously by passing `sync=True`:
139
+
140
+ ```python
141
+ aaa = CoolAsyncClass().some_sync_fn(sync=True)
142
+ ```
143
+
144
+ Similarly, you can create a synchronous class by setting `sync=True` or `asynchronous=False`:
145
+
146
+ ```python
147
+ class CoolSyncClass(ASyncGenericBase):
148
+ asynchronous=False
149
+
150
+ async def some_async_fn():
151
+ ...
152
+ ```
153
+
154
+ `CoolSyncClass` functions can be called synchronously:
155
+
156
+ ```python
157
+ aaa = CoolSyncClass().some_async_fn()
158
+ ```
159
+
160
+ It can also be called asynchronously by passing `sync=False` or `asynchronous=True` and using `await`:
161
+
162
+ ```python
163
+ aaa = await CoolSyncClass().some_async_fn(sync=False)
164
+ ```
165
+
166
+ You can also create a class which functions can be executed in both synchronous and asynchronous contexts by not setting the `asynchronous` or `sync` attribute (both can be used interchangeably, pick your favorite) and passing it as an argument when creating an instance:
167
+
168
+ ```python
169
+ class CoolDualClass(ASyncGenericBase):
170
+ def __init__(self, asynchronous):
171
+ self.asynchronous=asynchronous
172
+
173
+ async def some_async_fn():
174
+ ...
175
+ ```
176
+
177
+ You can create an instance of `CoolDualClass` with `sync=False` or `asynchronous=True` to call it asynchronously:
178
+
179
+ ```python
180
+ async_instance = CoolDualClass(asynchronous=True)
181
+ aaa = await async_instance.some_async_fn()
182
+ aaa = async_instance.some_async_fn(sync=True)
183
+ ```
184
+
185
+ You can also create an instance with `sync=True` or `asynchronous=False` to call it synchronously:
186
+
187
+ ```python
188
+ sync_instance = CoolDualClass(asynchronous=False)
189
+ aaa = sync_instance.some_async_fn()
190
+ aaa = sync_instance.some_async_fn(sync=False)
191
+ ```
192
+
193
+ ### Modifiers
194
+
195
+ The `ez-a-sync` library provides several settings that can be used to customize the behavior of the decorators and classes.
196
+
197
+ To apply settings to the decorators or base classes, simply pass them as keyword arguments when calling the decorator or creating an instance.
198
+
199
+ For example, to apply `cache_type='memory'` to a function decorated with `@a_sync('async')`, you would do the following:
200
+
201
+ ```python
202
+ @a_sync('async', cache_type='memory')
203
+ def some_function():
204
+ ...
205
+ ```
206
+
207
+ #### async modifiers
208
+
209
+ The `@a_sync('async')` decorator has the following settings:
210
+
211
+ - `cache_type`: This can be set to `None` or `'memory'`. `'memory'` is a LRU cache which can be modified with the `cache_typed`, `ram_cache_maxsize`, and `ram_cache_ttl` modifiers.
212
+ - `cache_typed`: Set to `True` if you want types considered treated for cache keys. i.e. with `cache_typed=True`, `Decimal(0)` and `0` will be considered separate keys.
213
+ - `ram_cache_maxsize`: The maxsize for your LRU cache. Set to `None` if the cache is unbounded. If you set this value without specifying a cache type, `'memory'` will automatically be applied.
214
+ - `ram_cache_ttl`: The TTL for items in your LRU cache. Set to `None`. If you set this value without specifying a cache type, `'memory'` will automatically be applied.
215
+ - `runs_per_minute`: Setting this value enables a rate limiter for the decorated function.
216
+ - `semaphore`: Drop in a Semaphore for your async defined functions.
217
+
218
+ #### sync modifiers
219
+
220
+ The `@a_sync('sync')` decorator has the following setting:
221
+
222
+ - `executor`: The executor for the synchronous function. Set to the library's default of `config.default_sync_executor`.
223
+
224
+ #### Default Modifiers
225
+
226
+ Instead of setting modifiers one by one in functions, you can set a default value for modifiers using ENV variables:
227
+
228
+ - `DEFAULT_MODE`
229
+ - `CACHE_TYPE`
230
+ - `CACHE_TYPED`
231
+ - `RAM_CACHE_MAXSIZE`
232
+ - `RAM_CACHE_TTL`
233
+ - `RUNS_PER_MINUTE`
234
+ - `SEMAPHORE`
235
+
236
+ ### Other Helpful Classes
237
+ #### ASyncIterable
238
+ The [ASyncIterable](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncIterable) class allows objects to be iterated over using either a standard `for` loop or an `async for` loop. This is particularly useful in scenarios where the mode of iteration needs to be flexible or is determined at runtime.
239
+
240
+ ```python
241
+ from a_sync import ASyncIterable
242
+
243
+ async_iterable = ASyncIterable(some_async_iterable)
244
+
245
+ # Asynchronous iteration
246
+ async for item in async_iterable:
247
+ ...
248
+
249
+ # Synchronous iteration
250
+ for item in async_iterable:
251
+ ...
252
+ ```
253
+
254
+ See the [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncIterable) for more information.
255
+
256
+ #### ASyncIterator
257
+
258
+ The [ASyncIterator](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncIterator) class provides a unified interface for iteration that can operate in both synchronous and asynchronous contexts. It allows the wrapping of asynchronous iterable objects or async generator functions.
259
+
260
+ ```python
261
+ from a_sync import ASyncIterator
262
+
263
+ async_iterator = ASyncIterator(some_async_iterator)
264
+
265
+ # Asynchronous iteration
266
+ async for item in async_iterator:
267
+ ...
268
+
269
+ # Synchronous iteration
270
+ for item in async_iterator:
271
+ ...
272
+ ```
273
+
274
+ See the [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncIterator) for more information.
275
+
276
+ #### ASyncFilter
277
+
278
+ The [ASyncFilter](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncFilter) class filters items of an async iterable based on a provided function. It can handle both synchronous and asynchronous filter functions.
279
+
280
+ ```python
281
+ from a_sync import ASyncFilter
282
+
283
+ async def is_even(x):
284
+ return x % 2 == 0
285
+
286
+ filtered_iterable = ASyncFilter(is_even, some_async_iterable)
287
+
288
+ # or use the alias
289
+ import a_sync
290
+
291
+ filtered_iterable = a_sync.filter(is_even, some_async_iterable)
292
+
293
+ # Asynchronous iteration
294
+ async for item in filtered_iterable:
295
+ ...
296
+
297
+ # Synchronous iteration
298
+ for item in filtered_iterable:
299
+ ...
300
+ ```
301
+
302
+ See the [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncFilter) for more information.
303
+
304
+ #### ASyncSorter
305
+
306
+ The [ASyncSorter](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncSorter) class sorts items of an async iterable based on a provided key function. It supports both synchronous and asynchronous key functions.
307
+
308
+ ```python
309
+ from a_sync import ASyncSorter
310
+
311
+ sorted_iterable = ASyncSorter(some_async_iterable, key=lambda x: x.value)
312
+
313
+ # or use the alias
314
+ import a_sync
315
+
316
+ sorted_iterable = a_sync.sort(some_async_iterable, key=lambda x: x.value)
317
+
318
+ # Asynchronous iteration
319
+ async for item in sorted_iterable:
320
+ ...
321
+
322
+ # Synchronous iteration
323
+ for item in sorted_iterable:
324
+ ...
325
+ ```
326
+
327
+ See the [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncSorter) for more information.
328
+
329
+ ## Other Helpful Modules
330
+ The stuff here is unrelated to the main purpose of ez-a-sync, but cool and useful nonetheless
331
+
332
+ ### asyncio
333
+
334
+ The `ez-a-sync` library extends the functionality of Python's `asyncio` module with additional utilities to simplify asynchronous programming.
335
+
336
+ - **as_completed**: This function allows you to iterate over awaitables as they complete, similar to `asyncio.as_completed`. It supports both synchronous and asynchronous iteration. [Learn more about `as_completed`](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.asyncio.as_completed).
337
+
338
+ - **gather**: A utility to run multiple asynchronous operations concurrently and wait for all of them to complete. It is similar to `asyncio.gather` but integrates seamlessly with the `ez-a-sync` library. [Learn more about `gather`](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.asyncio.gather).
339
+
340
+ - **create_task**: A function to create a new task from a coroutine, similar to `asyncio.create_task`, but with additional features provided by `ez-a-sync`. [Learn more about `create_task`](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.asyncio.create_task).
341
+
342
+ - **as_completed**: This function allows you to iterate over awaitables as they complete, similar to `asyncio.as_completed`. It supports both synchronous and asynchronous iteration. [Learn more about `as_completed`](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.asyncio.as_completed).
343
+
344
+ These utilities enhance the standard `asyncio` module, providing more flexibility and control over asynchronous operations. For detailed documentation and examples, please refer to the [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.asyncio)
345
+
346
+ ### future
347
+ The future module is something totally different.
348
+ TODO: short explainer of module value prop and use case
349
+
350
+ #### ASyncFuture
351
+ [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.future.ASyncFuture)
352
+ TODO: short explainers on ASyncFuture class
353
+
354
+ #### future decorator
355
+ [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.future.future)
356
+ TODO: short explainers on future fn
@@ -0,0 +1,177 @@
1
+ a_sync/ENVIRONMENT_VARIABLES.py,sha256=YgIB8mQRqQBLbD3DdwMjx4ylqO8pK3GUvSNCerWJzx8,1280
2
+ a_sync/__init__.pxd,sha256=ol4jqkvuweaaU8GQU_Mq9rak8IIsagYTdhYhbKK74ac,81
3
+ a_sync/__init__.py,sha256=lgwXsFYALBp0ORHRLKlpfPE79GIqbhR_MP8JbZStBGc,5750
4
+ a_sync/_smart.c,sha256=C2Rc1BCn_grEoA4w9rjYiCafuTMyr3toZAdfLKVqlY8,921790
5
+ a_sync/_smart.cpython-38-i386-linux-gnu.so,sha256=gHElO5hqeIBQsLmIwhoMlXy3tM5gpJ1oONZTT0LIkN8,1075040
6
+ a_sync/_smart.pxd,sha256=3FlPqSvAtmGXIDFzfm7wpkvL6xt8z8w-vwow4Lura2g,76
7
+ a_sync/_smart.pyi,sha256=mUQwUiiSsMsbtJTKdXm076ua5B2A9USaKgjZq1Se_ZQ,5390
8
+ a_sync/_smart.pyx,sha256=88-mSxJLUHoF_4d7re18QUy6iwV7Y7mcPjNp6MYaviU,19828
9
+ a_sync/_typing.py,sha256=x24VIVjxz8sUWPmQR072pHAQxJO769Nn02f3eakFpe8,6850
10
+ a_sync/aliases.py,sha256=TbLyuLeFfJEmcC5-NP6h4DQ9QXlQjGny2NUP_x1tflw,212
11
+ a_sync/debugging.c,sha256=RfJnHds7wZdPmWg5PYc26nqjOQijqdOMMbGk43tvUhU,589339
12
+ a_sync/debugging.cpython-38-i386-linux-gnu.so,sha256=SD8q71BCNhu4EnS_u9Gbo5jOp9-0Omj0WgXsYLjFsNo,711692
13
+ a_sync/debugging.pyi,sha256=AELgYmG2aLEBrkSHL7WKUrJGzyk-XXDq_abS8W6ccck,2311
14
+ a_sync/debugging.pyx,sha256=Z29Lek1NyUXVFHjfk9O6XWxPNk1uRFyY6tK6fTfgxGM,3045
15
+ a_sync/exceptions.c,sha256=KCIksWVSTLbK6RLGxlCintP-p950LI7MSzULIYfy9B4,560047
16
+ a_sync/exceptions.cpython-38-i386-linux-gnu.so,sha256=2JF-6kWeX_jlYW7xgXCJkB4soHKZ9FrXLdQJk6Pbaf8,757356
17
+ a_sync/exceptions.pyi,sha256=NnBEKUBzBCl0kLj75ukwyQeWXjwPSkDg-NxKsXh-Ans,10834
18
+ a_sync/exceptions.pyx,sha256=XxT1cOZ3qehVuQd00NbiY72YMLeFLzi6aRBvisQF6TA,13274
19
+ a_sync/executor.py,sha256=bacluNlegqlioPxlcFOTaGiH2ylXJYkfBSsUMnQqOWQ,21401
20
+ a_sync/functools.c,sha256=KwvIpLg4DT2z4P-VlvJLL2pR3CeWdQslyKLOY4xrQlI,450421
21
+ a_sync/functools.cpython-38-i386-linux-gnu.so,sha256=CD9-51crRRZgN7PPmyQ5YZsFwXy6ItMIn3J-j88xpQo,491768
22
+ a_sync/functools.pxd,sha256=hhygzVpa5tXnDWR1pi_WLkOBd_1mC60K3279wYFEfA8,187
23
+ a_sync/functools.pyi,sha256=HGM208HKg5FOUbu9CbfnIOx3sdQB1OwO1t-0tZKd-T4,1404
24
+ a_sync/functools.pyx,sha256=F-Vp5JrhEt4jaFQDx48FadI7NGLlPfoIPWRWHTQob0Q,4837
25
+ a_sync/future.py,sha256=CK3t7BE1AfuFhWLFw50rFaCox0IRYW2x0HqVpOJC6o8,48675
26
+ a_sync/iter.c,sha256=WS1z9wYxIBs9XcQBsfZnQCmDdkM5GqM-AbVZR-4-4Bk,1617426
27
+ a_sync/iter.cpython-38-i386-linux-gnu.so,sha256=d_Gk3nCKboXIK-Uh1GqAdKs2UflgmYulLDSP5QENgXM,2181856
28
+ a_sync/iter.pxd,sha256=VQKDAzm1M4snbrL9vwhU2zl04H4LeJrWtqksw6yGWOc,427
29
+ a_sync/iter.pyi,sha256=785C3RAcRT69ngv3LfEE56Sf8hyLqapxS94uqfz1na8,15412
30
+ a_sync/iter.pyx,sha256=TKzdMQkI74oKdgW-Us1WSgE5_KdS_7dOUykAmTHiXgU,37486
31
+ a_sync/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
+ a_sync/task.py,sha256=lHeGEPyEoUPNCTMGBGxvJxTZSu6KOqN5VC0rIf_slIY,35049
33
+ a_sync/a_sync/__init__.py,sha256=P8AO0TBmYPW5BYVk0TohOwLq8jurpRKfXnaPO-qDMJw,2200
34
+ a_sync/a_sync/_descriptor.c,sha256=Q2O12TGkhzGShoRS4E5RSBiOUoPsoZWuEQ4_gWnCcpA,844125
35
+ a_sync/a_sync/_descriptor.cpython-38-i386-linux-gnu.so,sha256=9drIHJrc0I5iOJyNfMkTndc9xCP_olB70TfznOldeVs,1056412
36
+ a_sync/a_sync/_descriptor.pyi,sha256=N77KA4DQbXUXKeAf-vTpAXc7E4Bk1d-Khtr7vjzwRwI,1343
37
+ a_sync/a_sync/_descriptor.pyx,sha256=jlQ8VgBmUB7fMUBsb3cIqyREmspkTgLQv5jZNqowkwg,13602
38
+ a_sync/a_sync/_flags.c,sha256=hxVtZT5faViQExnKIQnSBb-p9Rbqpxpor9dNxQH9dZA,217269
39
+ a_sync/a_sync/_flags.cpython-38-i386-linux-gnu.so,sha256=n1YbIhL87buZbddCdYRLXxBZwfvKALRw1geQVt6WJVM,158076
40
+ a_sync/a_sync/_flags.pxd,sha256=w8CBx5wDoCBRHFmeQOuVwWefDC3LP3zIWGaao_-y_uY,188
41
+ a_sync/a_sync/_flags.pyx,sha256=suOkvo37BZ9RIOdCpAdsXgk_98IOkn6jr1Ss5yunvdU,2806
42
+ a_sync/a_sync/_helpers.c,sha256=jlTq1V_AHGwTlo53o-NXmSxDquWj2_ZqmA1U900L3Ys,551235
43
+ a_sync/a_sync/_helpers.cpython-38-i386-linux-gnu.so,sha256=Sfrf_MrE5JxbvXk5YklkU-gQTPyWVeEg7r1hcOut_AA,607200
44
+ a_sync/a_sync/_helpers.pxd,sha256=VG28VRW-jlTZJ-0H-W8Y8u5gw8zUVIbsb3nW-REI_Z4,118
45
+ a_sync/a_sync/_helpers.pyi,sha256=t2iBYRsG3qCfhzEfO6aG4KLQv_LWe8yjYDZ4RppnOak,319
46
+ a_sync/a_sync/_helpers.pyx,sha256=rvsCXR7tvddUIymUQCSi4eGzNCstYi5zGAdLCTPaIFQ,5409
47
+ a_sync/a_sync/_kwargs.c,sha256=blxZEu_yTOZAAn1aARwbJlTKoSgC3ojhSWeGgG6Y6ws,405231
48
+ a_sync/a_sync/_kwargs.cpython-38-i386-linux-gnu.so,sha256=skS0SIKEtHy9_QZTu--_DAMW7f5iK6fip6mK4CSPEmc,380596
49
+ a_sync/a_sync/_kwargs.pxd,sha256=RdEVKGXeBvq5_O4WkRXtjKdi8FV6oNPGhtJ-epUnr1M,92
50
+ a_sync/a_sync/_kwargs.pyx,sha256=0hHXMlOpJmtNJ7yApnwEr7U_sub5yrOuZbSn_oBMxwk,1975
51
+ a_sync/a_sync/_meta.py,sha256=iET1qFtqdMZmMRc_-e1rWL2VgYJ7ymsZ6_JdWrrcDS0,9429
52
+ a_sync/a_sync/abstract.c,sha256=my8pajUN_xUqEIJitvZ7ZN5Mxy8e4lJv-iXgV308oQE,461336
53
+ a_sync/a_sync/abstract.cpython-38-i386-linux-gnu.so,sha256=oftcgNV8HIPq6-YRDbE0IQjXCZVNKyIKi3dcFyisRTg,497528
54
+ a_sync/a_sync/abstract.pyi,sha256=IGEh74mnvZECWpSr0bh-ZQeFc-6Q4cu9EefhEaDLp2c,5071
55
+ a_sync/a_sync/abstract.pyx,sha256=OUp1CJ3NnBInC5agJ-6Ob_n6HfjkHY-f_6gPgZxaGx8,7864
56
+ a_sync/a_sync/base.c,sha256=H5myWP3tyqTOkIR3692XiDibekzJlCJ0XA-QeL8u7ZI,562178
57
+ a_sync/a_sync/base.cpython-38-i386-linux-gnu.so,sha256=Mz4MfAHF1S1xHj10-rnlQpCYoh_C3bRAigELkuNcniQ,707532
58
+ a_sync/a_sync/base.pyi,sha256=t7AsaZzf74djHjkAA7Dnzf12sG1ppoxpwm0Iyn1GM3w,2326
59
+ a_sync/a_sync/base.pyx,sha256=73vU-pr2XClsKLcGlQbhAhjLFHMoBQrb6UH-YuCBhxU,10603
60
+ a_sync/a_sync/config.py,sha256=siXP4CFLQ_vswuG5K-G6cOSjQ6xKc1gN7-XNHFN2tFU,6221
61
+ a_sync/a_sync/decorator.py,sha256=mCSp2KxOsPObANAwR6VK4UzhuelxAOwPDGQ8-jxe8dk,19750
62
+ a_sync/a_sync/flags.c,sha256=pnoCgI2Cochd4fMayKEKI82lw8f83fwhhUkNajLvxJk,175737
63
+ a_sync/a_sync/flags.cpython-38-i386-linux-gnu.so,sha256=hVjWm8HhA9M5uq03yjSvg6G-JHAfpHzOLgvRa5gg3Vk,71080
64
+ a_sync/a_sync/flags.pxd,sha256=Jxe9hvWn-mPfGXHXLEvRPM2i44c4y2D4iq4ZqZZst80,2238
65
+ a_sync/a_sync/flags.pyi,sha256=PPAqrtJOvabVudb_yT32yZ95PP15uzzuXD2NirkWqTw,2229
66
+ a_sync/a_sync/flags.pyx,sha256=PU_DAZzoXhn-Z-okbTu0p6stnwnKsSEn781TryRRs0E,2305
67
+ a_sync/a_sync/function.c,sha256=ckfw4ew9HfhXYRfD7Y12H64qzwFXjOXb-59er14ugg4,1715759
68
+ a_sync/a_sync/function.cpython-38-i386-linux-gnu.so,sha256=dxi0fONthVUcLvAPqgFpnnCVc7a4QzF0H1nd3xUmPgg,2227520
69
+ a_sync/a_sync/function.pxd,sha256=QOGVstj2s4oQy18QwjCy--eu4pOlheVwWg3oiT2KDno,830
70
+ a_sync/a_sync/function.pyi,sha256=Ui6VrM_i7Vw7PPye3X4hOQ3Za7ikD0qbI26HIs7wqow,17990
71
+ a_sync/a_sync/function.pyx,sha256=9btAdzY428QkPd7ggQpomhaD7h8BCdzjTvhT4ayw7-g,46400
72
+ a_sync/a_sync/method.c,sha256=go8jgtOweE-5HQKgLr86Jb1REglPDLFsOx408c7Pyio,1390305
73
+ a_sync/a_sync/method.cpython-38-i386-linux-gnu.so,sha256=OtIUO-C--VArcceQ9WZfNEzGtJyBgJGbLFuHkIoO5a4,1930596
74
+ a_sync/a_sync/method.pxd,sha256=TMlVXxWOGc6r-4duaRSi_kEPe24Be1mpeISZNqktqXg,472
75
+ a_sync/a_sync/method.pyi,sha256=DpzdpuYSi7wiZkkX9xB0pg1oFcCYxJbVrWj3J_ISo3M,17815
76
+ a_sync/a_sync/method.pyx,sha256=2asS_Ej5q6-BZ9T8JYqXjLOaQ9-n2SBcmXaAvSoJgps,36146
77
+ a_sync/a_sync/property.c,sha256=gJra9kx2XTDD_9tLy-xvQOqYvgXj2f5o4zDZMX9qMbA,1248760
78
+ a_sync/a_sync/property.cpython-38-i386-linux-gnu.so,sha256=ZhChwMBNv48rtGpWhmACyWC3xbkXmyDpGGUNIah9JuA,1714436
79
+ a_sync/a_sync/property.pyi,sha256=GWXCWpJBa_qxBYfbv_Lmt02Md8WK9nJYTu7blO4O2ew,13680
80
+ a_sync/a_sync/property.pyx,sha256=hecMUMrIqhrEKUEx6EPIR4QnhRpPOx-28_TbkS_7vCU,27803
81
+ a_sync/a_sync/singleton.py,sha256=WRJ9FEqeFB8T59NSOiLLcm-QmMCI0H7nwEpvDIUp9IQ,2492
82
+ a_sync/a_sync/modifiers/__init__.pxd,sha256=17tPpMY2ByVbMGIpI5kiP3WX8V9IM5ZHJp0Y3eT6LvE,60
83
+ a_sync/a_sync/modifiers/__init__.py,sha256=JXyupO5h2hICMd-ha642ttCEFib_gAA6v-Ll6cyHNCA,4159
84
+ a_sync/a_sync/modifiers/limiter.py,sha256=WjO32P4vZLvyJnwpm2qFgqwRmCM7eEHxcdXzilzLlps,4303
85
+ a_sync/a_sync/modifiers/manager.c,sha256=GiQBNW8VlS3IOx1EyS7HQ4njW7OGi90J83SPz7eYIbk,626521
86
+ a_sync/a_sync/modifiers/manager.cpython-38-i386-linux-gnu.so,sha256=kScTG2zgrwEBbqAxWhuaG-2tWxTaBFLxoWoIYE8HEvQ,641964
87
+ a_sync/a_sync/modifiers/manager.pxd,sha256=s7zw1kllYYGpe5uFETRIUFsgbVdtFM8jGh4RxZgm25M,183
88
+ a_sync/a_sync/modifiers/manager.pyi,sha256=oSMpBaZJPxzqaAyLT8ikA1DNHvyPRVqVIXrL0EvDe4A,6222
89
+ a_sync/a_sync/modifiers/manager.pyx,sha256=PcyGpRnWgTZlPRukzPotwtUn43SYcbiR2TXaKSgEioI,9396
90
+ a_sync/a_sync/modifiers/semaphores.py,sha256=V1_jjxwuXq55y6Lv4yP4mymVj5AOCMIZXSkaZSKwEdw,6916
91
+ a_sync/a_sync/modifiers/cache/__init__.py,sha256=SJlZ1EyyzBkYlWMU4XbiAlW9SCqCQbOAmDgVAP7CDN0,5532
92
+ a_sync/a_sync/modifiers/cache/memory.py,sha256=vON9K6K3nMkGphfUHCTrtURJUXZ3IE9B757wa-H1oFk,5335
93
+ a_sync/async_property/__init__.pxd,sha256=EGawuQLZIz7ZZLOFmaOQAFUVvabadR0aPYBW7U4TaCo,74
94
+ a_sync/async_property/__init__.py,sha256=L0JYdB7p3RLDRVNExPKl9MtcHaPLIqo5lnpGmHVUI9E,63
95
+ a_sync/async_property/cached.c,sha256=70ERIMLrNtYymVNVB_dThQUQFH7a7LwUzeDM8oE8znc,858352
96
+ a_sync/async_property/cached.cpython-38-i386-linux-gnu.so,sha256=U7r7ME6JNNLcXo8xlwntg4ggWj9WzrSFDNc7m5PGIPE,1101168
97
+ a_sync/async_property/cached.pxd,sha256=u4XHDFvvaRv7y65VyDI8gVmYzlGD-kFlN1H2lc48EqU,339
98
+ a_sync/async_property/cached.pyi,sha256=kL7Cvn7z26R7JROFDQ22GaWll-TvOL79Q-OeQ2oaqbo,1814
99
+ a_sync/async_property/cached.pyx,sha256=4UoHk6yACkpwKjD_DBHLMb2JIAAhKVmhDGU7WZYg-Cc,6314
100
+ a_sync/async_property/proxy.c,sha256=nMXGrx7jZNuTdlhfQC4DmWWTZgDe6DRlednm07ozysA,1514493
101
+ a_sync/async_property/proxy.cpython-38-i386-linux-gnu.so,sha256=75ffVRVw3w7sk6tCVYxmdFUZsRkMR5v-Vw0UEzt_IJ0,1947088
102
+ a_sync/async_property/proxy.pxd,sha256=fyc5IGOcwNzBP6XsG3vYKjbLP6dOfSVCtGb1EEWDxVU,47
103
+ a_sync/async_property/proxy.pyi,sha256=4GCwklkt5bjp2ADP6SQtVOkL6E9xiyBAf_twX5Cvatg,4218
104
+ a_sync/async_property/proxy.pyx,sha256=0_qGYnr6ZyBtQQGIRI2cMB_o0Bz7RZxJKwuVQGFTgTI,13295
105
+ a_sync/asyncio/__init__.pxd,sha256=Hsy-wTlG1iLWv4mNIRQ9g2rs_8w5ooVIgFFe6VnL7nc,336
106
+ a_sync/asyncio/__init__.py,sha256=Z-_qJgdLFqIacrKRABlk64c1aroLUmgKAqXTeE_GQfU,6333
107
+ a_sync/asyncio/as_completed.c,sha256=jbM1c_UmHWd_oXnWAYNDDNz1kKCRw0Ev8vBOzxri52A,735119
108
+ a_sync/asyncio/as_completed.cpython-38-i386-linux-gnu.so,sha256=Qt8i9cLBUtc39Or7lO8VrkvErhHrYHWQuxEVAobooYI,840860
109
+ a_sync/asyncio/as_completed.pxd,sha256=mISE2jdb2jOS0q3TKg0F_k-Zf-d3hzdBNKU1PT-Tn40,162
110
+ a_sync/asyncio/as_completed.pyi,sha256=-VdtfMlX0XdkqJbJm8C0gEAi_BfRbkz3Xkdver6vHs4,3753
111
+ a_sync/asyncio/as_completed.pyx,sha256=ar0gJ3iN6-4Jw8xy6i7KVJ54RnAGt1JWE85Wh6kPF48,9052
112
+ a_sync/asyncio/create_task.c,sha256=hx8mAgxWMzPEnVLvW8upI7afOc72rlhANXvgkjAF8Pc,603768
113
+ a_sync/asyncio/create_task.cpython-38-i386-linux-gnu.so,sha256=IYQJougjfyDl4GPGYeUzcvfBwdKsiPlMmSS6GEN4VS8,695980
114
+ a_sync/asyncio/create_task.pxd,sha256=x-sZVX-26NoqxYb5mH33uh2Mg-3AqqdYGXx4Ai7xZwU,143
115
+ a_sync/asyncio/create_task.pyi,sha256=5H2z4k_2dGG2QTGjGEgP1N6ITuClYYWzkPbzaeQwKks,1864
116
+ a_sync/asyncio/create_task.pyx,sha256=xB_f3WrTxaJ2h2zgy16VzDTMJtfc-GcTbjeGTGbz7f4,8771
117
+ a_sync/asyncio/gather.c,sha256=MLhPvLSGGCpxgMNtiA8Xcx3nniDOLzMSVYnFbSFWukE,637555
118
+ a_sync/asyncio/gather.cpython-38-i386-linux-gnu.so,sha256=x_p8qkn1jSzS7FERPvFV3lIgB7uwkYkOAmex5VGYi0U,713792
119
+ a_sync/asyncio/gather.pyi,sha256=7P_GapnZAz4z3xDZeg4wKpM1zD-6nVd15tRzG6b_jKk,4515
120
+ a_sync/asyncio/gather.pyx,sha256=4ALHvhJPQsNtw7b9dsbhwmKpXEbiRzOCjMqagi3sTXs,8566
121
+ a_sync/asyncio/igather.c,sha256=467zCelfZro_nvIgmwbYFmceE45Cibb8JvpTMsKofM8,471337
122
+ a_sync/asyncio/igather.cpython-38-i386-linux-gnu.so,sha256=PLyqeys_tE07QZgPB28t9cVQP9LdySmQXWee1RIK7bU,488472
123
+ a_sync/asyncio/igather.pxd,sha256=M9hMUtgp6118pa0ddR9daQubvnceefnbt4pbvEl0doE,71
124
+ a_sync/asyncio/igather.pyi,sha256=ms6FY78h_8D3aiuPsPo0h3AheTzLGy-73ja-s2gmW_A,201
125
+ a_sync/asyncio/igather.pyx,sha256=reJZ0Jkbx2MLu-LTrQ_hOPfhEdbFlPEQ9ro98sAcRRA,6574
126
+ a_sync/asyncio/sleep.c,sha256=vrlY1_8dMSyk1ggO6tk5Td43gujjXiJAt2FFUgMMpoU,342937
127
+ a_sync/asyncio/sleep.cpython-38-i386-linux-gnu.so,sha256=oQGymzPCP9VVu6um4bROLYksxnWIbk934u84jVZPVGo,255380
128
+ a_sync/asyncio/sleep.pyi,sha256=ab8OtiZm4Py0-sVQA2pzGVZiHUoTItkJG_Nd02xduuE,537
129
+ a_sync/asyncio/sleep.pyx,sha256=kjNeRimAfMZB6vJs7t-SbtMgnRqhybO3cZ7uijkosJs,1273
130
+ a_sync/primitives/__init__.pxd,sha256=FIO-eD4HaJ259mz3XB6HE1YF4tDej6ojrxQ_kx-tMwM,38
131
+ a_sync/primitives/__init__.py,sha256=U5r-Do_TKR1FbfLEHuckiYs87QkN4HsYNZfunRhX52c,1642
132
+ a_sync/primitives/_debug.c,sha256=i2c5IcDvCJXiiPUw7BOOrE37_0TxU7TAA4MqbGtJwEc,600616
133
+ a_sync/primitives/_debug.cpython-38-i386-linux-gnu.so,sha256=B57sKmgxgJ0IH_kPQGthiO-1IWUTarTwnS5f-x4kO2A,652040
134
+ a_sync/primitives/_debug.pxd,sha256=EaMH5xgQHs7hwnWFUocHEl9pAmUZs9J1aRVtb62zvw0,464
135
+ a_sync/primitives/_debug.pyi,sha256=mcGGn_C9ICgn2mcP-cER1ps-q1pdei-2niu-fEQnFXQ,2175
136
+ a_sync/primitives/_debug.pyx,sha256=NH2hr-yQLz1pKnmleIpIeDVTy75KSguQpUiuoza_ahc,7849
137
+ a_sync/primitives/_loggable.c,sha256=Us1P0zNcyclaIoWNOwRQp92ejJTqgX0aHyIdBBVb2DI,419940
138
+ a_sync/primitives/_loggable.cpython-38-i386-linux-gnu.so,sha256=DKdJxfGr8j_wUw8xaRHYEB5O3aoZIB5TkLY1XwkjHp0,423880
139
+ a_sync/primitives/_loggable.pxd,sha256=1YRkqc20KcPoTukbWXn7qpbZ8zA16X1h_84vadCqSPc,133
140
+ a_sync/primitives/_loggable.pyi,sha256=MxE1kINwYiXBFq6tPSWppWs4hToR-6vfBZwIhGJ11z8,1934
141
+ a_sync/primitives/_loggable.pyx,sha256=jxKSBCs4VlXuYC7LsxbUJw0FJInjBKOkEdBSoqCndxY,3003
142
+ a_sync/primitives/queue.py,sha256=k1ldYX7ni-W5vdVXRFrupyVD1JV5P6CYMqfndzPWwV8,33113
143
+ a_sync/primitives/locks/__init__.pxd,sha256=DuPhDRldnCwqBUxgo9V5K0GmA8BWLf5fC266ujDQ9pc,302
144
+ a_sync/primitives/locks/__init__.py,sha256=XPiWbxxPyaCC-NnfNm42up2qf61LdqFgzGkq082DL1Q,436
145
+ a_sync/primitives/locks/counter.c,sha256=MiG2k0PhWJHpC5NBh87GJbLBYOjOhzuf9uGXb86nPjc,713260
146
+ a_sync/primitives/locks/counter.cpython-38-i386-linux-gnu.so,sha256=kwoLGSs88t-EwVmgsGRGXW6gOKR5lwaWHkk_-BTmE3s,734172
147
+ a_sync/primitives/locks/counter.pxd,sha256=_HoPXPMTRY3Gw3GPUB2jAx7lUpjJ4QyO75YiR_BehAQ,409
148
+ a_sync/primitives/locks/counter.pyi,sha256=d83iZwFj5mK9fIohh7n1uRdRiGAnfi2FNMZSyKtli9A,5077
149
+ a_sync/primitives/locks/counter.pyx,sha256=H_3LN50-zDvBSgHoKXXOMlUKs78aZSFDhu8gQrhWV5Y,9055
150
+ a_sync/primitives/locks/event.c,sha256=1KiOCYD4Y0YwNJ42fMo0oSnpdXmpmpeqS6ckoOOcvL8,655928
151
+ a_sync/primitives/locks/event.cpython-38-i386-linux-gnu.so,sha256=MMnii0lXAbzSlT_FozCKmKiyNUN90WYNhJ4LrY3itak,731828
152
+ a_sync/primitives/locks/event.pxd,sha256=Wk1wLD8P6Nml1mzrRM6H34bD06LZWovjEYKnRhGcXE4,696
153
+ a_sync/primitives/locks/event.pyi,sha256=cWK5LPzpbERpaXjYh5LqDcDuJDIexJjhP606mYMbKBw,1456
154
+ a_sync/primitives/locks/event.pyx,sha256=PFQoQVZ9DozV2LOdKK-03fWpX_MrvBqxikKk4k3PjHs,6049
155
+ a_sync/primitives/locks/prio_semaphore.c,sha256=xzwXUNqHvWCUuORdnEuia0oRE7PIYVj2a5dn0AvwXZw,1161447
156
+ a_sync/primitives/locks/prio_semaphore.cpython-38-i386-linux-gnu.so,sha256=TkH_q37Nx0dLqoafGVLg6frglZFH6TU5QF-Gb61_BbE,1303768
157
+ a_sync/primitives/locks/prio_semaphore.pxd,sha256=SZXX1jH12m9PKH9VmrKpLdTctY0c_wYS75YGWoDdlzE,1041
158
+ a_sync/primitives/locks/prio_semaphore.pyi,sha256=w3xGj3-kdFEjw4k8vzt4TiWsG8j5KC6erXBNNrEhaL0,7644
159
+ a_sync/primitives/locks/prio_semaphore.pyx,sha256=DAgcufTedvvPBj5BfM56chjplEi0QUd1qAV49bSb-oM,22096
160
+ a_sync/primitives/locks/semaphore.c,sha256=PdVvYfEJ-gng0U32kj4yNJb_GtsTVCiGl-b5a-QhfDM,1135566
161
+ a_sync/primitives/locks/semaphore.cpython-38-i386-linux-gnu.so,sha256=iPtni3X35OqOIx9w75b_jiL0E-8avRI0A4DfwdSqKnw,1346400
162
+ a_sync/primitives/locks/semaphore.pxd,sha256=zy-PgktLUsFaXxvrSbB3m6gxisgzchCpKrcX8Zzwq_I,585
163
+ a_sync/primitives/locks/semaphore.pyi,sha256=ynHIA0k9HMzbsTfhMAwCEfpZSECVhXxhcNAwwQmsSlI,5975
164
+ a_sync/primitives/locks/semaphore.pyx,sha256=eQX6J5SdWK5qnXNPs6frO6BpQf9RuExNwZIjMlkNnHI,14965
165
+ a_sync/sphinx/__init__.py,sha256=UvdsakVmkn0Lw4vEd3jA3_Acymde95-78o87lel8ikk,49
166
+ a_sync/sphinx/ext.py,sha256=E93N5AmGcfGksN1J3oUsvewJZVZ3dNYcr0mwKJQ3ALk,8917
167
+ a_sync/utils/__init__.py,sha256=Y6R-IcD5ROzp2Zs3ZMv3bapkcfOpJHlBeD838bntd-Q,3213
168
+ a_sync/utils/iterators.py,sha256=GkT2fgMVKDorT-BKPPOPOIDj5Zt4yl-5vAmpn4H5wGA,11055
169
+ a_sync/utils/repr.c,sha256=4HDcDzNN4_R5Z_QrhMy9kxWXK7iALDKpa--_D0k6_-Y,571751
170
+ a_sync/utils/repr.cpython-38-i386-linux-gnu.so,sha256=_HBswgWTI-QoBT0z1gi9uiUftEIIUWM5fDbpG0dGErw,634132
171
+ a_sync/utils/repr.pyi,sha256=PWdsa6sF9_3nBqEgLaxtaHty7o7gwL--jPqvcelHY10,131
172
+ a_sync/utils/repr.pyx,sha256=xdsVdK75Zi5pAoh-8qRG0q7F0ySAq1zDkksZw37FoL4,2632
173
+ ez_a_sync-0.32.24.dist-info/LICENSE.txt,sha256=1on6-17OUMlja6vSPTcmlmeT_DwujCZJijYxaplBvZk,1075
174
+ ez_a_sync-0.32.24.dist-info/METADATA,sha256=m0_gRkCM9wGRcB1hYTSdfgnKxInzLg4w6lLggx4uE7o,12961
175
+ ez_a_sync-0.32.24.dist-info/WHEEL,sha256=kfjMp2B-KxR5fA-Qbjo_GuR0QZbmotDTKHOwgI3fSBI,174
176
+ ez_a_sync-0.32.24.dist-info/top_level.txt,sha256=ew2xVyFeZE_a5XMEL64h7-vJIbaBQieaFcvBAWUpU_s,7
177
+ ez_a_sync-0.32.24.dist-info/RECORD,,
@@ -0,0 +1,7 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.3.2)
3
+ Root-Is-Purelib: false
4
+ Tag: cp38-cp38-manylinux_2_5_i686
5
+ Tag: cp38-cp38-manylinux1_i686
6
+ Tag: cp38-cp38-manylinux_2_28_i686
7
+
@@ -0,0 +1 @@
1
+ a_sync