Multi-thread map
Project description
Multi thread map
Example
>>> import threadmap >>> import time >>> def testfun(a): ... print 'start', a ... time.sleep(1) ... print 'finish', a ... return a**2 ... >>> tm = threadmap.ThreadMap() >>> tm.map(testfun, range(10))
License
GNU General Public License v3 or later
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
threadmap-0.1.1.tar.gz
(1.4 kB
view details)
File details
Details for the file threadmap-0.1.1.tar.gz
.
File metadata
- Download URL: threadmap-0.1.1.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2f2176707ae9fa097146c1e56de3c130a231487c10c5f09e9ae591d64483ea48
|
|
MD5 |
c438425914a3597a54b1a33ab44beed6
|
|
BLAKE2b-256 |
7926c9fdb0e5b648c8b2284a8fd2a6e5df61111b4f98d4912036b1e8ba01384c
|