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.

Source Distribution

elves-0.0.3.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

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