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.11.tar.gz (878.3 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.11-cp313-cp313-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

sqruff-0.25.11-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.11-cp313-cp313-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.12+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

sqruff-0.25.11-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.11-cp312-cp312-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.12+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

sqruff-0.25.11-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.11-cp311-cp311-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.12+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

sqruff-0.25.11-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.11-cp310-cp310-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

sqruff-0.25.11-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.11.tar.gz.

File metadata

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

File hashes

Hashes for sqruff-0.25.11.tar.gz
Algorithm Hash digest
SHA256 d13da19fcb817602bfb29a40195f16d001b2eb765b72bb77a6c547c184ccdd9c
MD5 61d8ec0b26547931c724e29526e33f03
BLAKE2b-256 887a361175b7140943557aa9c5d39df0a15c7f0ce9e96d8153f1520889aa09d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 254d1066796d77481143c25be5098c32408dc725bd1cdab30b81db313c13d54d
MD5 f24a3e6a805e4cf86798863c7c4134f9
BLAKE2b-256 e724ee10cd686f533188c1c134cfc37869bc1cd99d241389712e2e81cd76b595

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.11-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.11-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 38f07f661a0efb323467cfcd804db425199240a959fc4b74f215732573d2b574
MD5 cd2363bbad4aafbf172c7861f561e29f
BLAKE2b-256 8e4778ac649879d2f95dd874be5749173882b3a81f21d5613a71b12035b7f9c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 a208260a07eabb7f7a889095395a6c64db9807f83d3aee050ea93385d57b7cd9
MD5 a8a9eaee44659ffdca173461c6f28fbd
BLAKE2b-256 003712a02d5007e29a6909634b858d1873628d9ce09bef32451aec50102a2131

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b5e0f4988bf9707f080b24e74c413c7a5a8852e6d2eb44182a8e69ebf11aa4b
MD5 76eb4dc43a97b0d76958e6054d7b7593
BLAKE2b-256 9f84f193375a631414eee77056c751690ccf978553c22fa6cfb014f337521fbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a7a2cd429f7bb9a18fe5f4a63affe30801569fceb5871cfa1255113597bc3b86
MD5 73f274d93f1e0c21f08b84ff908ee89f
BLAKE2b-256 9497e07fca918ea4d215b34bd2f4a266da514987d201cb33f259559ddcf3701e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 aa6684904fd1aa6914b69e0bc86a45a2714ae0a0d328cfdb5d4dc9fb63b6eaba
MD5 fbd7a0312d0900052bdefb17be2b6ac8
BLAKE2b-256 085efb81c53eaf9fa932f735b553283fd748d9a4b4d7279f1e6d9716e904d4ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.11-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.11-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 1f4e0b71a9cb626b9c16ca720dfec9b2bc386f81acc8febd3e8f1b8a5cee56ea
MD5 47e0eb6e85b1fafe0930a45a03842e43
BLAKE2b-256 74b4766edac37afa923e13709dce27ec89bf5a588170d11ce661f90f17259e79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 d6b0f6639a7c04b4f9fee3e391e30be627a19ccb44ee679a3d5dfeaa42dac880
MD5 0c0e678d277623635c51dac5b0bf09ec
BLAKE2b-256 3b6602ac81e67dd866b3cb91273323c9a8ebcc93fc0ab5f6137af0995818547f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bee7bac246f1b9ac62911b758b575e05234f614f001b9d6e18a43b9c25a64be2
MD5 9d81ab420c646ec998e3148860eac84f
BLAKE2b-256 436924e5555aca4914a1215341f05fbcc81eb9dc47afc1812d90a42c2815087b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1c378ec970303e1c8b3ca4d8b42e6164f133ce20d9711079cd98156832ccf1b9
MD5 8ca78638b7fb68b24afcc5ce4f597aad
BLAKE2b-256 2a819d75cede873a4b4f022b3ad9efabf8edb4b82b907fc79a6c8ef9c65f6466

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3353ac067d4fac1529f8d7de88fde8662151eb05b540d2369aaa9275158343f2
MD5 87d230a7d4ac4fe0c98f129865901d63
BLAKE2b-256 57af8dfb76905a449e53a9854c34d174ae860892d2a6e6335cd8fb47d070457a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.11-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.11-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 9c3c1287f8452b29c18b0c7e14c80225bc64259ff2835ea0aacd6a44668d84e2
MD5 304c8fc7b4976df9c1ac319cddac7250
BLAKE2b-256 b6079fc3e12069e7691c249fb404ed4ca3811d71b83f22428fa5727025a24029

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 2552605a82c62dfdb9a4c6a9703a3ad2fd643ede3590a987074029d5ef9cceb3
MD5 873fe0c092508a19fea4db71c3341e4c
BLAKE2b-256 01d8c6d0c960a2dd7439e14cf548a557e4a0004f5ee0390733e1467df57ad6f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 07b1610d3540a7020e2a0e63850da1a182cbfc59f3d76257957002f36f6b6414
MD5 504940851038da012405608664a890a3
BLAKE2b-256 d23100dccc135e665d7a656e2d497b287492acde25abcc6bca828642cc175014

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 823105c2eba4534311bbbfad9257fd227407ebe2bf529ef047f58be8273b22c0
MD5 a4125a8d8e331582874cdc669515a187
BLAKE2b-256 98506163425dbbcd6093d45cb27a6560e18d0216b0ea940f192d56a775b1b180

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5eb68755297fa61825fea1cd832d7f07c299ea39620229adf8cb7cb3539d2291
MD5 0ec93334bc9aff377ee4596f941d1bb7
BLAKE2b-256 5e17979802e417c2214d08dfc409e6614857c0d880554d6dd1987e812cd3a6b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.11-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.11-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 49f770c93958fe927920175219f277d5f8528ddb38474e68cf225c959c5377c0
MD5 7a9066d566fc8c46dab48ba9aff933f3
BLAKE2b-256 fda520163a339923693ba2cec0284d056fd6e4d59c5d4af4a3f657d2d4ba6c38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 e4de1a0a0c28dcf442b2ff423b68b64b9baf256dae0ea7730509b3ae38551634
MD5 94f814923ca3e1751aef87c9082c5d96
BLAKE2b-256 e1e0b8d338e43ca984fa43708a71a45d9fb01030350823ef610d3a47a673faf2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9d57fda8b5ee0f8907480553c8bd62494db0f6f5fcf952d17b9e2d898ce11150
MD5 1af2c632277aae5e3a8ad15a8c02449c
BLAKE2b-256 4c28b6acaa4f50cdf61f1861a67bd00553f7b4c407d916d546faf7777165c230

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.11-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0a57a6ac3e00711fde9cc7e36c43e3136244ad36359a214fb21f437cef6166fd
MD5 e9a4c7db01a942a2c74a9315a259d388
BLAKE2b-256 1522ffac824c1c59e1d6ebeb5ed3fe04596cf87ae8149b12c3bf4f4b28c0f085

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