{ "info": { "author": "The Ethereum Foundation", "author_email": "snakecharmers@ethereum.org", "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", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "# Trio `run_in_process`\n\n[![Join the chat at https://gitter.im/ethereum/trio-run-in-process](https://badges.gitter.im/ethereum/trio-run-in-process.svg)](https://gitter.im/ethereum/trio-run-in-process?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n[![Build Status](https://circleci.com/gh/ethereum/trio-run-in-process.svg?style=shield)](https://circleci.com/gh/ethereum/trio-run-in-process)\n[![PyPI version](https://badge.fury.io/py/trio-run-in-process.svg)](https://badge.fury.io/py/trio-run-in-process)\n[![Python versions](https://img.shields.io/pypi/pyversions/trio-run-in-process.svg)](https://pypi.python.org/pypi/trio-run-in-process)\n[![Docs build](https://readthedocs.org/projects/trio-run-in-process/badge/?version=latest)](http://trio-run-in-process.readthedocs.io/en/latest/?badge=latest)\n\n\nTrio based API for running code in a separate process\n\nRead more in the [documentation on ReadTheDocs](https://trio-run-in-process.readthedocs.io/). [View the change log](https://trio-run-in-process.readthedocs.io/en/latest/releases.html).\n\n## Quickstart\n\n```sh\npip install trio-run-in-process\n```\n\n## Developer Setup\n\nIf you would like to hack on trio-run-in-process, please check out the [Snake Charmers\nTactical Manual](https://github.com/ethereum/snake-charmers-tactical-manual)\nfor information on how we do:\n\n- Testing\n- Pull Requests\n- Code Style\n- Documentation\n\n### Development Environment Setup\n\nYou can set up your dev environment with:\n\n```sh\ngit clone git@github.com:ethereum/trio-run-in-process.git\ncd trio-run-in-process\nvirtualenv -p python3 venv\n. venv/bin/activate\npip install -e .[dev]\n```\n\n### Testing Setup\n\nDuring development, you might like to have tests run on every file save.\n\nShow flake8 errors on file change:\n\n```sh\n# Test flake8\nwhen-changed -v -s -r -1 trio_run_in_process/ tests/ -c \"clear; flake8 trio_run_in_process tests && echo 'flake8 success' || echo 'error'\"\n```\n\nRun multi-process tests in one command, but without color:\n\n```sh\n# in the project root:\npytest --numprocesses=4 --looponfail --maxfail=1\n# the same thing, succinctly:\npytest -n 4 -f --maxfail=1\n```\n\nRun in one thread, with color and desktop notifications:\n\n```sh\ncd venv\nptw --onfail \"notify-send -t 5000 'Test failure \u26a0\u26a0\u26a0\u26a0\u26a0' 'python 3 test on trio-run-in-process failed'\" ../tests ../trio_run_in_process\n```\n\n### Release setup\n\nFor Debian-like systems:\n```\napt install pandoc\n```\n\nTo release a new version:\n\n```sh\nmake release bump=$$VERSION_PART_TO_BUMP$$\n```\n\n#### How to bumpversion\n\nThe version format for this repo is `{major}.{minor}.{patch}` for stable, and\n`{major}.{minor}.{patch}-{stage}.{devnum}` for unstable (`stage` can be alpha or beta).\n\nTo issue the next version in line, specify which part to bump,\nlike `make release bump=minor` or `make release bump=devnum`. This is typically done from the\nmaster branch, except when releasing a beta (in which case the beta is released from master,\nand the previous stable branch is released from said branch). To include changes made with each\nrelease, update \"docs/releases.rst\" with the changes, and apply commit directly to master \nbefore release.\n\nIf you are in a beta version, `make release bump=stage` will switch to a stable.\n\nTo issue an unstable version when the current version is stable, specify the\nnew version explicitly, like `make release bump=\"--new-version 4.0.0-alpha.1 devnum\"`\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ethereum/trio-run-in-process", "keywords": "ethereum", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "trio-run-in-process", "package_url": "https://pypi.org/project/trio-run-in-process/", "platform": "", "project_url": "https://pypi.org/project/trio-run-in-process/", "project_urls": { "Homepage": "https://github.com/ethereum/trio-run-in-process" }, "release_url": "https://pypi.org/project/trio-run-in-process/0.1.0a1/", "requires_dist": [ "async-generator (<2,>=1.10)", "cloudpickle (<2,>=1.2.1)", "trio (<0.13,>=0.12.1)", "trio-typing (<0.3.0,>=0.2.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 (==5.1.2) ; extra == 'dev'", "pytest-trio (==0.5.2) ; extra == 'dev'", "pytest-xdist (==1.29.0) ; extra == 'dev'", "tox (<3,>=2.9.1) ; extra == 'dev'", "black (==19.3b0) ; extra == 'dev'", "flake8 (==3.4.1) ; extra == 'dev'", "isort (<5,>=4.2.15) ; extra == 'dev'", "mypy (==0.720) ; extra == 'dev'", "pydocstyle (<4,>=3.0.0) ; 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'", "black (==19.3b0) ; extra == 'lint'", "flake8 (==3.4.1) ; extra == 'lint'", "isort (<5,>=4.2.15) ; extra == 'lint'", "mypy (==0.720) ; extra == 'lint'", "pydocstyle (<4,>=3.0.0) ; extra == 'lint'", "pytest (==5.1.2) ; extra == 'test'", "pytest-trio (==0.5.2) ; extra == 'test'", "pytest-xdist (==1.29.0) ; extra == 'test'", "tox (<3,>=2.9.1) ; extra == 'test'" ], "requires_python": ">=3.6, <4", "summary": "trio-run-in-process: Trio based API for running code in a separate process", "version": "0.1.0a1" }, "last_serial": 5811840, "releases": { "0.1.0a1": [ { "comment_text": "", "digests": { "md5": "8563eed71940581543e1e029bbfce85c", "sha256": "42bfd4e68cf0bd520ac22884553e2f9f26c02095802b95e3bf925b917c3be846" }, "downloads": -1, "filename": "trio_run_in_process-0.1.0a1-py3-none-any.whl", "has_sig": false, "md5_digest": "8563eed71940581543e1e029bbfce85c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, <4", "size": 11963, "upload_time": "2019-09-10T22:39:30", "url": "https://files.pythonhosted.org/packages/47/39/0a9d649263cec45bcb0daecdb56622a3faefc0922a6d17f54aba9a3acb11/trio_run_in_process-0.1.0a1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "64ceb0750f3c58acc76f3944fca29ea8", "sha256": "caa3394ba5b43ed1740d8a8715f8d5a3165db4405fa71f509caaf96af59b4ab3" }, "downloads": -1, "filename": "trio-run-in-process-0.1.0a1.tar.gz", "has_sig": false, "md5_digest": "64ceb0750f3c58acc76f3944fca29ea8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 10525, "upload_time": "2019-09-10T22:39:33", "url": "https://files.pythonhosted.org/packages/72/ba/89131896533325342f4eac8641c06ce8479ec2375df02d3731b1c8af0c2d/trio-run-in-process-0.1.0a1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8563eed71940581543e1e029bbfce85c", "sha256": "42bfd4e68cf0bd520ac22884553e2f9f26c02095802b95e3bf925b917c3be846" }, "downloads": -1, "filename": "trio_run_in_process-0.1.0a1-py3-none-any.whl", "has_sig": false, "md5_digest": "8563eed71940581543e1e029bbfce85c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, <4", "size": 11963, "upload_time": "2019-09-10T22:39:30", "url": "https://files.pythonhosted.org/packages/47/39/0a9d649263cec45bcb0daecdb56622a3faefc0922a6d17f54aba9a3acb11/trio_run_in_process-0.1.0a1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "64ceb0750f3c58acc76f3944fca29ea8", "sha256": "caa3394ba5b43ed1740d8a8715f8d5a3165db4405fa71f509caaf96af59b4ab3" }, "downloads": -1, "filename": "trio-run-in-process-0.1.0a1.tar.gz", "has_sig": false, "md5_digest": "64ceb0750f3c58acc76f3944fca29ea8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 10525, "upload_time": "2019-09-10T22:39:33", "url": "https://files.pythonhosted.org/packages/72/ba/89131896533325342f4eac8641c06ce8479ec2375df02d3731b1c8af0c2d/trio-run-in-process-0.1.0a1.tar.gz" } ] }