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

Uploaded Python 3Windows x86-64

dsql_lint-0.1.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

dsql_lint-0.1.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

dsql_lint-0.1.4-py3-none-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

dsql_lint-0.1.4-py3-none-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: dsql_lint-0.1.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.6 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.1.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b6ea1e58fcd8afaa7eb592f0e2dc045b3a08673b2455f94724058de71c2f4b27
MD5 cf671208476dd3eda4f622a51f57775a
BLAKE2b-256 250a5b6166f5295b16cb1aa6c12565ba4d25cea7c08bb89244cf2abd472a7ec7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.1.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a356a8dd862246b4fc0c96006ee66043728f04c3e6d4968bde8e7e48a9144d7
MD5 533da31314c208c6c54187b515150d2d
BLAKE2b-256 5cf197960b3467770e01adea14969be52a4bc1696b2d6d6c84946619e9560949

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.1.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4042218fab5c7f80e3086a90c4acd10540b19dc125004852ae38e1a1ebfd621d
MD5 e5fb04cda5374457a105acca265d2ce3
BLAKE2b-256 91c9f75365b4c604678f3dffc9e14bc2d2f865c80f2fe4aa2280e3ab9ecb935a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.1.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dfacbcbe74fbb073f72a978207fefc8ee99ed49c516f537399ba55828032aedb
MD5 85c46e888ffc658471f9c0ae77426bda
BLAKE2b-256 53cc62a5a20e41e555fd57d42368a586b2129ded09420c3d330b0c85767fd9e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.1.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 df1c259869bcffb5633eba926c27a398f462edc64a359d9175c7b6fd58a0b998
MD5 528e670f9690c0b84f4311330f189e1a
BLAKE2b-256 48edfc85a436ec988d83bc422b26d2d6c9e6e829feb1e75c93dadfadf43de5b0

See more details on using hashes here.

Provenance

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