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.3-py3-none-win_amd64.whl (2.9 MB view details)

Uploaded Python 3Windows x86-64

dsql_lint-0.2.3-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.3-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.3-py3-none-macosx_11_0_arm64.whl (2.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

dsql_lint-0.2.3-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.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: dsql_lint-0.2.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.9 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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 819f8e7fdaad6aa7226a361b6a21ca5346cdd57e68d74cc0e122ab6fa1fb7c6f
MD5 7add462fd61f791c839d8424d11c7634
BLAKE2b-256 15d3134660f39e2c74bb96f8b7d8ad283e4dd05c8ddafb5b300d6165a5e5490a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.3-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.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dsql_lint-0.2.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6f9e65db69a61679ae65e3d71ede5b4ddd72fa4e5597bcc0555fef66887767e6
MD5 7dcc83bb31ccdcda58dd6ccf20cfd9af
BLAKE2b-256 e22f0722a0d55b7d226b4ae59b28299c6d93414bb5fce6d4ed109bda094be663

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.3-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.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dsql_lint-0.2.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 61e7798890d0a0f1fd968e0fbadb10f5e003532386c728eb72c326727422b5b6
MD5 9887bac041efbfecb249679c901531e1
BLAKE2b-256 c50fb402ff1de68a82d31e7e24d5cd24d7cb95f5fe9b5a366946fc2c960af8d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.3-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.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dsql_lint-0.2.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 81548b0bdfc21fdcaff7db240bc55e42414d474203e477eadf4a26776b391a3d
MD5 70c84b7406a12a1c8e24389917294fd1
BLAKE2b-256 918f315aa62a748a0ab603c17b2305137196b9bf68e5c5a5eca3596ef47d7763

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.3-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.3-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dsql_lint-0.2.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a4d326ad1114bcb2eb9bd1b657d752a733508faa2b33ee7bde95d6722c8cb989
MD5 9d8fe1b0033d9b1838f1547c5f89d802
BLAKE2b-256 51444c49bc97b39710964a1f2df32afe7d906a0ded601bb38b1e65e5123855c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for dsql_lint-0.2.3-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