Skip to main content

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


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.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeus_utility-0.1.0-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file zeus_utility-0.1.0.tar.gz.

File metadata

  • Download URL: zeus_utility-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for zeus_utility-0.1.0.tar.gz
Algorithm Hash digest
SHA256 45910437498883606a4e6374dfbb2a8c1824bc8e28b0a1f2c34df0051ab43d67
MD5 888cbc210ac7d68865c19c35937956c9
BLAKE2b-256 237c194e4132814af11889b85a795ef9e83b27aca6aa8d7b3845a631024123e6

See more details on using hashes here.

File details

Details for the file zeus_utility-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: zeus_utility-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for zeus_utility-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 30cf9c98f0ba51c93614aa5b1de2ebab9443fb25b61517738772023c198ae42f
MD5 5204a91d7f01bca8919250143b44048e
BLAKE2b-256 0b1282e1f9b98279ecd0b3fd8d9db67d64b7b9870ab159a3136c957e9890ba86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page