Skip to main content

Python Thread For Human

Project description

Eleves -- Python Threading For Human

Installation:

pip install elves

easy_install elves

Usage:

import elves
threads_num = 10
def do_something(msg):
#do something
print msg

#elves.Watcher()
#this will run threads_num threads
elves.run(threads_num)

for i in range(100):
elves.put(i)
elves.join()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for elves, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size elves-0.0.3.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page