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.6.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.6.tar.gz.
File metadata
- Download URL: zeus_utility-0.0.6.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 |
c2323b5fd5b2081bc568f204d423a8f36e5940932771f6f6179b51b3020befed
|
|
| MD5 |
41ea8a0644211cc1c28e3ecb6e67225c
|
|
| BLAKE2b-256 |
4d3a93e2a97a71c42e194a8c8507bb064d2251a892dc606d6a32a399bfda961f
|
File details
Details for the file zeus_utility-0.0.6-py2.py3-none-any.whl.
File metadata
- Download URL: zeus_utility-0.0.6-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 |
8e72e327968680f35344db5c05c182ac38e9098b52ce45916e7bfdfad74a67fb
|
|
| MD5 |
4460f4df5e1c05ebbfe61085dd958cf4
|
|
| BLAKE2b-256 |
6b30a6cbb63a12306f89a31f3459e86c99ff3c9e0b4aa5f65a8fa91ae29e3b21
|