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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.12+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.12+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.12+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 11.0+ ARM64

sqruff-0.25.15-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.15.tar.gz.

File metadata

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

File hashes

Hashes for sqruff-0.25.15.tar.gz
Algorithm Hash digest
SHA256 8ed9cc7dc498d2ef7acf21ddade0776ebd21d0eb13e76c41bdb967d34120e2cc
MD5 ed79ffbfdb85e561839713554725b3be
BLAKE2b-256 d855f5f886079846c9801c6f563a77d97034a1a2f5a633ab772828a7b1169529

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3aa68603aa7a76f6ba39bc64ab905f6e01733f6445ebc956539f86d4916d7808
MD5 8e479b9467be848b4affc54a5a1a3244
BLAKE2b-256 53dae703c519375d4fa5d8aa1d78ad35a74696b559ef14e1a1040870b7771f05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.15-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.15-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 56ceea1b72ed817d8107b86dd8762c56e122c449760d11528f9185de75110249
MD5 52a93c6d72387b229e464e67e861cf23
BLAKE2b-256 a8e0a41acd1dceeb28e9b572eb8ed831bca7d6f8939635e94af4dde2c03dc2e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 9fae935fac2960aed153d90b911228a576e202cfbadcb903d43fe8d683d6a1d2
MD5 8c6d4c8122fc9eb9b053c979469b0101
BLAKE2b-256 5c9de40f225dfa0ebd8530179c69cba4872e69761b65154350698fae835304c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4edc5d39deb45ee31b8a56f1c22ac83c0a42797fb4698d7702820c31877d4e69
MD5 49087cf7c770e0fb87263644805e3579
BLAKE2b-256 ca0c4b4df343624af1154d505d4285ca0ccdae13dca41cf481aa08af7971635c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 72c5419608fd415f216095a0c3988a6ea01e4db337ed60fbb56df46b1dcb3f65
MD5 7c1252abd6835696da77615080e99cc4
BLAKE2b-256 3efe2e238dbdd26684b15e926c37621a28ecfe057d644c3a337acbec70ca0429

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6a2c2ff75a077304a617fdc5b83bb04146417ab2768066f8e75ede5049751e85
MD5 f8dce8f46690b2eca7e0e9c1e5f2cd95
BLAKE2b-256 bc9f3ea2c84c5539077ec2ca8e315d5fe0f2f585b78a5edd158cfefca9703941

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.15-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.15-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 ed024d6335e0bcd250ab4592d751c0fcedfad557d8f6e3c535beff513997ec03
MD5 ddac0d6d7a7d064e8c83be63bae887ec
BLAKE2b-256 ec4eb62a93530fb5d6f55b4727d325d3afd1440d6ae83f4fce8a42bd4b4ca6a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 d098348ec81d5443e1d8625a08e810713e8a1156b4c19b373f4bdaaeaae444f7
MD5 4896d5ff93fb2175f04c09fa649b1aba
BLAKE2b-256 d5c22330281c555c0a089526b459c9bc66ca9839dc9c577880eb1cdcfae4f71b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd869a2e6dda4331f6f7433519139937f9867731eb254a31c798cc6c7b557d28
MD5 bdd51f3823feddb965c2ef2fe642482b
BLAKE2b-256 4dae1f628dff3bee74381e8ab8281f816a5efe63296f234973da89ed5910c004

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c186c3467b113d61fac30bd1907a2b178b705a581c1f8230d5cb7093653bf602
MD5 ee16bd0fbed9d9eb70e41832139270cb
BLAKE2b-256 452e196cdd9ff0f41e37ac46f10c2cf0ee847279ebbb9d4b254b7812f1f93602

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1a59cf30cd5bc4dafaf04a1e12605a787b79d2341e8b0e508ba7df6a75441101
MD5 1ffacc916b2738099d7da0b30b1194f8
BLAKE2b-256 665eb82e9c1136b265d0f867076f3bd77e306c3b2b722213c5aa677a8fbcc1db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.15-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.15-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 cec5bcd6e093e55c5ee3b681ead047eb07665aed289a5e73678b429beb4e578b
MD5 91797b422e9731adc7ff1f9bd77054f1
BLAKE2b-256 e65f04c9db6842276a1169f3633c1c3ba587b8f165a7a5b60628b97a479d08cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7caa0de5c824c078cf1d14ac36822f4167f07ff7f56aa73d83faf63328a8a425
MD5 ffacf734be83ab32dd92f335e5dcb830
BLAKE2b-256 e4df93507c9cff7a53bb2c872a8e4868a6acbcf8c063356399c47a684c520c4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64ec758a812701ca66fe129c79350594eb2fe8300c5b32f5cd99b2f9c7d5bbf1
MD5 2454027836aad82d01d32884f70b8206
BLAKE2b-256 6ae99e615367680e77285a551a3a33f6cf3896f145342781df57aef4ee757e49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 103258e977c836098faf50daa35eb880e4e0a2ecad280275492815e4426f433e
MD5 efd2716e48afcfe02e0ec9bb58f30de4
BLAKE2b-256 f32d04223a0397a9e43c14aa4c32bdedbde20302b99e0400f1c2358b92b5dd46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cde5e60ef8429a909118d25138049a2c013676c8126a1bbea76f17d2a00515f8
MD5 f88b6e6b66ffa97357a9db3ad7e9bfa8
BLAKE2b-256 63e8135e637c4fcd7ab3471747485a78d51b2d4a118358f774f0f38d70e64077

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.15-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.15-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 7b6893958baa1eb72a07d2c83c4211d702fb8d1ccfff241de994cc2985df8033
MD5 8502e062106e4c058fe518fd08c257b6
BLAKE2b-256 a48d7a581c11047a715ef5c6283d16ee5127413ce1f80378acaf27659d05cfc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 8f6dee32635432b977c5188b700b4512bc4816464cf2f27cd60f5345a7e2ad99
MD5 230c094797ec10b844b56ec6622d8af2
BLAKE2b-256 b951f22c2b8d9bc77206c8a40e95f6ee717970b8604a3c5b8905b7a50e9db02f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c27101197c617a14bb15acac72e80603b4f218978b4549e8c6073fd1e3868a8
MD5 7f41763b5ec109cc32994ef81c6d38ab
BLAKE2b-256 e702178b760527efbb6ad9322c283c43f540b012a963670c41ddb0bfd6d5e5d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.15-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 32c5b56d233a8a5d777dcf50326ff6a24165af8e637db09e25a9b34c1bb166a0
MD5 19b154a954832dff6ca10de2f59b6ffa
BLAKE2b-256 38f2ff334f35b6d24a0dc972022489ee45f04c43306e5fd2cd4c73aa08c5a37d

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