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.8.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.8.tar.gz.
File metadata
- Download URL: zeus_utility-0.0.8.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 |
22a35e8477d71773e8a7f28ef82858f4fb52737ea8986ab7dccff3b5ce1183f2
|
|
| MD5 |
ea71717f1ddf1a019480fed51afe7cb7
|
|
| BLAKE2b-256 |
f70aaddf80239b42b302b25e99c51eef7f1bc6bcf2dd0f89a0892ee1ec940106
|
File details
Details for the file zeus_utility-0.0.8-py2.py3-none-any.whl.
File metadata
- Download URL: zeus_utility-0.0.8-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 |
47e7b8be297e8ec2bf2c92012e35a45674dacfe1fe61cc25601a69f7fc3495bd
|
|
| MD5 |
d92f203e67766ea27d8d10c2f362ca71
|
|
| BLAKE2b-256 |
d47f143c9c6da4032661200892b0662bddc76f96479ad4401f8be0bd8b9caaa0
|