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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.12+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.12+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.12+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

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

Uploaded CPython 3.10macOS 11.0+ ARM64

sqruff-0.25.14-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.14.tar.gz.

File metadata

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

File hashes

Hashes for sqruff-0.25.14.tar.gz
Algorithm Hash digest
SHA256 46acfa170160547f19d3c612923b306e9e45e089a9a544d71607365579a6f833
MD5 398b7f419e253075ae6f3d71ec1b65fa
BLAKE2b-256 c680b329e3d0deee77951e6316c72d5658287a1566f71752743694f680e74df5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 57bdb14aa736f369b9dae97c6d553bfc7fd40faf39d9dd91f902ee9101ba2e90
MD5 66e403cbe239d655b3332872c0557d38
BLAKE2b-256 039655c0ed37011f2557eec5cc19ccaa39f71adb68375fb0dea292e8346956c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.14-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.14-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 2beea3e555edc58cc0f4810ff0cee7d68ccb207579899a1c204f174b93c2c908
MD5 80565f105bb82fde8b4ebf45e9b70fb5
BLAKE2b-256 54bb6155161a96e79614eaef0a083ca7c0e66c4973ea1dd5b108579a68e79332

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 866c2198875e016986762a1dab8adaa39f8f4b4d096e4ba78b39cba5f35d9159
MD5 626f1bd2b845bd2b82585db3df0d6e92
BLAKE2b-256 77e591ca25c64f34dc85cfb2a90f008f96277d9aaa316a8b35cdd4d30abab8c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8da5d22773df8b174dd47bdbd6f9488f7db701727199ab9a04afafd41ded3a89
MD5 f8b5c4de9cee860161e4b36d882c5cf8
BLAKE2b-256 9f43710ad9d083f4171efdd1aec83a6d3fa30f84b47ee753d1f7a033244ad796

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ea92ac9741e046711d7716cb21db1740bbf032767d6adbaf02f7128571d0f3fa
MD5 2f88c4e9ad73423e54678d809bfb0997
BLAKE2b-256 da79b5036390f8877aa7585d321bd27c2f1e523c10bc3e841058bc09558d9df7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b566bcbea4d0efca1786aa5f355269705aee97c31cd86cfd43f56f2981eb28bb
MD5 0e7cfc562a8bede2a4f8b14a401e354a
BLAKE2b-256 89b910677cb33fb3fa8e92975a9a561dd802e591f7e0bff1b7beba23127eee84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.14-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.14-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 3cc673d711500d14e109691c31e2f56dfbbfd0af891c82d15182df6813371abe
MD5 c5ea9fbe064b4e384d6cda9dd8955816
BLAKE2b-256 f96d862f9031f067407d21d4edd07a537251d1801f6105723dcf7437e2fac4de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 05ffeae048515406efbbf10d063a0c4500a24feb83c4a1bb8433c4d700ef3335
MD5 7e5fd8327c1aec3e38fc4bc6938b6ac3
BLAKE2b-256 61b1cc95bdab0f3b69d8c36f3142d45b8933805c5111b8144c3338221e89e9a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8362c3821c189cb6ae9a0f46b84b99a555fa2f78c15fbf78762f0ebcfcaf5018
MD5 60a9a3cd13cf6f74c72fd0b254cf1da9
BLAKE2b-256 4f4229afd7ed74debae3b49941d7e362c677f05cf8fcc59589fef1523e99cbda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 203bc189f0f6c10ed37f4984e407343f816c42959e323313b7d1e1daa8573e7d
MD5 44b48c32f1b65c174cdb9b36baa51a59
BLAKE2b-256 ea3f5396f65889aab7e20fb113f524191779d3411ebca9e3d60ab6861796387b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a3160ac4e11c0d13365c9119fb0915893e72435ad20061f82ccb241f19507cf7
MD5 d1693a750c7da8624cdd4c921c55252e
BLAKE2b-256 a7424b5952b9dc3519f67bc8e86b217bfd622ce10acde0c7876bd27343e5ec79

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.14-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.14-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 8547c9a1824b8a9551de6b8ec7cff3435b629d0b63bdf4e1673daa3e5c61d531
MD5 06f62d6f13c34ff1802d750c261710ec
BLAKE2b-256 d21a124119a3a93d65d7cfc3bf8c87b767ac8564265496f633c3d3768c0e473b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 0079d2b34e27c9adeaea90f03aedd6678abf5658d2ff6b86ff871dc2c362bc4b
MD5 1b3bdd9213d9fd067813293212f30e03
BLAKE2b-256 d3e9c530bbb61e97d170b9be572ae47e4d349473939f0fdf1f387b391fadc78d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fafa0ff5c489aa73fd53bff6ea74d7f9266a050c79b6da1496c76c64717881f6
MD5 47ae75b4e320f7c7ccea040db8f76b6a
BLAKE2b-256 4e5f382967f5b860ad5305978a384f0846a0a5e3929c36bcc1faccae757b42e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 dd194f893b006fd4a4245988bac21bebcd2db7bc30ba6a089a35a305daf715cf
MD5 cc307620deccc72ef5ffeb84f452db3a
BLAKE2b-256 2b3434e07796fc5374342fb42cc09fd2d258dbf32c6a7e4551168de8ce740e17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0d4250f2fa84dce288b7945c15db5d3618d4009fdd7ebd20e8017ec49ed1fa91
MD5 ea9f938274b9ba5633b8b48ba77aa303
BLAKE2b-256 69da78175280a6b42fc16261a77b298bb89e6711bb0c155d47d073299eb5c515

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqruff-0.25.14-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.14-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 2d07caf751c0a3ef953470679fd80ac7c8e497443756aab6e45fc252e23d723f
MD5 6134e4d35014816cd16fe9b0969d107f
BLAKE2b-256 5c74d10e22cf88e3a4e5e4c78bd2f54bd6cb5de15b62b35bfb799d45c2e7307d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 01985145ebd41851319b4f612834d70dc299267c23b41bea6dd8e7040772cbff
MD5 3b82b55c6fe21e0d24ff4d3daa91ae84
BLAKE2b-256 cc5f68508511f5bd8fd9ef019424f59381700d6422d3860b32cefd218b925a54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d7311ece675f98d4874577caeebe298638eff2563e43baab92567623905c0db6
MD5 8e32c7bb0001af8dcabc26c346a3dbfb
BLAKE2b-256 cc3ffeabee858ffc410403098c70700704f62ae718bcc0550ceff7f680b5761e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sqruff-0.25.14-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 57375d690b35371d4cb63b04cbe70201497fa9a4214f40d1ae934a6c26e63a90
MD5 06d7c6eff2da90a0ff39f9a4c83c1932
BLAKE2b-256 f21b2d3e69c6027f50ca883c4a5df6290eccc1217eb3c8dd1fa536f06887a06b

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