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.5.tar.gz
(4.1 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.5.tar.gz.
File metadata
- Download URL: zeus_utility-0.0.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1fb5e946e2a96ece03e7dbd61b68054216fd6f13b21d7c637d5ba498ad43595
|
|
| MD5 |
a781cbda7190a7812f4bb8b182fea620
|
|
| BLAKE2b-256 |
0e017bd15e2f2bd42da8d460d91e14dd450b3b3c4edd0cd552dc7c98d8967f5c
|
File details
Details for the file zeus_utility-0.0.5-py2.py3-none-any.whl.
File metadata
- Download URL: zeus_utility-0.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4feedc17cc5bb370bba6545e17dc95cf4fbe323bb3b4730e86e1975b138b99c4
|
|
| MD5 |
c42fa9d743e324d35a4e8377a0e37a3b
|
|
| BLAKE2b-256 |
dae3daec51a747eb467ef5ef4fbe0a75ec2fe4153b04db32c6a4e4eb52d2f01f
|