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

Uploaded Python 3Windows x86-64

dsql_lint-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

dsql_lint-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

dsql_lint-0.2.2-py3-none-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

dsql_lint-0.2.2-py3-none-macosx_10_12_x86_64.whl (2.8 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: dsql_lint-0.2.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.7 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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3e2fd32b80b0d7e365b8fada1cc063a3ac1415913b27932dc8938daf606bbdad
MD5 bb306c585522f8bbf97ba33332edc801
BLAKE2b-256 52f58d00bca1471163d3b1a51fae25c68d3efe5361d10cf8c419cae25e58e7b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7b0c79b072e43ae18e411885b986b0a5fca49d9ee04ef0440e848e5e0846e559
MD5 77986a298dd93040b7d33056e1378e23
BLAKE2b-256 c76b0d61e4734711266311524e872c092f3a9c0f6cdd5d651177984914f42f6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ac6e9ba5411d69edfb63eaab5ee992982e0471cafa1506f824c2e7e587bf7258
MD5 3c65a06e2c83e01a238036817afa52e3
BLAKE2b-256 b3bdb022f57d53b285a0122aafe0de5bf52a5fd83c7881d90bc10b0325d463a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 acc77d082677aa60c75af6dc3d5b0baf6faf8b57120a25a3b5865d2dbc3826df
MD5 7a204d1d3036a23ca20774f9baaf7842
BLAKE2b-256 d3f9b6251cd6ae60a25210b665d528e375b38dad8823c93cf842d9e99ec3dd00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 39de9954d3c9c71f165cf891b58370a56d03af37126195c66d65d5076fd225a1
MD5 89a3ea737568ac4f0d16e34e2678ae02
BLAKE2b-256 f3b40c7fb2edf9c567ff88baaf597f9581f5804bb60fc175be2bab37fd7f4d8a

See more details on using hashes here.

Provenance

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