Skip to main content

Tools for working with Postgres, ClickHouse, and DuckDB.

Project description

dw-lib

Tools for working with Postgres, ClickHouse, and DuckDB.

Development: Installation

  1. Clone the repo:

    git clone git@github.com:netbek/dw-lib.git
    
  2. Install Docker Engine v23 or higher and Docker Compose v2 or higher. Follow the links for instructions or run this script:

    ./scripts/install.sh docker
    
  3. Install Nix:

    sh <(curl -L https://nixos.org/nix/install) --daemon
    
  4. Configure Nix. Edit /etc/nix/nix.conf (for a multi-user installation) or ~/.config/nix/nix.conf (for a single-user installation) to include the following lines:

    experimental-features = nix-command flakes
    trusted-users = root <USER>
    

    Replace <USER> with your username on your computer.

  5. Install direnv:

    sudo apt install direnv
    
  6. Enable direnv in your shell by adding a line to your shell configuration file.

    For Bash, edit ~/.bashrc:

    eval "$(direnv hook bash)"
    
  7. Allow .envrc:

    direnv allow
    
  8. Create a PyPI API token, and add the token to the system keyring as the password:

    keyring set pypi-dw-lib __token__
    

Development: Usage

Build and publish the Python distribution package:

make bump-version [major|minor|patch]
git push
make build
make create-release
make publish

License

Copyright (c) 2025 Hein Bekker. Licensed under the GNU Affero General Public License, version 3.

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

netbek_dw_lib-1.34.7.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netbek_dw_lib-1.34.7-py3-none-any.whl (50.5 kB view details)

Uploaded Python 3

File details

Details for the file netbek_dw_lib-1.34.7.tar.gz.

File metadata

  • Download URL: netbek_dw_lib-1.34.7.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for netbek_dw_lib-1.34.7.tar.gz
Algorithm Hash digest
SHA256 32c8d6c8c81a18d4d6a75417362a8bbbedb447b0f9b1b157ab12b7b8ba65bbbc
MD5 362bbf4b5c912e6d3ae32f3039852470
BLAKE2b-256 010eba22bbe612575be2de20673a99b0d74e1852bb5624f674ee66b2bb12fe2e

See more details on using hashes here.

File details

Details for the file netbek_dw_lib-1.34.7-py3-none-any.whl.

File metadata

  • Download URL: netbek_dw_lib-1.34.7-py3-none-any.whl
  • Upload date:
  • Size: 50.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for netbek_dw_lib-1.34.7-py3-none-any.whl
Algorithm Hash digest
SHA256 705803421178de8534fe36fe0a8343938256975ce9dd05ffbc8a339f9eae9990
MD5 f5cddc8a65d41132ff9102a4e3ef28f4
BLAKE2b-256 f19e2fc23ad4cc9ee57d5b4f1252e8e69dc25df5cec504e2b6d6801323f72449

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