Skip to main content

Lint SQL files for Aurora DSQL compatibility

Project description

dsql-lint

Lint SQL files for Amazon Aurora DSQL compatibility.

Parses SQL and reports errors (unsupported syntax) with suggested fixes. Includes an auto-fix mode that generates DSQL-compatible SQL.

Installation

pip install dsql-lint

Or run without installing:

uvx dsql-lint migration.sql

Usage

dsql-lint migration.sql [migration2.sql ...]
dsql-lint --format json migration.sql
dsql-lint --fix migration.sql
dsql-lint --version
dsql-lint --help

See the main repository for the full rule list, JSON schema, and contribution guide.

License

MIT-0. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

dsql_lint-0.2.6-py3-none-win_amd64.whl (3.0 MB view details)

Uploaded Python 3Windows x86-64

dsql_lint-0.2.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

dsql_lint-0.2.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

dsql_lint-0.2.6-py3-none-macosx_11_0_arm64.whl (2.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

dsql_lint-0.2.6-py3-none-macosx_10_12_x86_64.whl (3.0 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file dsql_lint-0.2.6-py3-none-win_amd64.whl.

File metadata

  • Download URL: dsql_lint-0.2.6-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dsql_lint-0.2.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e44cccd9d22c47e02c62b8a162e7c2d0c29373f22116e98c8a5c2a318acdcec9
MD5 22006ba2d2ef652f3911ab8b772b8a86
BLAKE2b-256 34558b95327f0d8cf9c53b7eb3a2eeca2139961deddb9d214300e4319a822bd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.6-py3-none-win_amd64.whl:

Publisher: dsql-lint-release.yml on awslabs/aurora-dsql-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dsql_lint-0.2.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dsql_lint-0.2.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 766bb622080272f24351ab5253d8eaef969ce33822a86e9d9cb4b10aa5bdac26
MD5 ec572f3770ce51b945fe04511fb3db19
BLAKE2b-256 58388100f7d7408df10c428a375b1abbce6c36e02c2a8467eb2e9b141dc0b505

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: dsql-lint-release.yml on awslabs/aurora-dsql-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dsql_lint-0.2.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dsql_lint-0.2.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8d189235ba9374559059b861863301794c1994831bf85db2fa81afad1b22de0a
MD5 7a93e352715ab3630d6570e01119930f
BLAKE2b-256 ec8e674c2192b26d4c469be5bb72c7522a6827c200be0fc786dd95213f522bae

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: dsql-lint-release.yml on awslabs/aurora-dsql-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dsql_lint-0.2.6-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dsql_lint-0.2.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f474cd3f49acfa57daf0b8ac9e7965ffdeb0f1039a3e7b94c0743f2834f6258c
MD5 28ed1dd79fe5114b309d68e9897d4c4f
BLAKE2b-256 7da56819cb48d7ca5132e0557584064b56627f5940c0f0f84992413d221faf09

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.6-py3-none-macosx_11_0_arm64.whl:

Publisher: dsql-lint-release.yml on awslabs/aurora-dsql-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dsql_lint-0.2.6-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dsql_lint-0.2.6-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ecfb04098e313908c0d3a3320f662cd0d182dfdbe49563c1f7acb648a1bd6567
MD5 86c58b97fc16c469ee540411bbff567a
BLAKE2b-256 666d4c08d5c26733f25db054a7c8e6ab5ba700603a167c9a8d994c50e8a85f17

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.6-py3-none-macosx_10_12_x86_64.whl:

Publisher: dsql-lint-release.yml on awslabs/aurora-dsql-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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