Skip to main content

Bytewax custom sink for DuckDB

Project description

Actions Status PyPI Bytewax User Guide

Bytewax

bytewax-duckdb

  • TODO: Add project documentation

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.

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.

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-duckdb 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.

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_duckdb-0.1.1.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

bytewax_duckdb-0.1.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bytewax_duckdb-0.1.1.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for bytewax_duckdb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 75bda869e9ec9bb9b5ac1b1c27ee4b41b6280613aa93a3e259e1a8c326a6591e
MD5 f0d66164bdaaaa7e4b4ec243f94313dd
BLAKE2b-256 6e2e4c1d90a9756648e84de965191fcf23ef5be5448e58d6cc5207ad11256854

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bytewax_duckdb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 266a64d5b9e7fc6472280df4cda278ab396e0bc9abd4e765708716aa1494d19d
MD5 72ec1ad023f6c394b25953adebf5530e
BLAKE2b-256 db05f6037e5af4f5c252ee0fdf3112fe22f5a60b375404e6d39367f76268818c

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