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.1.tar.gz (30.5 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.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bytewax_s2-0.1.1.tar.gz
  • Upload date:
  • Size: 30.5 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.1.tar.gz
Algorithm Hash digest
SHA256 1073adf10f014f8e47e0c1c658c91bccabc22df39334f66348381e3e21f052d4
MD5 b147c712685b55cf351cc0560e11e02f
BLAKE2b-256 d62a71ab7ea07da2b26ce8d270a79f597939444bce635e3337dda3ed8f55b0d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for bytewax_s2-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: bytewax_s2-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1af1f524597607ae789d6730b41686423f9eefa6a3c935f4dd2614b7d737cc74
MD5 0c76ff654c495eead170902334715005
BLAKE2b-256 ee9bcbf97f1d357a0e4a6ba4721a4dd07e817e76ade49c4e090b132a16c71a05

See more details on using hashes here.

Provenance

The following attestation bundles were made for bytewax_s2-0.1.1-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