xloft 0.1.24__py3-none-any.whl → 0.1.25__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.
Potentially problematic release.
This version of xloft might be problematic. Click here for more details.
xloft/quantum.py
CHANGED
|
@@ -56,11 +56,11 @@ class QuantumLoop:
|
|
|
56
56
|
mode: The operating mode for a quantum loop: LoopMode.PROCESS_POOL | LoopMode.THREAD_POOL.
|
|
57
57
|
|
|
58
58
|
Examples:
|
|
59
|
-
>>> from xloft.quantum import
|
|
59
|
+
>>> from xloft.quantum import QuantumLoop
|
|
60
60
|
>>> def quantum(item):
|
|
61
61
|
... return item * item
|
|
62
62
|
>>> data = range(10)
|
|
63
|
-
>>> qloop = QuantumLoop(quantum, data
|
|
63
|
+
>>> qloop = QuantumLoop(quantum, data)
|
|
64
64
|
>>> qloop.run()
|
|
65
65
|
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
|
|
66
66
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xloft
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.25
|
|
4
4
|
Summary: (XLOFT) X-Library of tools
|
|
5
5
|
Project-URL: Homepage, https://github.com/kebasyaty/xloft
|
|
6
6
|
Project-URL: Repository, https://github.com/kebasyaty/xloft
|
|
@@ -183,7 +183,7 @@ def quantum(item):
|
|
|
183
183
|
|
|
184
184
|
data = range(10)
|
|
185
185
|
|
|
186
|
-
qloop = QuantumLoop(quantum, data
|
|
186
|
+
qloop = QuantumLoop(quantum, data)
|
|
187
187
|
results = qloop.run()
|
|
188
188
|
print(results) # => [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
|
|
189
189
|
```
|
|
@@ -3,8 +3,8 @@ xloft/errors.py,sha256=GYXvi2l01VUDQSs6skiOfQsKLF6tFuUhJMqNkL7BJNI,857
|
|
|
3
3
|
xloft/humanism.py,sha256=I6q56MhviapBSWF4B_1xd77TDwQMM1jrkbl1N-fOURc,1068
|
|
4
4
|
xloft/namedtuple.py,sha256=OkAHqMaV4hN6Qj_oaOYQ9-y9x4Muv4mNrBn48T6RpiI,6818
|
|
5
5
|
xloft/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
xloft/quantum.py,sha256=
|
|
7
|
-
xloft-0.1.
|
|
8
|
-
xloft-0.1.
|
|
9
|
-
xloft-0.1.
|
|
10
|
-
xloft-0.1.
|
|
6
|
+
xloft/quantum.py,sha256=0c6-vz6SilbKxtz6vJvL-9MpsByGVb4mWZvo67fwFBU,4159
|
|
7
|
+
xloft-0.1.25.dist-info/METADATA,sha256=nP-9CLu5N_XLg1p8mQYxxmZC0Va7II49LgP2gOieVYE,7088
|
|
8
|
+
xloft-0.1.25.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
9
|
+
xloft-0.1.25.dist-info/licenses/LICENSE,sha256=2zZINd6m_jNYlowdQImlEizyhSui5cBAJZRhWQURcEc,1095
|
|
10
|
+
xloft-0.1.25.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|