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

Uploaded Python 3Windows x86-64

dsql_lint-0.2.5-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.5-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.5-py3-none-macosx_11_0_arm64.whl (2.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

dsql_lint-0.2.5-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.5-py3-none-win_amd64.whl.

File metadata

  • Download URL: dsql_lint-0.2.5-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.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 93ad7640044b5285f96eb0241d971509fe89a9093065f79e5ae7dfe611c20326
MD5 0ade78a483640f3bfb7bdc0a63658052
BLAKE2b-256 a10f9b48cccb1f345acc3a2b3d852347303ca2e348aa8c97eeb522b4088eb6f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2215ae1c6528fe7fa0416ee86ed1b0bccaa133267bd1e54776b45f84ed15c1b5
MD5 8c4ac0a627b91a1ab8499fb675a81c67
BLAKE2b-256 36157c8dd06bc0f0c06365562c345e7326df7cde67e8949d31e58378e8a3abb2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6852e07a3a10795a7b50474706b9636dd7d26745bae67b8613fca609410812bd
MD5 b9c9f2702d7d36141c258e41692bbdd7
BLAKE2b-256 f75f364db13ce82d73979c5dc0b9f255b0707c968cbb0ea1f813b41c76d44664

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c8223345dd662589a14e1a3de0bc4e8df2c6dc3178ef8825b7b634e5d20e94f6
MD5 18f8ae03985220e0f15dfdf5a82870c8
BLAKE2b-256 0042d6c6d58fae22d7985d9915ce122120db037f947d6496b4e402402d39297d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 74a8edcaaee0ab658c8767108b4dc1c38dec254c3e28cc0caa605439c76675c8
MD5 e0d0784605f094e5df3092acd3510935
BLAKE2b-256 58ea79e77d695c492a980790299c56169ed4654da3b4cd8c78a1e6ca15823446

See more details on using hashes here.

Provenance

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