POSIX管道异步辅助工具
项目描述
AIO-PIPE
========
.. image:: https://travis-ci.org/mosquito/aio-pipe.svg
:target: https://travis-ci.org/mosquito/aio-pipe
:alt: Travis CI
.. image:: https://img.shields.io/pypi/v/aio-pipe.svg
:target: https://pypi.python.org/pypi/aio-pipe/
:alt: 最新版本
.. image:: https://img.shields.io/pypi/wheel/aio-pipe.svg
:target: https://pypi.python.org/pypi/aio-pipe/
.. image:: https://img.shields.io/pypi/pyversions/aio-pipe.svg
:target: https://pypi.python.org/pypi/aio-pipe/
.. image:: https://img.shields.io/pypi/l/aio-pipe.svg
:target: https://pypi.python.org/pypi/aio-pipe/
基于asyncio支持的真实异步文件操作。
状态
------
开发 - 测试版
特性
--------
* aio-pipe 是POSIX管道的辅助工具。
代码示例
-------------
有用的示例。
.. code-block:: python
import asyncio
from aio_pipe import AsyncPIPE
async def main(loop)
p = AsyncPIPE(loop)
for _ in range(1)
await p.write(b"foo" * 1000)
await p.read(3000)
p.close()
loop = asyncio.get_event_loop()
loop.run_until_complete(main(loop))
使用辅助工具进行读写
.. code-block:: python
========
.. image:: https://travis-ci.org/mosquito/aio-pipe.svg
:target: https://travis-ci.org/mosquito/aio-pipe
:alt: Travis CI
.. image:: https://img.shields.io/pypi/v/aio-pipe.svg
:target: https://pypi.python.org/pypi/aio-pipe/
:alt: 最新版本
.. image:: https://img.shields.io/pypi/wheel/aio-pipe.svg
:target: https://pypi.python.org/pypi/aio-pipe/
.. image:: https://img.shields.io/pypi/pyversions/aio-pipe.svg
:target: https://pypi.python.org/pypi/aio-pipe/
.. image:: https://img.shields.io/pypi/l/aio-pipe.svg
:target: https://pypi.python.org/pypi/aio-pipe/
基于asyncio支持的真实异步文件操作。
状态
------
开发 - 测试版
特性
--------
* aio-pipe 是POSIX管道的辅助工具。
代码示例
-------------
有用的示例。
.. code-block:: python
import asyncio
from aio_pipe import AsyncPIPE
async def main(loop)
p = AsyncPIPE(loop)
for _ in range(1)
await p.write(b"foo" * 1000)
await p.read(3000)
p.close()
loop = asyncio.get_event_loop()
loop.run_until_complete(main(loop))
使用辅助工具进行读写
.. code-block:: python
项目详情
关闭
散列值 for aio_pipe-0.1.1-cp36-cp36m-manylinux1_x86_64.whl
算法 | 散列摘要 | |
---|---|---|
SHA256 | 95111230edbe634438d9223b8d1c5e44b17201642c8d43419ded3ae398069d3a |
|
MD5 | b668f08841a3f1afa1095a4528b39c16 |
|
BLAKE2b-256 | 030600d6e8f1cdbd9c916d05f56850340411cc9ab565855b2e321e9811cd7694 |
关闭
散列值 for aio_pipe-0.1.1-cp35-cp35m-manylinux1_x86_64.whl
算法 | 散列摘要 | |
---|---|---|
SHA256 | c8394b3f6edaa5032ad506126d9ed9978bb0d95f3dd3dd060abe029f30c8ccdf |
|
MD5 | 34b3c5b3ef95ec4672d7ab43ae2733c5 |
|
BLAKE2b-256 | 247631f4bbd2e73f7447b97528c1fc8f30fed2f0487d435cb605a4e2773c061e |
关闭
散列值 for aio_pipe-0.1.1-cp34-cp34m-manylinux1_x86_64.whl
算法 | 散列摘要 | |
---|---|---|
SHA256 | 9730562e55ac5719ba81e96760c1ada87ceabff76f12d5ae721551226cbea9f5 |
|
MD5 | 7f457220ba00b1fc219e37b2063a7614 |
|
BLAKE2b-256 | 5a86865840751206e442e17f8e54f90b2339e7c9ebf4b90b19317fed7d4609cf |