Skip to main content

sqllocks-shape-sqlserver

Shape plugin for SQL Server, Azure SQL and Fabric SQL (warehouse and SQL database).

  • shape profile-db: profile a database schema into a .shape profile. The catalog views give exact primary keys, foreign keys, types and row counts; a sample of rows per table (1000 by default) gives the distributions.
  • mssql:// source: read one table as Arrow record batches (shape.sources).
  • Writing to a live SQL Server (the sqlserver sink, mssql:// URIs, bulk insert) is in shape-fabric, which builds on this plugin: see its README.
  • Shared helpers for other SQL Server code (such as shape-fabric): shape_sqlserver.sql (identifier quoting, connection strings and their redaction, catalog queries, type maps) and shape_sqlserver.auth (SQL logins and Microsoft Entra tokens).
pip install 'sqllocks-shape[sqlserver]'            # also: sqllocks-shape-sqlserver[entra]
shape profile-db --server myserver.database.windows.net --database shop --auth cli \
    --schema dbo -o shop.shape

You also need the Microsoft ODBC Driver 18 for SQL Server (and unixODBC on Linux). The full guide is docs/plugins/sqlserver.md in the repository.

Its version always equals core's (sqllocks-shape), and it is released together with core. How plugins are written: docs/plugins/authoring.md.

Metadata

Release files for sqllocks-shape-sqlserver 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-sqlserver 0.9.1
File Size Uploaded Provenance
sqllocks_shape_sqlserver-0.9.1.tar.gz 47.3 kB With provenance Details

Built distribution (wheel)

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

Total release size: 78.7 kB

Release files / sqllocks_shape_sqlserver-0.9.1.tar.gz

Download URL sqllocks_shape_sqlserver-0.9.1.tar.gz
Size 47.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e8e7e28240cfb8889421041378685d3391c3f9da4d6a158aa7ac6c353b574e9b
BLAKE2b-256 checksum
How to use checksums
cef96c36d37a6da64e59388cac0589c23b70d80caf12eb224a8f7730e0999101
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_sqlserver-0.9.1-py3-none-any.whl

Download URL sqllocks_shape_sqlserver-0.9.1-py3-none-any.whl
Size 31.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56034d6f937a9cc7df11d920c735c52a9d24f7b26777356c6911ca86f33704ef
BLAKE2b-256 checksum
How to use checksums
9b62b24a4956af6cc192fb4774ec5625cbfa5d35a8988281a89ed4dbdb3afa20
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-sqlserver 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_sqlserver-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