Skip to main content

Pure Python implementation of Map-Reduce over AMQP

Project description

Poopy - An unusable map-reduce engine over AMQP

Install

From PYPI

  1. Install rabitMQ

  2. pip install poopy (please use virtualenv)

  3. Download this file https://bitbucket.org/leliel12/poopy/raw/tip/example/iris.arff?at=default

  4. Download this file https://bitbucket.org/leliel12/poopy/raw/tip/example/randomforest.py and put in the same directory of iris.arff

From REPO

  1. Install rabitMQ

  2. Clone this https://bitbucket.org/leliel12/poopy repo

  3. pip install -e .

  4. The archives iris.arff and randomforest.py are inside in examples/

Running

  1. Open two consoles (consoleA, consoleB)

  2. In consoleB run poopy deploy amqp://localhost

  3. In consoleA execute poopy upload amqp://localhost path/to/iris.arff poopFS://iris.arff now your file are uploaded to the “distributed file sistem”

  4. In consoleA run poopy run amqp://localhost path/to/randomforest.py Script out

  5. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poopy-0.2.5.tar.gz (14.1 kB view details)

Uploaded Source

File details

Details for the file poopy-0.2.5.tar.gz.

File metadata

  • Download URL: poopy-0.2.5.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for poopy-0.2.5.tar.gz
Algorithm Hash digest
SHA256 2a72cf6b45fc756ad8c7d58ded2bc8993e8782486b9226f29f0952ef9335e6ba
MD5 96c321f88212130e36b088c735917a02
BLAKE2b-256 99625d82cd548149bba28c713b84e8cdce123f1caef5d80600f21433b2373eb9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page