Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

poopy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poopy

Pure Python implementation of Map-Reduce over AMQP

  • 0.2.5
  • PyPI
  • Socket score

Maintainers
1

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

.. code-block:: python

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc