**This version is only relevant for Python 3.3, which does not include asyncio in its stdlib.**
Master repo: https://github.com/python/asyncio
The asyncio module provides infrastructure for writing single-threaded
concurrent code using coroutines, multiplexing I/O access over sockets and
other resources, running network clients and servers, and other related
primitives. Here is a more detailed list of the package contents:
* a pluggable event loop with various system-specific implementations;
* transport and protocol abstractions (similar to those in Twisted);
* concrete support for TCP, UDP, SSL, subprocess pipes, delayed calls, and
others (some may be system-dependent);
* a Future class that mimics the one in the concurrent.futures module, but
adapted for use with the event loop;
* coroutines and tasks based on ``yield from`` (PEP 380), to help write
concurrent code in a sequential fashion;
* cancellation support for Futures and coroutines;
* synchronization primitives for use between coroutines in a single thread,
mimicking those in the threading module;
* an interface for passing work off to a threadpool, for times when you
absolutely, positively have to use a library that makes blocking I/O calls.
Note: The implementation of asyncio was previously called "Tulip".
Installation
============
To install asyncio, type::
pip install asyncio
asyncio requires Python 3.3 or later! The asyncio module is part of the Python
standard library since Python 3.4.
asyncio is a free software distributed under the Apache license version 2.0.
Websites
========
* `asyncio project at GitHub <https://github.com/python/asyncio>`_: source
code, bug tracker
* `asyncio documentation <https://docs.python.org/dev/library/asyncio.html>`_
* Mailing list: `python-tulip Google Group
<https://groups.google.com/forum/?fromgroups#!forum/python-tulip>`_
* IRC: join the ``#asyncio`` channel on the Freenode network
Development
===========
The actual code lives in the 'asyncio' subdirectory. Tests are in the 'tests'
subdirectory.
To run tests, run::
tox
Or use the Makefile::
make test
To run coverage (coverage package is required)::
make coverage
On Windows, things are a little more complicated. Assume 'P' is your
Python binary (for example C:\Python33\python.exe).
You must first build the _overlapped.pyd extension and have it placed
in the asyncio directory, as follows:
C> P setup.py build_ext --inplace
If this complains about vcvars.bat, you probably don't have the
required version of Visual Studio installed. Compiling extensions for
Python 3.3 requires Microsoft Visual C++ 2010 (MSVC 10.0) of any
edition; you can download Visual Studio Express 2010 for free from
http://www.visualstudio.com/downloads (scroll down to Visual C++ 2010
Express).
Once you have built the _overlapped.pyd extension successfully you can
run the tests as follows:
C> P runtests.py
And coverage as follows:
C> P runtests.py --coverage
Raw data
{
"_id": null,
"home_page": "http://www.python.org/dev/peps/pep-3156/",
"name": "asyncio",
"maintainer": "Yury Selivanov, Victor Stinner",
"docs_url": null,
"requires_python": null,
"maintainer_email": "",
"keywords": "",
"author": "Guido van Rossum (and others)",
"author_email": "guido@python.org",
"download_url": "https://files.pythonhosted.org/packages/da/54/054bafaf2c0fb8473d423743e191fcdf49b2c1fd5e9af3524efbe097bafd/asyncio-3.4.3.tar.gz",
"platform": "Wherever Python runs",
"description": "**This version is only relevant for Python 3.3, which does not include asyncio in its stdlib.**\r\n\r\nMaster repo: https://github.com/python/asyncio\r\n\r\nThe asyncio module provides infrastructure for writing single-threaded\r\nconcurrent code using coroutines, multiplexing I/O access over sockets and\r\nother resources, running network clients and servers, and other related\r\nprimitives. Here is a more detailed list of the package contents:\r\n\r\n* a pluggable event loop with various system-specific implementations;\r\n\r\n* transport and protocol abstractions (similar to those in Twisted);\r\n\r\n* concrete support for TCP, UDP, SSL, subprocess pipes, delayed calls, and\r\n others (some may be system-dependent);\r\n\r\n* a Future class that mimics the one in the concurrent.futures module, but\r\n adapted for use with the event loop;\r\n\r\n* coroutines and tasks based on ``yield from`` (PEP 380), to help write\r\n concurrent code in a sequential fashion;\r\n\r\n* cancellation support for Futures and coroutines;\r\n\r\n* synchronization primitives for use between coroutines in a single thread,\r\n mimicking those in the threading module;\r\n\r\n* an interface for passing work off to a threadpool, for times when you\r\n absolutely, positively have to use a library that makes blocking I/O calls.\r\n\r\nNote: The implementation of asyncio was previously called \"Tulip\".\r\n\r\n\r\nInstallation\r\n============\r\n\r\nTo install asyncio, type::\r\n\r\n pip install asyncio\r\n\r\nasyncio requires Python 3.3 or later! The asyncio module is part of the Python\r\nstandard library since Python 3.4.\r\n\r\nasyncio is a free software distributed under the Apache license version 2.0.\r\n\r\n\r\nWebsites\r\n========\r\n\r\n* `asyncio project at GitHub <https://github.com/python/asyncio>`_: source\r\n code, bug tracker\r\n* `asyncio documentation <https://docs.python.org/dev/library/asyncio.html>`_\r\n* Mailing list: `python-tulip Google Group\r\n <https://groups.google.com/forum/?fromgroups#!forum/python-tulip>`_\r\n* IRC: join the ``#asyncio`` channel on the Freenode network\r\n\r\n\r\nDevelopment\r\n===========\r\n\r\nThe actual code lives in the 'asyncio' subdirectory. Tests are in the 'tests'\r\nsubdirectory.\r\n\r\nTo run tests, run::\r\n\r\n tox\r\n\r\nOr use the Makefile::\r\n\r\n make test\r\n\r\nTo run coverage (coverage package is required)::\r\n\r\n make coverage\r\n\r\nOn Windows, things are a little more complicated. Assume 'P' is your\r\nPython binary (for example C:\\Python33\\python.exe).\r\n\r\nYou must first build the _overlapped.pyd extension and have it placed\r\nin the asyncio directory, as follows:\r\n\r\n C> P setup.py build_ext --inplace\r\n\r\nIf this complains about vcvars.bat, you probably don't have the\r\nrequired version of Visual Studio installed. Compiling extensions for\r\nPython 3.3 requires Microsoft Visual C++ 2010 (MSVC 10.0) of any\r\nedition; you can download Visual Studio Express 2010 for free from\r\nhttp://www.visualstudio.com/downloads (scroll down to Visual C++ 2010\r\nExpress).\r\n\r\nOnce you have built the _overlapped.pyd extension successfully you can\r\nrun the tests as follows:\r\n\r\n C> P runtests.py\r\n\r\nAnd coverage as follows:\r\n\r\n C> P runtests.py --coverage",
"bugtrack_url": null,
"license": "PSF",
"summary": "reference implementation of PEP 3156",
"version": "3.4.3",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "993296a5b70f69c689ed1101c0b54d0a",
"sha256": "b62c9157d36187eca799c378e572c969f0da87cd5fc42ca372d92cdb06e7e1de"
},
"downloads": -1,
"filename": "asyncio-3.4.3-cp33-none-win32.whl",
"has_sig": false,
"md5_digest": "993296a5b70f69c689ed1101c0b54d0a",
"packagetype": "bdist_wheel",
"python_version": "3.3",
"requires_python": null,
"size": 111201,
"upload_time": "2015-03-10T14:09:09",
"upload_time_iso_8601": "2015-03-10T14:09:09.936627Z",
"url": "https://files.pythonhosted.org/packages/16/57/d80f4750c65d4449a7d628dbdfccf85b5450cd68fe14ef6abf582bf8835f/asyncio-3.4.3-cp33-none-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "02babf695a934a2a3d361ac3e6ba5d60",
"sha256": "c46a87b48213d7464f22d9a497b9eef8c1928b68320a2fa94240f969f6fec08c"
},
"downloads": -1,
"filename": "asyncio-3.4.3-cp33-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "02babf695a934a2a3d361ac3e6ba5d60",
"packagetype": "bdist_wheel",
"python_version": "3.3",
"requires_python": null,
"size": 112711,
"upload_time": "2015-03-10T14:09:14",
"upload_time_iso_8601": "2015-03-10T14:09:14.873125Z",
"url": "https://files.pythonhosted.org/packages/c4/36/24f61d04a58a589c467a88efe9daf5a0a4fcd45985eb74fba822b511caf8/asyncio-3.4.3-cp33-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "82ea7f22832529b1d68109f077c3e977",
"sha256": "c4d18b22701821de07bd6aea8b53d21449ec0ec5680645e5317062ea21817d2d"
},
"downloads": -1,
"filename": "asyncio-3.4.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "82ea7f22832529b1d68109f077c3e977",
"packagetype": "bdist_wheel",
"python_version": "3.3",
"requires_python": null,
"size": 101767,
"upload_time": "2015-03-10T14:05:10",
"upload_time_iso_8601": "2015-03-10T14:05:10.959734Z",
"url": "https://files.pythonhosted.org/packages/22/74/07679c5b9f98a7cb0fc147b1ef1cc1853bc07a4eb9cb5731e24732c5f773/asyncio-3.4.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "a189813096a6da1e46c16a41edb5f96d",
"sha256": "83360ff8bc97980e4ff25c964c7bd3923d333d177aa4f7fb736b019f26c7cb41"
},
"downloads": -1,
"filename": "asyncio-3.4.3.tar.gz",
"has_sig": false,
"md5_digest": "a189813096a6da1e46c16a41edb5f96d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 204411,
"upload_time": "2015-03-10T14:11:26",
"upload_time_iso_8601": "2015-03-10T14:11:26.494800Z",
"url": "https://files.pythonhosted.org/packages/da/54/054bafaf2c0fb8473d423743e191fcdf49b2c1fd5e9af3524efbe097bafd/asyncio-3.4.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2015-03-10 14:11:26",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "asyncio"
}