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.80.tar.gz (31.7 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.80-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bollhav-2.0.80.tar.gz
  • Upload date:
  • Size: 31.7 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.80.tar.gz
Algorithm Hash digest
SHA256 698d06ad9bdd0b4eac0d84dbf906000c9f4d4b8d8b46fe1d9063367cdc3708f6
MD5 8d011869ec3b77b3b9b6622f90d2f7ea
BLAKE2b-256 c62e0a85dc826107c334f4b89115a5f17772de649a79181c6c9d5c3a32f6a228

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bollhav-2.0.80-py3-none-any.whl
  • Upload date:
  • Size: 28.2 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.80-py3-none-any.whl
Algorithm Hash digest
SHA256 99799e5659440823cf389f9fa7bc1d4fe75be43beea5c03f7d8729e0b9fba3f0
MD5 81bf1269c41ef5d43cd05c595daee55d
BLAKE2b-256 a1d157c962cea050b77998cba36223becc08c030ebe25f443a1259dc9232f30a

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