https://github.com/probcomp/parallel_map
Simple parallel mapping utility for Python 3.
https://github.com/probcomp/parallel_map
Last synced: 11 months ago
JSON representation
Simple parallel mapping utility for Python 3.
- Host: GitHub
- URL: https://github.com/probcomp/parallel_map
- Owner: probcomp
- License: apache-2.0
- Created: 2019-04-30T18:48:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-07T23:31:31.000Z (over 6 years ago)
- Last Synced: 2025-05-08T22:57:21.840Z (11 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 2
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# A simple parallel map utility
## Installing
First find a Python 3 executable.
### From PyPI
```
$ pip install parallel_map
```
### Manual Install
The following step creates build a `build/` directory, which can be added
to your `PYTHONPATH`.
```
$ python setup.py build
```
To build the software into the global installation of your environment (ideally,
but not necessarily, a virtual environment), use:
```
$ pip install .
```
## Example
```python
from parallel_map import parallel_map
parallel_map(lambda x: x**2, range(10))
```
## License
Apache License 2.0, see LICENSE.txt.
This repository contains a stand-alone module of a useful parallel mapping
feature, originally written by Taylor R. Campbell as part of the Venture
project.