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.9.tar.gz
(4.5 kB
view details)
File details
Details for the file zeus_utility-0.0.9.tar.gz.
File metadata
- Download URL: zeus_utility-0.0.9.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 |
7eb754ba7cc1ebeb38caa73d010ccde768f840c309114994e82b929876bf16c2
|
|
| MD5 |
476bd8ae315233d3b26e1762ee2d8fdb
|
|
| BLAKE2b-256 |
fc75ed283ce0be5bb9c6b19572eab325210e6d548988eca2fe9c7082d1627292
|