ez-a-sync 0.32.24__cp312-cp312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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-312-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/METADATA +367 -0
  174. ez_a_sync-0.32.24.dist-info/RECORD +177 -0
  175. ez_a_sync-0.32.24.dist-info/WHEEL +7 -0
  176. ez_a_sync-0.32.24.dist-info/licenses/LICENSE.txt +17 -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,367 @@
1
+ Metadata-Version: 2.4
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
+ Dynamic: author
28
+ Dynamic: author-email
29
+ Dynamic: classifier
30
+ Dynamic: description
31
+ Dynamic: description-content-type
32
+ Dynamic: home-page
33
+ Dynamic: license
34
+ Dynamic: license-file
35
+ Dynamic: requires-dist
36
+ Dynamic: requires-python
37
+ Dynamic: summary
38
+
39
+ ## Table of Contents
40
+ <!-- TOC -->
41
+
42
+ - [Table of Contents](#table-of-contents)
43
+ - [Introduction](#introduction)
44
+ - [Installation](#installation)
45
+ - [Usage](#usage)
46
+ - [Decorators](#decorators)
47
+ - [@a_sync'async'](#a_syncasync)
48
+ - [@a_sync'sync'](#a_syncsync)
49
+ - [Classes](#classes)
50
+ - [Modifiers](#modifiers)
51
+ - [async modifiers](#async-modifiers)
52
+ - [sync modifiers](#sync-modifiers)
53
+ - [Default Modifiers](#default-modifiers)
54
+ - [Other Helpful Classes](#other-helpful-modules)
55
+ - [ASyncIterable](#asynciterable)
56
+ - [ASyncIterator](#asynciterator)
57
+ - [ASyncFilter](#asyncfilter)
58
+ - [ASyncSorter](#asyncsorter)
59
+ - [Other Helpful Modules](#other-helpful-modules)
60
+ - [future](#future)
61
+ - [ASyncFuture](#asyncfuture)
62
+ - [future decorator](#future-decorator)
63
+ - [asyncio](#asyncio)
64
+
65
+ <!-- /TOC -->
66
+ ## Introduction
67
+
68
+ `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.
69
+
70
+ It also contains implementations of various asyncio primitives with extra functionality, including queues and various types of locks.
71
+ \# TODO add links to various objects' docs
72
+
73
+ ## Installation
74
+
75
+ `ez-a-sync` can be installed via pip:
76
+
77
+ ```
78
+ pip install ez-a-sync
79
+ ```
80
+
81
+ ## Usage
82
+
83
+ ### Decorators
84
+
85
+ `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')`
86
+
87
+ #### `@a_sync('async')`
88
+
89
+ The `@a_sync('async')` decorator can be used to define an asynchronous function that can also be executed synchronously.
90
+
91
+ ```python
92
+ @a_sync('async')
93
+ def some_function():
94
+ ...
95
+ ```
96
+
97
+ This function can then be executed asynchronously using `await`:
98
+
99
+ ```python
100
+ aaa = await some_function()
101
+ ```
102
+
103
+ It can also be executed synchronously by passing `sync=True` or `asynchronous=False`:
104
+
105
+ ```python
106
+ aaa = some_function(sync=True)
107
+ ```
108
+
109
+ #### `@a_sync('sync')`
110
+
111
+ The `@a_sync('sync')` decorator can be used to define a synchronous function that can also be executed asynchronously.
112
+
113
+ ```python
114
+ @a_sync('sync')
115
+ async def some_function():
116
+ ...
117
+ ```
118
+
119
+ This function can then be executed synchronously:
120
+
121
+ ```python
122
+ aaa = some_function()
123
+ ```
124
+
125
+ It can also be overridden asynchronously by passing `sync=False` or `asynchronous=True` and using `await`:
126
+
127
+ ```python
128
+ aaa = await some_function(sync=False)
129
+ ```
130
+
131
+ ### Classes
132
+
133
+ `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`:
134
+
135
+ ```python
136
+ class CoolAsyncClass(ASyncGenericBase):
137
+ asynchronous=True
138
+
139
+ def some_sync_fn():
140
+ ...
141
+ ```
142
+
143
+ In this example, `CoolAsyncClass` has `asynchronous=True`, which means it is an asynchronous class. You can call `some_sync_fn` asynchronously using `await`:
144
+
145
+ ```python
146
+ aaa = await CoolAsyncClass().some_sync_fn()
147
+ ```
148
+
149
+ `CoolAsyncClass` functions can also be called synchronously by passing `sync=True`:
150
+
151
+ ```python
152
+ aaa = CoolAsyncClass().some_sync_fn(sync=True)
153
+ ```
154
+
155
+ Similarly, you can create a synchronous class by setting `sync=True` or `asynchronous=False`:
156
+
157
+ ```python
158
+ class CoolSyncClass(ASyncGenericBase):
159
+ asynchronous=False
160
+
161
+ async def some_async_fn():
162
+ ...
163
+ ```
164
+
165
+ `CoolSyncClass` functions can be called synchronously:
166
+
167
+ ```python
168
+ aaa = CoolSyncClass().some_async_fn()
169
+ ```
170
+
171
+ It can also be called asynchronously by passing `sync=False` or `asynchronous=True` and using `await`:
172
+
173
+ ```python
174
+ aaa = await CoolSyncClass().some_async_fn(sync=False)
175
+ ```
176
+
177
+ 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:
178
+
179
+ ```python
180
+ class CoolDualClass(ASyncGenericBase):
181
+ def __init__(self, asynchronous):
182
+ self.asynchronous=asynchronous
183
+
184
+ async def some_async_fn():
185
+ ...
186
+ ```
187
+
188
+ You can create an instance of `CoolDualClass` with `sync=False` or `asynchronous=True` to call it asynchronously:
189
+
190
+ ```python
191
+ async_instance = CoolDualClass(asynchronous=True)
192
+ aaa = await async_instance.some_async_fn()
193
+ aaa = async_instance.some_async_fn(sync=True)
194
+ ```
195
+
196
+ You can also create an instance with `sync=True` or `asynchronous=False` to call it synchronously:
197
+
198
+ ```python
199
+ sync_instance = CoolDualClass(asynchronous=False)
200
+ aaa = sync_instance.some_async_fn()
201
+ aaa = sync_instance.some_async_fn(sync=False)
202
+ ```
203
+
204
+ ### Modifiers
205
+
206
+ The `ez-a-sync` library provides several settings that can be used to customize the behavior of the decorators and classes.
207
+
208
+ To apply settings to the decorators or base classes, simply pass them as keyword arguments when calling the decorator or creating an instance.
209
+
210
+ For example, to apply `cache_type='memory'` to a function decorated with `@a_sync('async')`, you would do the following:
211
+
212
+ ```python
213
+ @a_sync('async', cache_type='memory')
214
+ def some_function():
215
+ ...
216
+ ```
217
+
218
+ #### async modifiers
219
+
220
+ The `@a_sync('async')` decorator has the following settings:
221
+
222
+ - `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.
223
+ - `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.
224
+ - `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.
225
+ - `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.
226
+ - `runs_per_minute`: Setting this value enables a rate limiter for the decorated function.
227
+ - `semaphore`: Drop in a Semaphore for your async defined functions.
228
+
229
+ #### sync modifiers
230
+
231
+ The `@a_sync('sync')` decorator has the following setting:
232
+
233
+ - `executor`: The executor for the synchronous function. Set to the library's default of `config.default_sync_executor`.
234
+
235
+ #### Default Modifiers
236
+
237
+ Instead of setting modifiers one by one in functions, you can set a default value for modifiers using ENV variables:
238
+
239
+ - `DEFAULT_MODE`
240
+ - `CACHE_TYPE`
241
+ - `CACHE_TYPED`
242
+ - `RAM_CACHE_MAXSIZE`
243
+ - `RAM_CACHE_TTL`
244
+ - `RUNS_PER_MINUTE`
245
+ - `SEMAPHORE`
246
+
247
+ ### Other Helpful Classes
248
+ #### ASyncIterable
249
+ 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.
250
+
251
+ ```python
252
+ from a_sync import ASyncIterable
253
+
254
+ async_iterable = ASyncIterable(some_async_iterable)
255
+
256
+ # Asynchronous iteration
257
+ async for item in async_iterable:
258
+ ...
259
+
260
+ # Synchronous iteration
261
+ for item in async_iterable:
262
+ ...
263
+ ```
264
+
265
+ See the [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncIterable) for more information.
266
+
267
+ #### ASyncIterator
268
+
269
+ 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.
270
+
271
+ ```python
272
+ from a_sync import ASyncIterator
273
+
274
+ async_iterator = ASyncIterator(some_async_iterator)
275
+
276
+ # Asynchronous iteration
277
+ async for item in async_iterator:
278
+ ...
279
+
280
+ # Synchronous iteration
281
+ for item in async_iterator:
282
+ ...
283
+ ```
284
+
285
+ See the [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncIterator) for more information.
286
+
287
+ #### ASyncFilter
288
+
289
+ 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.
290
+
291
+ ```python
292
+ from a_sync import ASyncFilter
293
+
294
+ async def is_even(x):
295
+ return x % 2 == 0
296
+
297
+ filtered_iterable = ASyncFilter(is_even, some_async_iterable)
298
+
299
+ # or use the alias
300
+ import a_sync
301
+
302
+ filtered_iterable = a_sync.filter(is_even, some_async_iterable)
303
+
304
+ # Asynchronous iteration
305
+ async for item in filtered_iterable:
306
+ ...
307
+
308
+ # Synchronous iteration
309
+ for item in filtered_iterable:
310
+ ...
311
+ ```
312
+
313
+ See the [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncFilter) for more information.
314
+
315
+ #### ASyncSorter
316
+
317
+ 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.
318
+
319
+ ```python
320
+ from a_sync import ASyncSorter
321
+
322
+ sorted_iterable = ASyncSorter(some_async_iterable, key=lambda x: x.value)
323
+
324
+ # or use the alias
325
+ import a_sync
326
+
327
+ sorted_iterable = a_sync.sort(some_async_iterable, key=lambda x: x.value)
328
+
329
+ # Asynchronous iteration
330
+ async for item in sorted_iterable:
331
+ ...
332
+
333
+ # Synchronous iteration
334
+ for item in sorted_iterable:
335
+ ...
336
+ ```
337
+
338
+ See the [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.ASyncSorter) for more information.
339
+
340
+ ## Other Helpful Modules
341
+ The stuff here is unrelated to the main purpose of ez-a-sync, but cool and useful nonetheless
342
+
343
+ ### asyncio
344
+
345
+ The `ez-a-sync` library extends the functionality of Python's `asyncio` module with additional utilities to simplify asynchronous programming.
346
+
347
+ - **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).
348
+
349
+ - **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).
350
+
351
+ - **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).
352
+
353
+ - **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).
354
+
355
+ 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)
356
+
357
+ ### future
358
+ The future module is something totally different.
359
+ TODO: short explainer of module value prop and use case
360
+
361
+ #### ASyncFuture
362
+ [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.future.ASyncFuture)
363
+ TODO: short explainers on ASyncFuture class
364
+
365
+ #### future decorator
366
+ [documentation](#https://bobthebuidler.github.io/ez-a-sync/source/a_sync.html#a_sync.future.future)
367
+ 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-312-i386-linux-gnu.so,sha256=qROF0QNNz2p5yGCt5wPNkZOQd1aWLdycLjDKGb3kOxE,1162872
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-312-i386-linux-gnu.so,sha256=nqTVtOa83IB8-fPCm2GejKv0P3-6GdWtjqFK0e9K99A,750576
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-312-i386-linux-gnu.so,sha256=z7KmECXjgc9VJX2PgcPn7nJWqgH9A8utCnrNGfLCQto,886984
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-312-i386-linux-gnu.so,sha256=POPEOOit-vBbFXj5daCxIpzAKB5TwxWgNa6i5yipE28,582272
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-312-i386-linux-gnu.so,sha256=YS-832bFImwp0BblhNsb8tFyJ_Sdv1t5O5yBfZEpeRw,2346468
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-312-i386-linux-gnu.so,sha256=dSxnLV1_Vy8pb1kGKzr1QH3jSG5u6B4cT45jhJ8fJkU,1147956
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-312-i386-linux-gnu.so,sha256=Mp4jPcphKA_pbIAp5KSqQV4OgEZ5nXkarIFAGA5kxo4,173628
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-312-i386-linux-gnu.so,sha256=Qg3R5lXiXU55Vm8T-zlS7HW06Ba-2I6r-QoB02fjlpM,730852
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-312-i386-linux-gnu.so,sha256=KpImvNcWFj--qruwv_Y0FzyH1ufuyUKcyrOgFwYrP5A,389476
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-312-i386-linux-gnu.so,sha256=yOxbORwJPP6ALUUrNb3wB8C2afaFrVgXCCDBLLCAePo,590452
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-312-i386-linux-gnu.so,sha256=SGH3OxJv_ysLszhBDt2CdS7p54DLv4MtL-M9Vw0d9pQ,779352
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-312-i386-linux-gnu.so,sha256=ka2SbAKB9e2u8pjeZWifYQ3W8qdkkk4BRuD446Lixg4,71688
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-312-i386-linux-gnu.so,sha256=1D8-wwRANobyLMv6UOxSP6vA0CgZxsFGFry4bxgRjzY,2410648
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-312-i386-linux-gnu.so,sha256=BYgLxi5wxo7AglgbKvr0luKRbznBP8xfdEQ7mqbgNSI,2081196
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-312-i386-linux-gnu.so,sha256=1R3i9zhJ-Zba5xPQsGA40oEjoQgfThL4bDdOvV8StHI,1876284
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-312-i386-linux-gnu.so,sha256=QFVhq3WiOPizS9mrBQ44PEUKJYoAyWZiTkaanCKR3YU,707956
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-312-i386-linux-gnu.so,sha256=Pr90qoRsnDUiD0AGjlXDj4ViGWD2EKU9hHmVZCLXLww,1160312
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-312-i386-linux-gnu.so,sha256=z4X_e6xdrGDK5FthtQKYhBWhrJrQGrU9k7JX42NrlOM,2084260
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-312-i386-linux-gnu.so,sha256=oVdJG1D7PGrPvnLqE1NaYZyXG2MOZRzCMr5mUqVMs0U,907428
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-312-i386-linux-gnu.so,sha256=nZYLGhDsJ5SfEhklQ7WnBJfQOWzfIEJ6bmre45Fzk50,767920
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-312-i386-linux-gnu.so,sha256=Ex4hLRKnemYxKI3QloUyJXnmPMmfjWU_M2xvEO7-w5M,784404
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-312-i386-linux-gnu.so,sha256=8_uqL0Jpr1APOnoTSbarQHabBWL-CNV7xO4Aks005-Y,675440
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-312-i386-linux-gnu.so,sha256=OKF2ThMFhrb2ysLhV7sAHkpFS8Kys3XR88_cVD2fm1E,279308
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-312-i386-linux-gnu.so,sha256=NY04L2c7fD1zfo4uiWoBEHeUW-lV1FeOdExhgUI7Yc4,758876
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-312-i386-linux-gnu.so,sha256=2z03ykGHYNTbR-OLR-DyCl7ic_8Wkl15reF_bbaDuSg,480896
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-312-i386-linux-gnu.so,sha256=HZOr4C-UimpaBjPWUMa4dQmdhlBLm9_KEOtulg8IbLY,795492
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-312-i386-linux-gnu.so,sha256=FgehB-zfvvxs3omwlD-CRKE5r_HWySoNdBj1MnJ3KYI,771492
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-312-i386-linux-gnu.so,sha256=9NcntSbuzh2GXYW-YshRc0brmbSTsJ_3wIJ19Rd-qro,1406192
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-312-i386-linux-gnu.so,sha256=TmCOhLOxk5o31-bBdxvix7jwn3zA6nChmXxkjAohUsI,1386632
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-312-i386-linux-gnu.so,sha256=naCPxR96a23kxiLPIPBnKUr6y8Csux47G6U1t1gYwmM,715404
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/METADATA,sha256=HDfCcqu6yoxjyqflOAUdTu0XKA2CniBAma39SZoKCrk,13197
174
+ ez_a_sync-0.32.24.dist-info/WHEEL,sha256=DPeIgeHMjLq-U13051wtkSCVz8aJ1BEEPPv1I-p47B8,180
175
+ ez_a_sync-0.32.24.dist-info/top_level.txt,sha256=ew2xVyFeZE_a5XMEL64h7-vJIbaBQieaFcvBAWUpU_s,7
176
+ ez_a_sync-0.32.24.dist-info/RECORD,,
177
+ ez_a_sync-0.32.24.dist-info/licenses/LICENSE.txt,sha256=1on6-17OUMlja6vSPTcmlmeT_DwujCZJijYxaplBvZk,1075
@@ -0,0 +1,7 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp312-cp312-manylinux_2_5_i686
5
+ Tag: cp312-cp312-manylinux1_i686
6
+ Tag: cp312-cp312-manylinux_2_28_i686
7
+
@@ -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 @@
1
+ a_sync