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.2.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

bytewax_duckdb-0.1.2-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bytewax_duckdb-0.1.2.tar.gz
  • Upload date:
  • Size: 21.1 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.2.tar.gz
Algorithm Hash digest
SHA256 c8d06acc0b1c95e22cb4dde9e73128a13b7c2d741a242ce6c69cd310a818611a
MD5 baa6ebb808205f01e39f7e6847b17450
BLAKE2b-256 883428ff9eb682ee04cb324a153966580a1ddcb1ee6ab9448431502a836bcf20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bytewax_duckdb-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 70e0ae69c54874cf1609c84359286653cccc11b88884dfc3b77c141cf08cd42c
MD5 09e6d1a3a1a6d2a50e531461557d2cec
BLAKE2b-256 37a9fe937425b035ed4d95a4201a08e7e989e1e194caaf462348e24bc98cdacb

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