Skip to main content

Bytewax connector for S2

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bytewax_s2-0.1.2.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bytewax_s2-0.1.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file bytewax_s2-0.1.2.tar.gz.

File metadata

  • Download URL: bytewax_s2-0.1.2.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bytewax_s2-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7f7ad1429ea58046218d14ca5a71bd23bba751933dcf532f3a45e2edc1f0a8c0
MD5 c857e4341c0106272fca0aba5ae600cb
BLAKE2b-256 921a6bf45aa5f403224f0b06e3c64b401879e58ff042f34bbd9cc0558c63aad4

See more details on using hashes here.

Provenance

The following attestation bundles were made for bytewax_s2-0.1.2.tar.gz:

Publisher: release.yml on s2-streamstore/bytewax-s2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bytewax_s2-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: bytewax_s2-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bytewax_s2-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6042557f08ef3726244b2b4a2cac1998c34a6a287606ce3391feea17b19fbc7f
MD5 ebe43fc69908fe2d3ae6da305c0bb425
BLAKE2b-256 034ede32724006b2848079ba5f8e86fcb7bfcec05affcb2b4df7cee01e8595b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for bytewax_s2-0.1.2-py3-none-any.whl:

Publisher: release.yml on s2-streamstore/bytewax-s2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page