Skip to main content

A SQL linter written in rust.

Project description

sqruff

SQRUFF is an innovative SQL linter and formatter for modern development environments, written in Rust. Key features include:

  • Linting: Advanced, customizable SQL linting capabilities to ensure query quality.
  • Formatting: Automated, configurable formatting for SQL code consistency.
  • Portability: Designed to be easily integrated into various development workflows.

Getting Started

Visit sqruff's official site to learn more about installation and usage.

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines on how to contribute.

Releasing

  1. Bump the versions in sqruff-lib/Cargo.toml and sqruff/Cargo.toml.
  2. Commit the changes.
  3. Push the changes.
  4. Tag the commit with the new version
  5. Release sqruff-lib crate
cargo publish -p sqruff-lib
  1. Release sqruff crate
cargo publish -p sqruff

Installation

rustup override set nightly
cargo install sqruff
sqruff --help

Community

Join the sqruff community on GitHub Discussions to ask questions, suggest features, or share your projects.

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

sqruff-0.25.13.tar.gz (877.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sqruff-0.25.13-cp313-cp313-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.13Windows x86-64

sqruff-0.25.13-cp313-cp313-win32.whl (4.2 MB view details)

Uploaded CPython 3.13Windows x86

sqruff-0.25.13-cp313-cp313-manylinux_2_39_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

sqruff-0.25.13-cp313-cp313-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

sqruff-0.25.13-cp313-cp313-macosx_10_12_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

sqruff-0.25.13-cp312-cp312-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.12Windows x86-64

sqruff-0.25.13-cp312-cp312-win32.whl (4.2 MB view details)

Uploaded CPython 3.12Windows x86

sqruff-0.25.13-cp312-cp312-manylinux_2_39_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

sqruff-0.25.13-cp312-cp312-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

sqruff-0.25.13-cp312-cp312-macosx_10_12_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

sqruff-0.25.13-cp311-cp311-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.11Windows x86-64

sqruff-0.25.13-cp311-cp311-win32.whl (4.2 MB view details)

Uploaded CPython 3.11Windows x86

sqruff-0.25.13-cp311-cp311-manylinux_2_39_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ x86-64

sqruff-0.25.13-cp311-cp311-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

sqruff-0.25.13-cp311-cp311-macosx_10_12_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

sqruff-0.25.13-cp310-cp310-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.10Windows x86-64

sqruff-0.25.13-cp310-cp310-win32.whl (4.2 MB view details)

Uploaded CPython 3.10Windows x86

sqruff-0.25.13-cp310-cp310-manylinux_2_39_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.39+ x86-64

sqruff-0.25.13-cp310-cp310-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

sqruff-0.25.13-cp310-cp310-macosx_10_12_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

Details for the file sqruff-0.25.13.tar.gz.

File metadata

  • Download URL: sqruff-0.25.13.tar.gz
  • Upload date:
  • Size: 877.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for sqruff-0.25.13.tar.gz
Algorithm Hash digest
SHA256 fd4abfb03926bb481c1f740419ff1168bc76e2fb52cc8bdbf367ce4f44778d25
MD5 ce1f600c7a164fe2eaa8f9ce55634db6
BLAKE2b-256 47c7018e260d88cc442c8de2c2868b7cae94e699f2364f676e2afe097fa9b01e

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 561b6bdc2288bc03bed1e734a7a981c167b2a209de104b2f03a5a82c6c37c841
MD5 32c33ef67ce36dafa457ac6b2fd9cec9
BLAKE2b-256 e6aa10ca463f67f5ee0ca911af421447c0d66258c3b05437651643f3230de3e3

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp313-cp313-win32.whl.

File metadata

  • Download URL: sqruff-0.25.13-cp313-cp313-win32.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for sqruff-0.25.13-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 eeb38108dfd6c11615ddce582c1e100f72ec7b811dfe46a494beadffb6de07b6
MD5 f8d122bb17aa8de4e19e08de9542a1ea
BLAKE2b-256 a9fe94970fb9decf56b79567ef6ee0f1392cac56207287dc489e3d4f5ebad5e2

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 6a88861da8368ae944e06252b8d6557006b02925f4b435524f851b18add6c33f
MD5 47e6cb453258f32488b187b5ef69fcc9
BLAKE2b-256 f46f771c4fd619ad256334bea3cf52ef97b17d9872b63217528a824b5e5d6a27

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1deaafbfeec0fa3f2001bb144afa8e735ec6e9c35f858e7b0d1548af27f1f081
MD5 aa9dd2cc6383f2f083020176c1518fa7
BLAKE2b-256 d261f00c3e6d3d352503d1bf051d9097af215c38c46fcd31f7762917d5246b95

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 07a4c08442895e81a9a8494cb2859b5ed25d2f3fece28a66c4b61398a3d9e125
MD5 46b70dafdb5bed548fcde3a24dc81e25
BLAKE2b-256 47af0c07be9b5df394f9d5782bbfd0ea764ee58e1cfdadeffb0c308925013613

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 825a92c17b97384917c873f06593307ba9be55441297895c7be5409a0282e1d1
MD5 5086be62be02fd8f8ca1fb1868379dd7
BLAKE2b-256 a7679fb40fb1c845420fd7a4a5733db96297db2cfa59de355130f0f028a57e83

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp312-cp312-win32.whl.

File metadata

  • Download URL: sqruff-0.25.13-cp312-cp312-win32.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for sqruff-0.25.13-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 03f77c0457a6c95c2f13942f6d1becc22d05d8079f973da43a365b72635fd607
MD5 bc9d5d0cb65443d1c2a0bb16a6f0f43a
BLAKE2b-256 f8effec1604adc7b98374a9a593c3ea6d097a808ebb1ce57424e9ef18fb2c4f7

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 33788b49f8e5ef9d3aa7fb6a9fc1f9fb60f33f9571e803fc696faa485be91177
MD5 1b54884fb1d674734c528aaf0b0f5331
BLAKE2b-256 ce70473bb0eef0e7d230d7d0ba6dff0f9c5a78c3f547a147bb0cc962b0f1ab2c

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a1acc29cdc75af5f72a8b04638bc116c69e6e271458a216c4e59245531e5bd09
MD5 1fc1b9fec027b55d4b2e136449626a1f
BLAKE2b-256 d2346ee2e5da63da1fc51bae09790ad69884dc15d799c3c620d12f39c3de0dca

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3db82d40ba448c028718721ada51ecdb0b345a303712feb6580fa7e22b04dd2c
MD5 671b6c654f0b1a9d4b064efad54416ad
BLAKE2b-256 d2272aac242b40a48f664a74c86e040698ebb63b53f0ce3ae2eea264f593117d

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 63d46dc7f1093d6acc33832144e0990ddd3cb451043684ab83faa65121fa3911
MD5 9afe9aef074d44648067d6e7fbc44526
BLAKE2b-256 e208f4d81e49f6343482cd8bcf9426d1a12a35a79a4cdb868c33133e88d9a1c3

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp311-cp311-win32.whl.

File metadata

  • Download URL: sqruff-0.25.13-cp311-cp311-win32.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for sqruff-0.25.13-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 15f6f1d9d68bf6c29030411751742faed0e33ce9447e0dbb6342832b80b64b6f
MD5 2ceb486c6a0d94f138cce5ab7ca11258
BLAKE2b-256 cda4302502a42244581f3ba3d1a24ea0f6ff53d48e7dfad27c0773b14df80af1

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp311-cp311-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 2a18a4524d9fe6f2fec1de21f319807370608fd2919f4aa2438427eeee1911a3
MD5 f030e7d26cfc4991c23a3692443420b5
BLAKE2b-256 884f680f46ff821672f4c6f44c744db896b80730f7d8809329a483a370a7b1c6

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3fca95cfcafcf8cc2912cb04e487fccdc80ace0788ef8be17164d7ae04f10b62
MD5 5fec53a7232e1a24297bba137066d799
BLAKE2b-256 fa833e71ad991fe55b92639961d2c12e4757f92c9acf0367dbebff0da150ce24

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d26eeb8ba02eb8ed7e689fec9cd642693c9bb939b31589b33c2ac7fcf2f7eabd
MD5 4f1d2b054f5a95d4c75e42358c660ba1
BLAKE2b-256 8c1583293c37de0c150f2c059475bc8aaffd3d16a5e1b485870030953507e029

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 eba422d0a8817237decd1253d768f75f0acf9d6de6251c1a8b934592ea282b71
MD5 f089cee6886ab7ff475c1dc3f133c9b8
BLAKE2b-256 53a6966a6a3330845d5b58801afb665ebdc92b51fcef74b653ed5f891c700272

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp310-cp310-win32.whl.

File metadata

  • Download URL: sqruff-0.25.13-cp310-cp310-win32.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for sqruff-0.25.13-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 ddd45768e82e0ba9ad124ba87081c42c462285f2292f7431ade7f9a8c00c928e
MD5 a9f83172884d88b9d644f7eb9a7dbde1
BLAKE2b-256 6cbcd6e9acb736efd1ad5da503113fa874f076ad493afb52a871cb11465b0de1

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp310-cp310-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 1259048615e1a5c0934e31dffc1b9ade007c3af2ff5ff0ab5accc56e444d4abd
MD5 525bab342a5dcb07a97e2eb26b28f8e8
BLAKE2b-256 3dbfcc79b996c918c2feb18890b9eea78139bb1562e2968194264f44404900b7

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe9560a01ce51a05a217aa49e91479b0788a3eb6debc232e0ea5b91e62cbdfa0
MD5 a01bf2eff1e27da56dffac06a8a905f8
BLAKE2b-256 5808cf39a9e292ce44435a1cdf773d2b165d975a5dfd5e1fc28cbba99ecd93ab

See more details on using hashes here.

File details

Details for the file sqruff-0.25.13-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for sqruff-0.25.13-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 50ef56d71f25e797bccda003d981d8bf3421cf0d2712d623514e0d12d8b19eba
MD5 b8292d64b9b4c079319a62102725cd10
BLAKE2b-256 e7119508e3ea839fec475ac12f7f0cd531cc5c4ad97305db28b784fe469380ce

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