Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install emit

How to install emit

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install emit
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.4.0 Available View build log
0.4.0 Available View build log
Lastest release
version 0.4.0 on Sep 20th, 2013

Emit is a Python library for realtime data processing. It can distribute work with Celery or RQ, coordinate execution in other languages, and let you swing from the trees of your graph with Tarzan-like precision.

A taste:

System Message: ERROR/3 (<string>, line 14)

Unknown directive type "code".

.. code:: python

    from emit import router

    router = Router()

    @router.node(['word'], entry_point=True)
    def parse_document(msg):
        for word in msg.document.strip().split(' '):
            yield word

    @router.node(['word', 'count'], 'parse_document')
    def count_word(msg):
        return msg.word, redis.zincrby('word_counts', msg.word, 1)

    import random
    document = 'the words in this document will be counted and emitted by count_word'.split(' ')
    router(document=' '.join(random.choice(document) for i in range(20)))

So how do you get it? On PyPI!

pip install emit

Some Links:

Supported Pythons:

  • CPython 2.6
  • CPython 2.7
  • CPython 3.2
  • CPython 3.3 (except for Celery, currently)
  • PyPy 1.9

Installing from source/development branch:

Emit's releases are fairly frequent, so you should be good to use a released version. However, if you need something currently not in a version, try the develop branch:

pip install git+git://github.com/BrianHicks/emit.git@develop

Just do be warned that things will break. And be sure to check Travis to see if the platform you want is currently passing. It should be, but maybe not.

Subscribe to package updates

Last updated Sep 20th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.