Zeus's Utility
Features
- Parallel Execute
Quick Usage:
Install:
pip install zeus-utility
# or
pip install git+https://github.com/zeuscsc/zeus_utility.git
Usage
from zeus_utility.parallel_executor import QueueExecutor
def print_a_plus_b(a,b):
print(a+b)
executor=QueueExecutor(threads_count=5)
for i in range(10):
executor.add_task(print_a_plus_b,a=i,b=i)
executor.execute()
Release files for zeus-utility 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zeus_utility-0.1.0.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zeus_utility-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / zeus_utility-0.1.0.tar.gz
| Download URL | zeus_utility-0.1.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45910437498883606a4e6374dfbb2a8c1824bc8e28b0a1f2c34df0051ab43d67
|
|
BLAKE2b-256 checksum How to use checksums |
237c194e4132814af11889b85a795ef9e83b27aca6aa8d7b3845a631024123e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / zeus_utility-0.1.0-py2.py3-none-any.whl
| Download URL | zeus_utility-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
30cf9c98f0ba51c93614aa5b1de2ebab9443fb25b61517738772023c198ae42f
|
|
BLAKE2b-256 checksum How to use checksums |
0b1282e1f9b98279ecd0b3fd8d9db67d64b7b9870ab159a3136c957e9890ba86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|