Skip to main content

Valkey connectors for Bytewax

Project description

PyPI

Bytewax Valkey

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.1.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.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bytewax_valkey-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a22242a84c5d39784fda424684db58e635732d31cd3408e0f701c430f2378dcb
MD5 f7f89a899933babfcafeecf3541659e9
BLAKE2b-256 e87fc371cdbed56051e2df47ae3e555e1af0dcc43659d48391767e4af4bef276

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bytewax_valkey-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9cd71a6a00203f1cad64c8a915fde0c609e38de7f65a938d623a775a62e78e42
MD5 5dc282f67e8883730b0044cfbc05964c
BLAKE2b-256 86f6298c499d55056b6783ebb38a75b9d47c9dd50e4c605ad72681d0e92eac8d

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