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.3

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.3
File Size Uploaded Provenance
sqllocks_shape_dbt-0.9.3.tar.gz 46.3 kB With provenance Details

Built distribution (wheel)

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

Total release size: 79.9 kB

Release files / sqllocks_shape_dbt-0.9.3.tar.gz

Download URL sqllocks_shape_dbt-0.9.3.tar.gz
Size 46.3 kB
Tags Source
SHA-256 checksum
How to use checksums
90b9da455c3fb8d7f260fae7606994495d4248ca0c57b606375203f978369cb6
BLAKE2b-256 checksum
How to use checksums
9436f04e437c11eed2414e4118b10b305be28613cfb9e07a41577d420f27241f
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 14, 2026.

Transparency log

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

Download URL sqllocks_shape_dbt-0.9.3-py3-none-any.whl
Size 33.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee7cecfa963452b367b05d51417ba8614a247e378e39bd204f16c925461ea3bf
BLAKE2b-256 checksum
How to use checksums
b89047b69bb7a0aa0c5f157d04f0b70f3f7e1bf6461509988235f40af192271f
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 14, 2026.

Transparency log

Security for sqllocks-shape-dbt 0.9.3

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.3.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 14, 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.3 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