Skip to main content

sqllocks-shape-dbt

Shape plugin: dbt integration. File-based and dbt-Core-generic: it reads and writes dbt's files and never imports or runs dbt (dbt-core is not a dependency).

pip install sqllocks-shape-dbt

shape from-dbt my_dbt_project -o shop.gen.json            # a dbt project as a generation schema
shape to-dbt-tests contract.json --model orders -o models/_shape_tests.yml
shape dbt-seeds shop.gen.json --project my_dbt_project    # generated data as dbt seeds
shape dbt-report --run-results target/run_results.json --manifest target/manifest.json
Entry point Name
shape.commands from-dbt manifest.json, schema.yml or sources.yml to a generation schema: unique and not_null give keys, relationships give foreign keys, accepted_values give enums, data_type gives types (decimal precision and scale too)
shape.commands to-dbt-tests a v1 contract or a profile to schema.yml data tests (dbt_utils, dbt_expectations), with --merge into an existing file
shape.commands dbt-seeds generate a schema's tables as seeds/*.csv with a seeds: block of column types
shape.commands dbt-report one report for a dbt run (run_results.json, manifest.json) and a Shape check and drift comparison
shape.sinks dbt-seeds dbt://PROJECT_DIR: one table as a seed

Everything is described in docs/DBT.md: the mapping tables, what dbt tests cannot express, seed size guidance, and the Fabric pipeline pattern. A runnable sample project is in examples/dbt_jaffle_shop.

Tests: pytest -m "not dbt" plugins/shape-dbt/tests; with dbt-duckdb installed, pytest -m dbt plugins/shape-dbt/tests builds the sample against DuckDB.

Metadata

Release files for sqllocks-shape-dbt 0.9.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 sqllocks-shape-dbt 0.9.1
File Size Uploaded Provenance
sqllocks_shape_dbt-0.9.1.tar.gz 46.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sqllocks-shape-dbt 0.9.1
File Interpreter ABI Platform
sqllocks_shape_dbt-0.9.1-py3-none-any.whl Python 3 none any Details

Total release size: 79.9 kB

Release files / sqllocks_shape_dbt-0.9.1.tar.gz

Download URL sqllocks_shape_dbt-0.9.1.tar.gz
Size 46.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dcaecd4246030744e83a0107ab1f9d6a46f2b959d023cb90a07e0db2436b54b4
BLAKE2b-256 checksum
How to use checksums
d6b49507f2221abbe5da3c10ac0729369fb2bd5adf5446519e4dcc16e823a32c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / sqllocks_shape_dbt-0.9.1-py3-none-any.whl

Download URL sqllocks_shape_dbt-0.9.1-py3-none-any.whl
Size 33.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4b0951ac2c751cdfbe7876ecc4854dc0af8f294cc44ad28b72399a0153a2a42
BLAKE2b-256 checksum
How to use checksums
73fd52c3afecc38e35c0082af688906bcb48ef60d2d1bca7608d3cb45ebd593a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Security for sqllocks-shape-dbt 0.9.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sqllocks_shape_dbt-0.9.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.1 This release

2 release files Full provenance

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