Just some useful utilities Zeus will use in almost every projects.
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zeus_utility-0.0.10.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zeus_utility-0.0.10.tar.gz.
File metadata
- Download URL: zeus_utility-0.0.10.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
334b012dff7ff27431ae9a80454e1517aa944c75a54c7f2e3939da883144af58
|
|
| MD5 |
5a1640e85582e751911734ab6d1189ec
|
|
| BLAKE2b-256 |
c86b7b442696bdc300e15c9cea47442b50930f024f4c95228189d157df77dc51
|
File details
Details for the file zeus_utility-0.0.10-py2.py3-none-any.whl.
File metadata
- Download URL: zeus_utility-0.0.10-py2.py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
103ffdf49d42f51b266ee5cf8eae3fee063fc4da3f4ff01df908a9e95e364e5c
|
|
| MD5 |
c6e412ee13d280ef70e3569b2528410a
|
|
| BLAKE2b-256 |
e576a2ff86e2644cb98bc3d8d63bac7e326969b7684d340589e70344a931ca98
|