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.6b11

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.6b11
File Size Uploaded Provenance Actions
slipstream_async-1.0.6b11.tar.gz 45.9 kB Without provenance Details for slipstream_async-1.0.6b11.tar.gz

Built distribution (wheel)

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

Total release size: 75.7 kB

Release files / slipstream_async-1.0.6b11.tar.gz

Download URL slipstream_async-1.0.6b11.tar.gz
Size 45.9 kB
Tags Source
SHA-256 checksum
How to use checksums
174a0fb3bbf7b18b1161102d00fbb72be5353d4015d9633618bb29ec0b989c10
BLAKE2b-256 checksum
How to use checksums
d3d61864f3740d8110a810321d85bca64c09b16ea8a9a948f25db9697ba7ad84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

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

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

Security for slipstream-async 1.0.6b11

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