{ "info": { "author": "Tristan King", "author_email": "mail@tristan.sh", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Database", "Topic :: Software Development", "Topic :: Software Development :: Testing" ], "description": "About\n=====\n``testing.rabbitmq`` automatically setups a rabbitmq instance, and destroys it after testing.\n\n.. image:: https://travis-ci.org/tristan/testing.rabbitmq.svg?branch=master\n :target: https://travis-ci.org/tristan/testing.rabbitmq\n\n.. image:: https://coveralls.io/repos/tristan/testing.rabbitmq/badge.png?branch=master\n :target: https://coveralls.io/r/tristan/testing.rabbitmq?branch=master\n\n.. image:: https://codeclimate.com/github/tristan/testing.rabbitmq/badges/gpa.svg\n :target: https://codeclimate.com/github/tristan/testing.rabbitmq\n\n\nDocumentation\n https://github.com/tristan/testing.rabbitmq\nIssues\n https://github.com/tristan/testing.rabbitmq/issues\nDownload\n https://pypi.python.org/pypi/testing.rabbitmq\n\nInstall\n=======\nUse pip::\n\n $ pip install testing.rabbitmq\n\nAnd ``testing.rabbitmq`` requires ``rabbitmq-server`` and ``rabbitmqctl`` at ``/usr/lib/rabbitmq/bin``. If rabbitmq is installed at a different path set ``rabbitmq_script_dir`` when creating the ``RabbitMQServer`` instance.\n\n\nUsage\n=====\nCreate RabbitMQServer instance using ``testing.rabbitmq.RabbitMQServer``::\n\n import testing.rabbitmq\n import pika\n\n # Lanuch new Parity-Ethereum server\n with testing.rabbitmq.RabbitMQServer() as rmq:\n connection = pika.BlockingConnection(\n pika.ConnectionParameters(**rmq.dsn()))\n channel = connection.channel()\n channel.basic_publish(exchange='',\n routing_key='test',\n body=b'Test message.')\n connection.close()\n\n # Rabbitmq server is terminated here\n\n\nRequirements\n============\n* Python 2.7, 3.4, 3.5, 3.6\n\nLicense\n=======\nApache License 2.0\n\n\nHistory\n=======\n\n1.0.0 (2019-08-19)\n-------------------\n* First release\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tristan/testing.rabbitmq", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "testing.rabbitmq", "package_url": "https://pypi.org/project/testing.rabbitmq/", "platform": "", "project_url": "https://pypi.org/project/testing.rabbitmq/", "project_urls": { "Homepage": "https://github.com/tristan/testing.rabbitmq" }, "release_url": "https://pypi.org/project/testing.rabbitmq/1.0.0/", "requires_dist": [ "testing.common.database (>=1.1.0)", "psutil" ], "requires_python": "", "summary": "automatically setups a rabbitmq server instance for use in tests", "version": "1.0.0" }, "last_serial": 5715741, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "650ea4f585b79c97b2388570313f712e", "sha256": "ee26b8007c4e8ff2f7264dbe5a92f7e3b9b9e58762f10d19a57ef6c8b84acce6" }, "downloads": -1, "filename": "testing.rabbitmq-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "650ea4f585b79c97b2388570313f712e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9157, "upload_time": "2019-08-22T15:10:53", "url": "https://files.pythonhosted.org/packages/7a/33/ca33d49ca9b6772eb420050cfe85009aebdcc0592e77329718284a5a698c/testing.rabbitmq-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "802f2ce850bd66cc81a985315cbb7364", "sha256": "ce15846c48e5ed5a97cea33a52800052f58653d495801a722350fb745969d922" }, "downloads": -1, "filename": "testing.rabbitmq-1.0.0.tar.gz", "has_sig": false, "md5_digest": "802f2ce850bd66cc81a985315cbb7364", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4415, "upload_time": "2019-08-22T15:10:56", "url": "https://files.pythonhosted.org/packages/47/23/5a9220d24896d84ab250b38d96e48426d36a0a40972aa985ad78293a4aef/testing.rabbitmq-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "650ea4f585b79c97b2388570313f712e", "sha256": "ee26b8007c4e8ff2f7264dbe5a92f7e3b9b9e58762f10d19a57ef6c8b84acce6" }, "downloads": -1, "filename": "testing.rabbitmq-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "650ea4f585b79c97b2388570313f712e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9157, "upload_time": "2019-08-22T15:10:53", "url": "https://files.pythonhosted.org/packages/7a/33/ca33d49ca9b6772eb420050cfe85009aebdcc0592e77329718284a5a698c/testing.rabbitmq-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "802f2ce850bd66cc81a985315cbb7364", "sha256": "ce15846c48e5ed5a97cea33a52800052f58653d495801a722350fb745969d922" }, "downloads": -1, "filename": "testing.rabbitmq-1.0.0.tar.gz", "has_sig": false, "md5_digest": "802f2ce850bd66cc81a985315cbb7364", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4415, "upload_time": "2019-08-22T15:10:56", "url": "https://files.pythonhosted.org/packages/47/23/5a9220d24896d84ab250b38d96e48426d36a0a40972aa985ad78293a4aef/testing.rabbitmq-1.0.0.tar.gz" } ] }