Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Test Python Package Documentation Status PyPI Downloads

Slipstream

Slipstream provides a data-flow model to simplify development of stateful streaming applications.

pip install slipstream-async
from asyncio import run

from slipstream import handle, stream


async def messages():
    for emoji in '🏆📞🐟👌':
        yield emoji


@handle(messages(), sink=[print])
def handle_message(msg):
    yield f'Hello {msg}!'


if __name__ == '__main__':
    run(stream())
Hello 🏆!
Hello 📞!
Hello 🐟!
Hello 👌!

Usage

Slipstream components interoperate with basic python building blocks:

  • Any-thing can be passed around as data
  • Any Callable may be used as a sink
  • AsyncIterables act as sources
  • Parallelize through handle

A many-to-many relation is established by passing multiple sources / sinks.

Quickstart

Install Slipstream along with aiokafka (latest):

pip install slipstream-async[kafka]

Spin up a local Kafka broker with docker-compose.yml, using localhost:29091 to connect:

docker compose up broker -d

Copy-paste this snippet.

Features

Metadata

Release files for slipstream-async 1.0.6b12

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

Source distribution (sdist)

Source distribution for slipstream-async 1.0.6b12
File Size Uploaded Provenance Actions
slipstream_async-1.0.6b12.tar.gz 47.7 kB Without provenance Details for slipstream_async-1.0.6b12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for slipstream-async 1.0.6b12
File Interpreter ABI Platform Actions
slipstream_async-1.0.6b12-py3-none-any.whl Python 3 none any Details for slipstream_async-1.0.6b12-py3-none-any.whl

Total release size: 78.1 kB

Release files / slipstream_async-1.0.6b12.tar.gz

Download URL slipstream_async-1.0.6b12.tar.gz
Size 47.7 kB
Tags Source
SHA-256 checksum
How to use checksums
509a25dbad4c4dc4427749e20ff4fed131fa950c5d50c0bb6ad6d4a78aed75da
BLAKE2b-256 checksum
How to use checksums
9db6fa7d314b21d59047570839db88d873d9046d833c2dae7e3fd025380fc235
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Release files / slipstream_async-1.0.6b12-py3-none-any.whl

Download URL slipstream_async-1.0.6b12-py3-none-any.whl
Size 30.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df6c56b74f5d19e886065f6c2e6aa7665218ebaa985053d5422526b6822faa49
BLAKE2b-256 checksum
How to use checksums
e3e2e65aecc6c7c5cbe4bac80a8261c7f265064649f9966ebae912e811db11d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Security for slipstream-async 1.0.6b12

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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