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.4.tar.gz
(4.0 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.4.tar.gz.
File metadata
- Download URL: zeus_utility-0.0.4.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee777feb7abe69cda3c4b447df2ef371a1cea364c3dca2f7fa3115541c7b8e69
|
|
| MD5 |
04f5288e657bc937f7520a3b98d825b6
|
|
| BLAKE2b-256 |
ff2808d7c8e8c2910e68aecd88bb50a1792e38d52ea9c2f8f86a673df334abab
|
File details
Details for the file zeus_utility-0.0.4-py2.py3-none-any.whl.
File metadata
- Download URL: zeus_utility-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 3.5 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 |
408aa41e62381617adbfd855ae4b037df1423bdb5d314d8ecf6b3bfe7df08b08
|
|
| MD5 |
121cf8741c4fdd27d2fd07b54e991bb5
|
|
| BLAKE2b-256 |
e80b456c3cbf68d6f42a2a79985e11a98f09f9b789e0258920ec0bf44024aac3
|