Skip to main content

Asyncio Pipe

This package allows you to read from a multiprocessing.Connection object without blocking an asyncio event loop.

The Connection class has the same API functions as multiprocessing.Connection.

Usage

import asyncio
import multiprocessing
import asyncio_pipe

async def reader(read):
    connection = asyncio_pipe.Connection(read)
    print(await connection.recv())

def writer(write):
    write.send('Hello World')

read, write = multiprocessing.Pipe(duplex=False)
writer_process = multiprocessing.Process(target=writer, args=(write,))
writer_process.start()
asyncio.get_event_loop().run_until_complete(reader(read))

Metadata

Release files for asyncio-pipe 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asyncio-pipe 0.0.3
File Size Uploaded Provenance
asyncio-pipe-0.0.3.tar.gz 1.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for asyncio-pipe 0.0.3
File Interpreter ABI Platform
asyncio_pipe-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 4.1 kB

Release files / asyncio-pipe-0.0.3.tar.gz

Download URL asyncio-pipe-0.0.3.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7d1a65bca4e8b4ba87897c9cfb7ef5d8cb9cf1eacf8dc1bf1204d717ff4169c1
BLAKE2b-256 checksum
How to use checksums
72aac0e91e32d78d502f6877bfe8855774181a0e4f9be1dad86640fa3131dc01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/24.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.18 tqdm/4.36.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

Release files / asyncio_pipe-0.0.3-py3-none-any.whl

Download URL asyncio_pipe-0.0.3-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62e3cfe872289f74cab68965d58c3c53cbb831b27492ccd044554f07043c7d88
BLAKE2b-256 checksum
How to use checksums
5e021f7125b95c4b5f5811f760c6e63b922619a7ce8e52067c3e9cff652191ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/24.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.18 tqdm/4.36.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

Security for asyncio-pipe 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page