Skip to main content

Standardizing models and pipes for data pipelines

Project description

bollhav

Model definition framework that standardizes code at pipe and model level using the model and pipe abstractions

This library

  • is permissive by design
  • is designed with ✨developer experience✨ in mind

Concepts

Implementations:

Demo

demo

Examples

A self-contained mock pipeline in examples/ demonstrates the full bollhav pattern — models, pipes, tag matching, and write modes — without any database connections.

cd examples

# backfill mode
TAGS="[all]" USE_SCHEMA_SUFFIX=false BACKFILL_ENABLED=true \
  BACKFILL_SINCE=2024-01-01T00:00:00Z BACKFILL_UNTIL=2024-01-11T00:00:00Z \
  python main.py

# latest mode (resolves the most recent complete interval from the batch expression)
TAGS="[all]" USE_SCHEMA_SUFFIX=false LATEST_ENABLED=true \
  python main.py

See examples/README.md for the full setup and available options

Installation

pip install bollhav

Testing

Tests use pytest. Run the full suite:

pytest tests/

Build + publish example

git tag 1.2.3 && git push --tags

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bollhav-2.0.107.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

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

bollhav-2.0.107-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file bollhav-2.0.107.tar.gz.

File metadata

  • Download URL: bollhav-2.0.107.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for bollhav-2.0.107.tar.gz
Algorithm Hash digest
SHA256 d78fe232e66a350999a2abe8d79f44f10a81b208414e8b3ecb66be5499aede1e
MD5 4be3676df70f9524794320c371e10408
BLAKE2b-256 f9a416a77eff3f3834a1935db15346dacc81654cbd33f2c846fcee64e712548d

See more details on using hashes here.

File details

Details for the file bollhav-2.0.107-py3-none-any.whl.

File metadata

  • Download URL: bollhav-2.0.107-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for bollhav-2.0.107-py3-none-any.whl
Algorithm Hash digest
SHA256 33714fb6d0564de43f29e59aaba5a7e0ab8d1e25284b81de783408268d5f7fe4
MD5 5c4719442e2c1af2c62f9a0f64828bb3
BLAKE2b-256 fa6add10c3f66a3a6823d827dc85261328a90d354a2b1c3ec168adb7524d7bfe

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