Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

POSIX Pipe async helper

Project description

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: Latest Version

.. 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/


Real asynchronous file operations with asyncio support.


Status
------

Development - BETA


Features
--------

* aio-pipe is a helper for POSIX pipes.


Code examples
-------------

Useful example.

.. 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))


Write and read with helpers:

.. code-block:: python



Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
aio_pipe-0.1.1-cp34-cp34m-manylinux1_x86_64.whl (169.8 kB) Copy SHA256 hash SHA256 Wheel cp34 Aug 15, 2017
aio_pipe-0.1.1-cp35-cp35m-manylinux1_x86_64.whl (164.9 kB) Copy SHA256 hash SHA256 Wheel cp35 Aug 15, 2017
aio_pipe-0.1.1-cp36-cp36m-manylinux1_x86_64.whl (171.5 kB) Copy SHA256 hash SHA256 Wheel cp36 Aug 15, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page