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.7.tar.gz
(4.4 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.7.tar.gz.
File metadata
- Download URL: zeus_utility-0.0.7.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c40eaeee07daf7d19bbdb57a94f1a8a50703d55a113608a9609e4344d432d268
|
|
| MD5 |
8848255d7ff2435d63cc734b3d2fd7c9
|
|
| BLAKE2b-256 |
58dd03f1cbbe8dd0487ea91b24240e436eb56a320cf8a3c02939722c74d75d0c
|
File details
Details for the file zeus_utility-0.0.7-py2.py3-none-any.whl.
File metadata
- Download URL: zeus_utility-0.0.7-py2.py3-none-any.whl
- Upload date:
- Size: 4.0 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 |
0633769b8f3f7d4bcecc9b68e0998164447ca7e8a0a88381f7b46af8648ba2f5
|
|
| MD5 |
8a546fd4e7c7dad9ecc101e5c0bd4c6d
|
|
| BLAKE2b-256 |
706c1ed4b0e4a3c2448deb3d44b943669b60705bfea0d6be3ad904bbae483ff5
|