Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmcclintock/flock
Python library for Duck-like multiprocessing
https://github.com/tmcclintock/flock
Last synced: 14 days ago
JSON representation
Python library for Duck-like multiprocessing
- Host: GitHub
- URL: https://github.com/tmcclintock/flock
- Owner: tmcclintock
- License: other
- Created: 2017-12-01T05:25:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-01T05:34:19.000Z (about 7 years ago)
- Last Synced: 2024-12-14T17:09:22.447Z (about 1 month ago)
- Language: Python
- Homepage: http://flock.readthedocs.io
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Flock Multiprocessing
[![buddy pipeline](https://104.154.213.146:17003/captalys/flock/pipelines/pipeline/1/badge.svg?token=66ad3d889d3b182491f0ca4715770f5e870e7e2f590d98ee60bcac0da9d9d623 "buddy pipeline")](https://104.154.213.146:17003/captalys/flock/pipelines/pipeline/1)
Python library for Duck-like multiprocessing
Flock is intended to help you to easily apply multiprocessing in your development code without thinking too much.
The system is capable of easily setup a multiprocessing environment to handle instance methods, class methods, lambdas and regular functions to be applied to any iterable. See the documentation [Getting Started!](http://flock.readthedocs.io/en/master/starting.html)
When the function to be multiprocessed makes any interaction with **databases** we run into trouble because connections are not allowed to be passed through processes inside messages. In order to handle this situation, we developed the **DatabaseAsync** class, [check it out](http://flock.readthedocs.io/en/master/starting.html#database-dependent-functions)
# Installation
Already available as in pypi
``` python
pip install flockmp
```# Contributing
Please, fork the repository and make sure to run all tests before submitting any contribution.
In order to execute all tests for this project, run the command below:
``` python
python -m unittest discover test
```