Skip to main content

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.

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.35.1.tar.gz (39.2 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.35.1-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netbek_dw_lib-1.35.1.tar.gz
  • Upload date:
  • Size: 39.2 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.35.1.tar.gz
Algorithm Hash digest
SHA256 cd77fa1a51c111f99a7dabac6642b062158cb1bed60ff2759c581db604b8da14
MD5 ef9dc1c8b10dd151ebc021bb56fcfeb2
BLAKE2b-256 f96984d911a8f0a7cca206ea609b8d7adabd3cb7c7a0e50c7dee016311bb8ba9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netbek_dw_lib-1.35.1-py3-none-any.whl
  • Upload date:
  • Size: 50.7 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.35.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2792abccca531ed174389c8659d64babb57e226b070b00a1eb9447a428b0a3c8
MD5 ed1d61ba90568915969d41602ae7d61f
BLAKE2b-256 917730c756dc53a7243878599eff5e026e801a725c3c7705b5e41f61d4d21fd8

See more details on using hashes here.

Release history Release notifications | RSS feed

1.36.8

2 files

1.36.7

2 files

1.36.6

2 files

1.36.5

2 files

1.36.4

2 files

1.36.3

2 files

1.36.2

2 files

1.36.1

2 files

1.36.0

2 files

1.35.3

2 files

1.35.2

2 files

This release

1.35.1 This release

2 files

1.35.0

2 files

1.34.7

2 files

1.34.6

2 files

1.34.5

2 files

1.34.4

2 files

1.34.3

2 files

1.34.2

2 files

1.34.1

2 files

1.34.0

2 files

1.33.0

2 files

1.32.12

2 files

1.32.11

2 files

1.32.10

2 files

1.32.9

2 files

1.32.8

2 files

1.32.7

2 files

1.32.6

2 files

1.32.5

2 files

1.32.4

2 files

1.32.3

2 files

1.32.2

2 files

1.32.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page