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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.12+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.12+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.12+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 11.0+ ARM64

sqruff-0.25.17-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.17.tar.gz.

File metadata

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

File hashes

Hashes for sqruff-0.25.17.tar.gz
Algorithm Hash digest
SHA256 0084ca18c38bfa6e816322a3dd0eb977f786778fe8ce34748c0b1e19bf79695c
MD5 5e94877a86377ad032f2422e358547b7
BLAKE2b-256 775955de830342e68994134dce9298cbad9bc9a3ca23adf2ddd95de5da750300

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c2d2573fcf0fdddeebb02b01f73f94daf04ad9e4f6e3ca0ff27a459628103a42
MD5 cf0d3cfa2395eefd12305bcf6a6a5e88
BLAKE2b-256 f65d0e1eb3b246dcdf9e6078bdf72e157aa7d344bb635593cfc8825b55db4fe1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.17-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.3

File hashes

Hashes for sqruff-0.25.17-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 e3025212ee355d2a9417961ba5ac7bbfe0c03bd25a7c299beba62d675d014e0e
MD5 d468cbb60ca23e268735581a0c443e1f
BLAKE2b-256 4a8a0ded69a955807ab4e1f3ab4199a168a47ce3f6804c798ed15f95daeef259

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 91d8070df2a643027cf12286c73dcaa7c57709c5de1177708f9882df257d1c96
MD5 a7e5347ec73580c698df00c4cb04cc53
BLAKE2b-256 1e5e6392b4ecef676d22e6789df6e6facc46749f129e9c5c3ffc9c565f254f8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9d416d9681e1293997e87fa06040b968b300152ad7dbb6a29410399ed03da781
MD5 8c927101f0d2f2bdbbdb1b1f89932650
BLAKE2b-256 1197037d61c2a29b47d31bf2f5e9653abd8b3d058a500b2cbc885318348a9548

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7e7319cb9c84b5e79c7d032a64d3c21b1ff6540e26602f666cb457ec96e3a71c
MD5 63679e1079b564e2d13a78635bbdc20d
BLAKE2b-256 0cbb0b08ee361c7536ae6d351f8dab6b0098fcbdb3998eb0edff8244dec9e7cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f5b36251cf50d5c57daaefb0a412f8d2e0f0900a32ff2babc425d771ece1406a
MD5 5f09f90fa60faade2ba362517583774a
BLAKE2b-256 e16f9674607650f6bd70c0ed4d772ede4b2bfce0340aba6b650fe337424493c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.17-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.3

File hashes

Hashes for sqruff-0.25.17-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 3a996f3742a0ba6bbabd3fa6191faa5c8eea197dd5987a824f189480d0b7bf32
MD5 563ce9b4a91cd0c5877958ea2115071f
BLAKE2b-256 51a1dbcc4ba01cb3bbb1e098eb1d399198d83653177e64906e43ab54b069f322

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 60544351fce462c6b6ca62810899797fd05fc3f2ff6170e6a613e558b2157345
MD5 adca8c1cbd4b43236162df056497ca00
BLAKE2b-256 97658a8023d321561ec4db76f4186c1fd66f6859db71cb11194c1f8c65e95a32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c73f1e6969f2d4b375b534333ce43939344a574b4e324263b19fd57f3e46a853
MD5 6514cd166e5a93102915e2983e7d77f8
BLAKE2b-256 57b89d036cc43ff888deb1e6232f05a8032992cf5a884da90e5db2f804409756

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 51799a31af14a609f690f0a78e48c89754f78674d16e13298917af02c7193e1d
MD5 b671f3b67eab631a8d072229007cab55
BLAKE2b-256 51df75b1b5a48ec8495563299b21bea7993e4f4d42641cd957d93bb17afbea49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 95e80ba745e52d2856895cfa31bf75fdb479bf6aa30c6e5b7e093f8d15b494fb
MD5 7752fc00d993cf34c9e14dd08102e962
BLAKE2b-256 a59fdb176bc6ecf8b28407920966cdcd20b11fe6aed4297e6dd33fb69d5b7514

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.17-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.3

File hashes

Hashes for sqruff-0.25.17-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 d9a063570610d460fe2431b7f0045f30792874012a75229109ddd16a58c89983
MD5 2077f4e04fef3248a128ae48409f378f
BLAKE2b-256 87cf68719d8604e018eaabe2177afd015d4c4487ed66681613a307d5e0d4439b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 b1fe48c9164673d097eb894fcd75cbc77893f216295b2d0fb94d5a4a0cb2afc0
MD5 d4f372387cdc13ad25df31b344627056
BLAKE2b-256 5d4bba7fc38527f68995d182aaea689f49d40626f45ca98c6e0439f467a37148

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bb015c7d3d82cdc9889014556cda03730d13b309d0309d0ce2613274c67f9c2a
MD5 6b67ebb640be29828775a9893b148316
BLAKE2b-256 4f9af2aa3e52b1ef90c90171ea7c16fbaceff2518c0bc6771a80d2b825d37064

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 dc0e471fd350961143594b062568f4cff8a360865bee9c4d9dffbfd819374b3d
MD5 779b45171a0df36e19ae9501a0e78d8a
BLAKE2b-256 61d2c55714ae00763992925c036258a31e9e241fb1dab62ab028e6920ac5a545

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e2088ba99612c3066c3421e5f05fa2556fa924046ff1d72eb087ea4a5e2f1eec
MD5 f8b380c4963accb5aca4efaef3fbfd0e
BLAKE2b-256 5f532ae2988b88e4b53f224a73e50bf83cc02d835eb5a91e94e3b9846e9fd06e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.17-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.3

File hashes

Hashes for sqruff-0.25.17-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 96d0d7f16958acb6247c1bfc5167dd57da225a33a0fe835c935ff4176a6b485c
MD5 24c14e77cafcaa4ceaa9bfaa8fd27e78
BLAKE2b-256 9f04e2998701a143ff34da3e3e2da665770946ff180548d1aebd9d0241b6ff54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 6d5084c0157c2be58202c714b2d85cff3ddaca02cdadea1db0921d9e48672f62
MD5 1c3ddc9f78f9733457cf3a8fd30104c6
BLAKE2b-256 345c8963c673097b752c9ad6a52f04eced4dfb2a389f85b36a1bbd547b5c5486

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 720d956abb05531df55ab6e7b394a93e3f3afe8f761bd058d60fed64e88f25e5
MD5 07243024e0c08fc40588d2dff5168c93
BLAKE2b-256 10e3b8a9b5dcc9cee0406e9733ee28eacac770d9de6c849f4de4737e6acc9d3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.17-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b299d51d4c68c54c26f62c6c2fa162641236b2b6241fb81920b8e69dcb5fb1d5
MD5 2c7e32bebd1e1652ac68325995a33945
BLAKE2b-256 fae9e112a30cd990c8f6eeba251fdfc7400dbbbc7e30c5ae3a175cc6b0b4e6c7

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