Skip to main content

1️⃣ One-Shot Channel

This library uses documentation copied and pasted from Tokio's sync::oneshot library, which they have generously published under the MIT license. 🙏

This is a Python implementation of their one-shot channel.

💻 Installation

This package is published to PyPI as babichjacob-oneshot-channel.

🛠 Usage

from asyncio import create_task, gather, run, sleep
from itertools import count

from oneshot_channel import channel, Receiver, Sender

# TODO: write usage guidance

😵 Help! I have a question

Create an issue and I'll try to help.

😡 Fix! There is something that needs improvement

Create an issue or pull request and I'll try to fix.

📄 License

MIT

🙏 Attribution

This README was generated with ❤️ by readme-md-generator

Release files for babichjacob-oneshot-channel 0.3.0

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

Source distribution (sdist)

Source distribution for babichjacob-oneshot-channel 0.3.0
File Size Uploaded
babichjacob_oneshot_channel-0.3.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for babichjacob-oneshot-channel 0.3.0
File Interpreter ABI Platform
babichjacob_oneshot_channel-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / babichjacob_oneshot_channel-0.3.0.tar.gz

Download URL babichjacob_oneshot_channel-0.3.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6b07c1af7b36df727dfbe94f0e74368e31e876da9fe065267b557a251f8d34c6
BLAKE2b-256 checksum
How to use checksums
9f2e9067d3f768137d37dddec598d9546217f3002388d98df079365c5d326e64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.2 Linux/5.15.0-1034-azure

Release files / babichjacob_oneshot_channel-0.3.0-py3-none-any.whl

Download URL babichjacob_oneshot_channel-0.3.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a7f868d7a8d0cbffa8ccb7ae503544d8f27750c02175d0f140d4dd36adf5652
BLAKE2b-256 checksum
How to use checksums
e725b51a4243be0bdfea86f48982ad38422355f056eb01d0bd312e68c7dffe8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.2 Linux/5.15.0-1034-azure

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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