Skip to main content

sqlfluff-templater-sqlsource

A sqlfluff templater for SqlSource queries. It lets sqlfluff lint and format the .sql files of a SqlSource project, with their {{...}} tokens and -- name: headers left as they are.

Install

pip install sqlfluff sqlfluff-templater-sqlsource==<version>

Replace <version> with the version of your SqlSource package, as the guide says.

Use

Select the templater and your database's sqlfluff dialect in the .sqlfluff file of the folder you run sqlfluff from:

[sqlfluff]
templater = sqlsource
dialect = postgres

The guide at https://mbcrawfo.github.io/SqlSource/guides/sqlfluff.html describes what sqlfluff then checks and how to configure it.

Metadata

Release files for sqlfluff-templater-sqlsource 0.2.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 sqlfluff-templater-sqlsource 0.2.1
File Size Uploaded Provenance Actions
sqlfluff_templater_sqlsource-0.2.1.tar.gz 39.7 kB With provenance Details for sqlfluff_templater_sqlsource-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sqlfluff-templater-sqlsource 0.2.1
File Interpreter ABI Platform Actions
sqlfluff_templater_sqlsource-0.2.1-py3-none-any.whl Python 3 none any Details for sqlfluff_templater_sqlsource-0.2.1-py3-none-any.whl

Total release size: 90.9 kB

Release files / sqlfluff_templater_sqlsource-0.2.1.tar.gz

Download URL sqlfluff_templater_sqlsource-0.2.1.tar.gz
Size 39.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3cd4c0caf54f655905ca8d05e89b30c733a9ddf5515751f5adffdac052227f72
BLAKE2b-256 checksum
How to use checksums
912a681bb187f9f83b66db5cbb90320fa2b8e47fc1f40735cfe614d8ed2135f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 29, 2026.

Transparency log

Release files / sqlfluff_templater_sqlsource-0.2.1-py3-none-any.whl

Download URL sqlfluff_templater_sqlsource-0.2.1-py3-none-any.whl
Size 51.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a23440f8a0320713501cb082bb4b01ae678c9ccf3a88c79255f28ebb8e0a92d
BLAKE2b-256 checksum
How to use checksums
1d98785d3905aea03c72f9ba55a9ac6766eb8de7ed90e8e1a7dcf80ce3d35b19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 29, 2026.

Transparency log

Security for sqlfluff-templater-sqlsource 0.2.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sqlfluff_templater_sqlsource-0.2.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 Nov 29, 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.

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