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()
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
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
elves-0.0.3.tar.gz
(1.9 kB
view details)
File details
Details for the file elves-0.0.3.tar.gz
.
File metadata
- Download URL: elves-0.0.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
eec9df6a3e5a2b85fea21a4bfd4be03fc16151dee68d91d72723a084847c98aa
|
|
MD5 |
f63a1839513e4998ebd3c8dcaf8f5f73
|
|
BLAKE2b-256 |
163b53e8a41994da11bc67c9f4d1aa6ea85d2802b56fb48a5d86e513ea77de48
|