{ "info": { "author": "UNKNOWN", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Topic :: Software Development :: Libraries" ], "description": "Flower\n======\n\n.. image:: https://secure.travis-ci.org/benoitc/flower.png?branch=master\n :target: http://travis-ci.org/benoitc/flower\n\ncollection of modules to build distributed and reliable concurrent\nsystems in Python.\n\nRequirements\n------------\n\n- Python from 2.6 to 3.x\n- A platform supported by `libuv `\n\nSimple example\n--------------\n\nA simple example showing how to create a consumer and use other actor\nfunction to feed it.\n\n.. code-block:: python\n\n import flower\n\n messages = []\n sources = []\n def consumer():\n # wait for coming message in the current actor\n while True:\n source, msg = flower.receive()\n if not msg:\n break\n print(\"got message from %s: %s\" % (source.ref, msg))\n\n def publisher1(ref):\n # an actor sending messages to the consumer\n msg = ['hello', 'world']\n for s in msg:\n flower.send(ref, s)\n\n def publisher2(ref):\n msg = ['brave', 'new', 'world', '']\n for s in msg:\n flower.send(ref, s)\n\n ref_consumer = flower.spawn(consumer)\n flower.spawn(publisher1, ref_consumer)\n flower.spawn(publisher2, ref_consumer)\n\n flower.run()\n\n\nshould return::\n\n $ python examples/actor_example.py\n got message from 1: hello\n got message from 2: brave\n got message from 1: world\n got message from 2: new\n got message from 2: world\n\n\nInstallation\n------------\n\nFlower requires Python superior to 2.6 (yes Python 3 is supported)\n\nTo install flower using pip you must make sure you have a\nrecent version of distribute installed::\n\n $ curl -O http://python-distribute.org/distribute_setup.py\n $ sudo python distribute_setup.py\n $ easy_install pip\n\n\nFor now flower can only be installed from sources. To install or upgrade to the latest released version of flower::\n\n $ git clone https://github.com/benoitc/flower.git\n $ cd flower && pip install -r requirements.txt\n\nLicense\n-------\n\nflower is available in the public domain (see UNLICENSE). flower is also\noptionally available under the MIT License (see LICENSE), meant\nespecially for jurisdictions that do not recognize public domain\nworks.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/benoitc/flower", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "pyflower", "package_url": "https://pypi.org/project/pyflower/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyflower/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/benoitc/flower" }, "release_url": "https://pypi.org/project/pyflower/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "collection of modules to build distributed and reliable concurrent systems", "version": "0.1.0" }, "last_serial": 475004, "releases": { "0.1.0": [] }, "urls": [] }