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
The package exposes the following types:
S2Source- used for reading from S2 streams.S2Sink- used for appending to S2 streams.S2Config- used when initializingS2SourceandS2Sink.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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bytewax_s2-0.1.0.tar.gz.
File metadata
- Download URL: bytewax_s2-0.1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d6d383822d7fce0b76c1f45adc1e57bb18ec4b91fe1f632ee3d072e5d4f3af4
|
|
| MD5 |
6e7b9b10a72477c18e3c22c5b718584f
|
|
| BLAKE2b-256 |
856db8199c62fc66b4ad12bd5d856188f41ba0283b8e5fe2febb278722bf8ea0
|
Provenance
The following attestation bundles were made for bytewax_s2-0.1.0.tar.gz:
Publisher:
release.yml on s2-streamstore/bytewax-s2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bytewax_s2-0.1.0.tar.gz -
Subject digest:
8d6d383822d7fce0b76c1f45adc1e57bb18ec4b91fe1f632ee3d072e5d4f3af4 - Sigstore transparency entry: 174973989
- Sigstore integration time:
-
Permalink:
s2-streamstore/bytewax-s2@7def1bb3297ad5a72b64721f35c9c5396e6ac2c3 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/s2-streamstore
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7def1bb3297ad5a72b64721f35c9c5396e6ac2c3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file bytewax_s2-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bytewax_s2-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03bf511b447bdb2106cd28622d3f6a1ccb840c48d950b5d7fe252d1304f6a890
|
|
| MD5 |
f8132e847269f4d7f6479b163fa3f1aa
|
|
| BLAKE2b-256 |
5a8d2b22138dd3a7d24f22a7273206e85c63cb810d6804dde956f168d38ada55
|
Provenance
The following attestation bundles were made for bytewax_s2-0.1.0-py3-none-any.whl:
Publisher:
release.yml on s2-streamstore/bytewax-s2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bytewax_s2-0.1.0-py3-none-any.whl -
Subject digest:
03bf511b447bdb2106cd28622d3f6a1ccb840c48d950b5d7fe252d1304f6a890 - Sigstore transparency entry: 174973990
- Sigstore integration time:
-
Permalink:
s2-streamstore/bytewax-s2@7def1bb3297ad5a72b64721f35c9c5396e6ac2c3 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/s2-streamstore
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7def1bb3297ad5a72b64721f35c9c5396e6ac2c3 -
Trigger Event:
push
-
Statement type: