The select_time_range operator usually has two inputs. One should
be a stream of updated data, the other should be a "query stream"
which contains a stream of queries for that data. The output of
the operator will be the result of each query.
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.
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.12We 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.
We have a just recipe that will:
-
Set up a venv in
venvs/dev/. -
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-allOnce you have compiled your dependencies, run the following:
> just get-startedActivate your development environment and run the development task:
> . venvs/dev/bin/activate
> just developbytewax-select-timerange is commercially licensed with publicly
available source code. You are welcome to prototype using this module
for free, but any use on business data requires a paid license. See
https://modules.bytewax.io/ for a license. Please see the full details
in LICENSE.