跳转到主要内容

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



项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪一个,请了解有关安装包的更多信息。

源代码分布

此版本没有可用的源代码分布文件。请参阅有关生成分布存档的教程。

构建的分布

aio_pipe-0.1.1-cp36-cp36m-manylinux1_x86_64.whl (171.5 kB 查看散列值)

上传时间 CPython 3.6m

aio_pipe-0.1.1-cp35-cp35m-manylinux1_x86_64.whl (164.9 kB 查看散列值)

上传时间 CPython 3.5m

aio_pipe-0.1.1-cp34-cp34m-manylinux1_x86_64.whl (169.8 kB 查看散列值)

上传时间 CPython 3.4m

由以下支持