Poopy - An unusable map-reduce engine over AMQP
Install
From PYPI
Install rabitMQ
pip install poopy (please use virtualenv)
Download this file https://bitbucket.org/leliel12/poopy/raw/tip/example/iris.arff?at=default
Download this file https://bitbucket.org/leliel12/poopy/raw/tip/example/randomforest.py and put in the same directory of iris.arff
From REPO
Install rabitMQ
Clone this https://bitbucket.org/leliel12/poopy repo
pip install -e .
The archives iris.arff and randomforest.py are inside in examples/
Running
Open two consoles (consoleA, consoleB)
In consoleB run poopy deploy amqp://localhost
In consoleA execute poopy upload amqp://localhost path/to/iris.arff poopFS://iris.arff now your file are uploaded to the “distributed file sistem”
In consoleA run poopy run amqp://localhost path/to/randomforest.py Script out
Your output model are serialized in out/localtime
Reading the model
In python console
from poopy import serializers
with open("out/file") as fp:
model = serializers.load(fp)
TODO:
Implement correctly timeouts.
Implement an error exchange.
Real distributed file system.
More than one map or reduce.
More output formats than b64-pkl.
Not use the central node as main memory.
Reorder some modules into packages
Release files for poopy 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| poopy-0.2.5.tar.gz | 14.1 kB | Details |
Release files / poopy-0.2.5.tar.gz
| Download URL | poopy-0.2.5.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a72cf6b45fc756ad8c7d58ded2bc8993e8782486b9226f29f0952ef9335e6ba
|
|
BLAKE2b-256 checksum How to use checksums |
99625d82cd548149bba28c713b84e8cdce123f1caef5d80600f21433b2373eb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |