{ "info": { "author": "Ethereum Foundation", "author_email": "piper@pipermerriam.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "pytest-asyncio-network-simulator\n================================\n\n|Join the chat at\nhttps://gitter.im/ethereum/pytest-asyncio-network-simulator| |Build\nStatus| |PyPI version| |Python versions| |Docs build|\n\nA plugin for ``pytest`` which simulates the network in various\n``asyncio`` APIs such that rather than opening and communicating over\nsockets, communcation happens directly in memory.\n\nRead more in the `documentation on\nReadTheDocs `__.\n`View the change\nlog `__.\n\nQuickstart\n----------\n\n.. code:: sh\n\n pip install pytest-asyncio-network-simulator\n\nDeveloper Setup\n---------------\n\nIf you would like to hack on ``pytest-asyncio-network-simulator``,\nplease check out the `Ethereum Development Tactical\nManual `__\nfor information on how we do:\n\n- Testing\n- Pull Requests\n- Code Style\n- Documentation\n\nDevelopment Environment Setup\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nYou can set up your dev environment with:\n\n.. code:: sh\n\n git clone git@github.com:ethereum/pytest-asyncio-network-simulator.git\n cd pytest-asyncio-network-simulator\n virtualenv -p python3 venv\n . venv/bin/activate\n pip install -e .[dev]\n\nTesting Setup\n~~~~~~~~~~~~~\n\nDuring development, you might like to have tests run on every file save.\n\nShow flake8 errors on file change:\n\n.. code:: sh\n\n # Test flake8\n when-changed -v -s -r -1 asyncio_network_simulator/ tests/ -c \"clear; flake8 asyncio_network_simulator tests && echo 'flake8 success' || echo 'error'\"\n\nRun multi-process tests in one command, but without color:\n\n.. code:: sh\n\n # in the project root:\n pytest --numprocesses=4 --looponfail --maxfail=1\n # the same thing, succinctly:\n pytest -n 4 -f --maxfail=1\n\nRun in one thread, with color and desktop notifications:\n\n.. code:: sh\n\n cd venv\n ptw --onfail \"notify-send -t 5000 'Test failure \u26a0\u26a0\u26a0\u26a0\u26a0' 'python 3 test on pytest-asyncio-network-simulator failed'\" ../tests ../asyncio_network_simulator\n\nRelease setup\n~~~~~~~~~~~~~\n\nFor Debian-like systems:\n\n::\n\n apt install pandoc\n\nTo release a new version:\n\n.. code:: sh\n\n make release bump=$$VERSION_PART_TO_BUMP$$\n\nHow to bumpversion\n^^^^^^^^^^^^^^^^^^\n\nThe version format for this repo is ``{major}.{minor}.{patch}`` for\nstable, and ``{major}.{minor}.{patch}-{stage}.{devnum}`` for unstable\n(``stage`` can be alpha or beta).\n\nTo issue the next version in line, specify which part to bump, like\n``make release bump=minor`` or ``make release bump=devnum``.\n\nIf you are in a beta version, ``make release bump=stage`` will switch to\na stable.\n\nTo issue an unstable version when the current version is stable, specify\nthe new version explicitly, like\n``make release bump=\"--new-version 4.0.0-alpha.1 devnum\"``\n\n.. |Join the chat at https://gitter.im/ethereum/pytest-asyncio-network-simulator| image:: https://badges.gitter.im/ethereum/pytest-asyncio-network-simulator.svg\n :target: https://gitter.im/ethereum/pytest-asyncio-network-simulator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n.. |Build Status| image:: https://circleci.com/gh/ethereum/pytest-asyncio-network-simulator.svg?style=shield\n :target: https://circleci.com/gh/ethereum/pytest-asyncio-network-simulator\n.. |PyPI version| image:: https://badge.fury.io/py/pytest-asyncio-network-simulator.svg\n :target: https://badge.fury.io/py/pytest-asyncio-network-simulator\n.. |Python versions| image:: https://img.shields.io/pypi/pyversions/pytest-asyncio-network-simulator.svg\n :target: https://pypi.python.org/pypi/pytest-asyncio-network-simulator\n.. |Docs build| image:: https://readthedocs.org/projects/pytest-asyncio-network-simulator/badge/?version=latest\n :target: http://pytest-asyncio-network-simulator.readthedocs.io/en/latest/?badge=latest\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/ethereum/pytest-asyncio-network-simulator", "keywords": "asyncio network pytest", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-asyncio-network-simulator", "package_url": "https://pypi.org/project/pytest-asyncio-network-simulator/", "platform": "", "project_url": "https://pypi.org/project/pytest-asyncio-network-simulator/", "project_urls": { "Homepage": "https://github.com/ethereum/pytest-asyncio-network-simulator" }, "release_url": "https://pypi.org/project/pytest-asyncio-network-simulator/0.1.0a2/", "requires_dist": [ "asyncio-cancel-token (==0.1.0a2)", "pytest (<3.7.0,>=3.3.2)", "pytest-asyncio (<1,>=0.8.0)", "bumpversion (<1,>=0.5.3); extra == 'dev'", "pytest-watch (<5,>=4.1.0); extra == 'dev'", "wheel; extra == 'dev'", "twine; extra == 'dev'", "ipython; extra == 'dev'", "pytest (==3.3.2); extra == 'dev'", "pytest-xdist; extra == 'dev'", "pytest-asyncio (==0.8.0); extra == 'dev'", "tox (<3,>=2.9.1); extra == 'dev'", "flake8 (==3.4.1); extra == 'dev'", "isort (<5,>=4.2.15); extra == 'dev'", "mypy (==0.610); extra == 'dev'", "Sphinx (<2,>=1.6.5); extra == 'dev'", "sphinx-rtd-theme (>=0.1.9); extra == 'dev'", "Sphinx (<2,>=1.6.5); extra == 'doc'", "sphinx-rtd-theme (>=0.1.9); extra == 'doc'", "flake8 (==3.4.1); extra == 'lint'", "isort (<5,>=4.2.15); extra == 'lint'", "mypy (==0.610); extra == 'lint'", "pytest (==3.3.2); extra == 'test'", "pytest-xdist; extra == 'test'", "pytest-asyncio (==0.8.0); extra == 'test'", "tox (<3,>=2.9.1); extra == 'test'" ], "requires_python": ">=3.6, <4", "summary": "pytest-asyncio-network-simulator: Plugin for pytest for simulator the network in tests", "version": "0.1.0a2" }, "last_serial": 5193385, "releases": { "0.1.0a1": [ { "comment_text": "", "digests": { "md5": "10c4b6da4bcba7f1f3ec1fec39cbe373", "sha256": "179fc4fdc2977ecb1b5e66bbf5cde511d147f4a2d83bff1a016efd0c80a33848" }, "downloads": -1, "filename": "pytest_asyncio_network_simulator-0.1.0a1-py3-none-any.whl", "has_sig": false, "md5_digest": "10c4b6da4bcba7f1f3ec1fec39cbe373", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, <4", "size": 10518, "upload_time": "2018-07-26T19:52:44", "url": "https://files.pythonhosted.org/packages/ca/5d/9b3690ceb573b8740af6ed5dc9de9fd0212688af879bf09c947f6b91cb27/pytest_asyncio_network_simulator-0.1.0a1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "232fca665ec7dac52f1354a189bc75ee", "sha256": "2ad6f38f09aa2b68284e5459654672762e876ba9e38fdbce750e4cbdc3015d3b" }, "downloads": -1, "filename": "pytest-asyncio-network-simulator-0.1.0a1.tar.gz", "has_sig": false, "md5_digest": "232fca665ec7dac52f1354a189bc75ee", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 7656, "upload_time": "2018-07-26T19:52:46", "url": "https://files.pythonhosted.org/packages/11/61/72ffb6463639cbb789f6973476cfffd3a172fbc4e49b3c398bdccef647bd/pytest-asyncio-network-simulator-0.1.0a1.tar.gz" } ], "0.1.0a2": [ { "comment_text": "", "digests": { "md5": "e64a5e1cba183ec1249d6554dd8ea32f", "sha256": "93e92f8eec30b681566d8f7ea71dd6a504b402a910874139f6f23674441f7684" }, "downloads": -1, "filename": "pytest_asyncio_network_simulator-0.1.0a2-py3-none-any.whl", "has_sig": false, "md5_digest": "e64a5e1cba183ec1249d6554dd8ea32f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, <4", "size": 10530, "upload_time": "2018-07-31T17:38:48", "url": "https://files.pythonhosted.org/packages/c0/45/7b4246e10a35529d40dce6bee0d9ef8e8679dace8cb35bf823309e04e2ed/pytest_asyncio_network_simulator-0.1.0a2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04526bd8e1d5df9916043f04653c0745", "sha256": "bdb04369e3cdedf1c82f0f121035e78c9271a395ffe7c1fa310c4e7c58547921" }, "downloads": -1, "filename": "pytest-asyncio-network-simulator-0.1.0a2.tar.gz", "has_sig": false, "md5_digest": "04526bd8e1d5df9916043f04653c0745", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 7713, "upload_time": "2018-07-31T17:38:50", "url": "https://files.pythonhosted.org/packages/17/9e/eda101e6ce3660ec18e27aebe2f7c122c3c231a067f84adcc0a68341a914/pytest-asyncio-network-simulator-0.1.0a2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e64a5e1cba183ec1249d6554dd8ea32f", "sha256": "93e92f8eec30b681566d8f7ea71dd6a504b402a910874139f6f23674441f7684" }, "downloads": -1, "filename": "pytest_asyncio_network_simulator-0.1.0a2-py3-none-any.whl", "has_sig": false, "md5_digest": "e64a5e1cba183ec1249d6554dd8ea32f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, <4", "size": 10530, "upload_time": "2018-07-31T17:38:48", "url": "https://files.pythonhosted.org/packages/c0/45/7b4246e10a35529d40dce6bee0d9ef8e8679dace8cb35bf823309e04e2ed/pytest_asyncio_network_simulator-0.1.0a2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04526bd8e1d5df9916043f04653c0745", "sha256": "bdb04369e3cdedf1c82f0f121035e78c9271a395ffe7c1fa310c4e7c58547921" }, "downloads": -1, "filename": "pytest-asyncio-network-simulator-0.1.0a2.tar.gz", "has_sig": false, "md5_digest": "04526bd8e1d5df9916043f04653c0745", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 7713, "upload_time": "2018-07-31T17:38:50", "url": "https://files.pythonhosted.org/packages/17/9e/eda101e6ce3660ec18e27aebe2f7c122c3c231a067f84adcc0a68341a914/pytest-asyncio-network-simulator-0.1.0a2.tar.gz" } ] }