Skip to main content

Bytewax operators that work on the ordering of streams.

Project description

Actions Status PyPI Bytewax User Guide

Bytewax

Bytewax Ordering

Bytewax operators for ordering Streams.

The bytewax.ordering.order operator allows you to take a stream of out-of-timestamp-order items and streaming sort them into timestamp order.

Setting up the project for development

Install just

We use just as a command runner for actions / recipes related to developing Bytewax. Please follow the installation instructions. There's probably a package for your OS already.

Install pyenv and Python 3.12

I suggest using pyenv to manage python versions. the installation instructions.

You can also use your OS's package manager to get access to different Python versions.

Ensure that you have Python 3.12 installed and available as a "global shim" so that it can be run anywhere. The following will make plain python run your OS-wide interpreter, but will make 3.12 available via python3.12.

$ pyenv global system 3.12

Install uv

We use uv as a virtual environment creator, package installer, and dependency pin-er. There are a few different ways to install it, but I recommend installing it through either brew on macOS or pipx.

Development

We have a just recipe that will:

  1. Set up a venv in venvs/dev/.

  2. Install all dependencies into it in a reproducible way.

Start by adding any dependencies that are needed into pyproject.toml or into requirements/dev.in if they are needed for development.

Next, generate the pinned set of dependencies with

> just venv-compile-all

Create and activate a virtual environment

Once you have compiled your dependencies, run the following:

> just get-started

Activate your development environment and run the development task:

> . venvs/dev/bin/activate
> just develop

License

Bytewax Ordering is commercially licensed with publicly available source code. Please see the full details in LICENSE.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

bytewax_ordering-0.1-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file bytewax_ordering-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bytewax_ordering-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53f53f0db8219a21a1ac461ff9305521c2584c99beab0d29081cd739726f8d5c
MD5 d90aabb1743312b42ced2dda150d8e5a
BLAKE2b-256 66f74a2da9c5bf8d92635a63a7d72d2ddb04f8aaf8e53ce767badeaf11a0d4e7

See more details on using hashes here.

Supported by

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