Skip to main content

Valkey connectors for Bytewax

Project description

PyPI

Bytewax Lever

Valkey connectors for Bytewax.

This connector offers 1 source and 1 sink:

Installation

This package is available via PyPi as bytewax-valkey and can be installed via your package manager of choice.

Usage

Pub/Sub Source

import os

from bytewax_valkey.inputs.pubsub_source import PubSubSource
from bytewax.connectors.stdio import StdOutSink

import bytewax.operators as op
from bytewax.dataflow import Dataflow

VALKEY_URL = os.environ["VALKEY_URL"]

flow = Dataflow("valkey_example")
flow_input = op.input("input", flow, PubSubSource.from_url(VALKEY_URL, "example"))
op.output("output", flow_input, StdOutSink())

Stream Source

import os

from bytewax_valkey.inputs.stream_source import StreamSource
from bytewax.connectors.stdio import StdOutSink

import bytewax.operators as op
from bytewax.dataflow import Dataflow

VALKEY_URL = os.environ["VALKEY_URL"]

flow = Dataflow("valkey_example")
flow_input = op.input("input", flow, StreamSource.from_url(VALKEY_URL, "example"))
op.output("output", flow_input, StdOutSink())

License

Licensed under the MIT License.

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_valkey-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

bytewax_valkey-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file bytewax_valkey-0.1.0.tar.gz.

File metadata

  • Download URL: bytewax_valkey-0.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.5

File hashes

Hashes for bytewax_valkey-0.1.0.tar.gz
Algorithm Hash digest
SHA256 78ae87e4927f434b333eeaecf8ec8fc101a817d78fe56629e421a4f07e6654c2
MD5 2e5fc662258a002a3270412a4b9d8448
BLAKE2b-256 8b9e0a62962fc3bccad23ecc53f6b243f899168d07fe1d368648724e7c4cd9ac

See more details on using hashes here.

File details

Details for the file bytewax_valkey-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bytewax_valkey-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a218719f9dcb256e6356e1eccb8a2e8b9bd4c64bc8213ae331d868887be357a9
MD5 5b50e78a49d40443fae6aea8689dafec
BLAKE2b-256 b066cbb3456feb276d77de00884ec4eee8a252584de7fd9c04f0a31c10dd38c4

See more details on using hashes here.

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