Skip to main content

bytewax-s2

bytewax-s2 is the Python package that provides Bytewax connector for S2, which can be used in your Bytewax pipelines if you want to read from or append to S2 streams.

API overview

bytewax_s2 module in the package exposes the following types:

  • S2Source - used for reading from S2 streams.
  • S2Sink - used for appending to S2 streams.
  • S2Config - used when initializing S2Source and S2Sink.
  • S2SourceRecord - items read from S2 streams will be of this type.
  • S2SinkRecord - items to be appended to S2 streams must be of this type.
  • S2SinkPartitionFn - used for routing the items to appropriate S2 streams.

Please refer to the docstrings of the abovementioned types to know more.

Installation

You can install the package from the Python Package Index using the package manager of your choice. E.g., with pip:

pip install bytewax-s2

Examples

examples/ directory in the repo contain two Bytewax pipelines:

  • sink.py - where firehose of events from Bluesky is processed and appended to S2 streams.
  • source.py - where processed data is read from S2 streams and insights are plotted in terminal.

If you are interested in knowing more about these pipelines, take a look at this walkthrough.

Metadata

Release files for bytewax-s2 0.1.2

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

Source distribution (sdist)

Source distribution for bytewax-s2 0.1.2
File Size Uploaded
bytewax_s2-0.1.2.tar.gz 30.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bytewax-s2 0.1.2
File Interpreter ABI Platform
bytewax_s2-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.1 kB

Release files / bytewax_s2-0.1.2.tar.gz

Download URL bytewax_s2-0.1.2.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7f7ad1429ea58046218d14ca5a71bd23bba751933dcf532f3a45e2edc1f0a8c0
BLAKE2b-256 checksum
How to use checksums
921a6bf45aa5f403224f0b06e3c64b401879e58ff042f34bbd9cc0558c63aad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 12, 2025.

Transparency log

Release files / bytewax_s2-0.1.2-py3-none-any.whl

Download URL bytewax_s2-0.1.2-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6042557f08ef3726244b2b4a2cac1998c34a6a287606ce3391feea17b19fbc7f
BLAKE2b-256 checksum
How to use checksums
034ede32724006b2848079ba5f8e86fcb7bfcec05affcb2b4df7cee01e8595b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 12, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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