Skip to main content

VDL Tools

This repository contains a set of tools which are used at Vibrant Data Labs.

Tools

Installation

For Users

Install the package from PyPI:

pip install vdl-tools

For Developers

  1. Clone the repository:
git clone https://github.com/vibrant-data-labs/vdl-tools.git
cd vdl-tools

Hatch

  1. Install Hatch:
pip install hatch
  1. Create development environment:
hatch env create
  1. (Optional) Install pre-commit hooks:
pip install pre-commit
pre-commit install

Option B: Using PyEnv + pip

If you prefer managing Python versions with PyEnv:

  1. Install PyEnv (if not already installed):
# macOS
brew install pyenv

# Linux
curl https://pyenv.run | bash
  1. Install Python 3.12:
pyenv install 3.12.7
pyenv local 3.12.7
  1. Create a virtual environment:
pyenv virtualenv 3.12.7 <yourenvname>
pyenv activate <yourenvname>
  1. Install the package in editable mode:
pip install -e ".[test,lint]"
  1. (Optional) Install pre-commit hooks:
pip install pre-commit
pre-commit install

Development

This project uses Hatch for environment management, building, and publishing. However, you can also use standard Python tools if you prefer.

Quick Commands (Work with both Hatch and PyEnv)

# Run tests
make test

# Run tests with coverage
make test-cov

# Run linters
make lint

# Format code
make format

# Build package
make build

# Show all available commands
make help

Using Hatch Directly

# Enter development shell
hatch shell

# Run tests
hatch run test

# Run linters
hatch run lint:all

# Format code
hatch run lint:fmt

# Build package
hatch build

# Bump version
hatch version patch  # or minor/major

# Publish to PyPI
hatch publish

Adding a New Dependency

  1. Add the package to pyproject.toml in the [project.dependencies] section
  2. Update your environment:
hatch env prune  # Remove old environment
hatch env create  # Create new environment with updated dependencies

Or if using pip directly:

pip install -e .

Contributing

Please see CONTRIBUTING.md for detailed guidelines on:

  • Development setup
  • Code style and quality standards
  • Testing requirements
  • Pull request process
  • Release workflow

CI/CD

This project uses GitHub Actions for continuous integration and deployment:

  • CI: Runs tests, linters, and builds on every push and PR
  • Dependabot: Automatically updates dependencies weekly
  • Release: Automatically publishes to PyPI when a version tag is pushed

License

See LICENSE file for details.

Metadata

Release files for vdl-tools 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vdl-tools 2.0.1
File Size Uploaded
vdl_tools-2.0.1.tar.gz 23.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for vdl-tools 2.0.1
File Interpreter ABI Platform
vdl_tools-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 46.6 MB

Release files / vdl_tools-2.0.1.tar.gz

Download URL vdl_tools-2.0.1.tar.gz
Size 23.2 MB
Tags Source
SHA-256 checksum
How to use checksums
1ca82563ce1ed5bcef4dfeedcab81fed9e2a8cb2ceb2a20445cea8c2b5feb1bc
BLAKE2b-256 checksum
How to use checksums
96e629818a1e4e13b934201ae1bc5732cb3180822ac7f13b90060e413c36d877
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / vdl_tools-2.0.1-py3-none-any.whl

Download URL vdl_tools-2.0.1-py3-none-any.whl
Size 23.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f857d1a58d78a102200b04db93225069067402d8f09c8c5674cd10081f97b02b
BLAKE2b-256 checksum
How to use checksums
09216e72878408a65ba10cbad32290fb1edbe84876b593944e0a6828aa759aed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release 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