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

Uploaded Python 3Windows x86-64

dsql_lint-0.2.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

dsql_lint-0.2.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

dsql_lint-0.2.9-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.9-py3-none-win_amd64.whl.

File metadata

  • Download URL: dsql_lint-0.2.9-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.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b2df925453ed1565ef0205d0014bbaa6a95dd76416cef16acc9cadce069bef8b
MD5 710264ad3414d951640fa29bb5e1bbad
BLAKE2b-256 fd0d4b78e2da94173bd0cb401d7401001883f0feaa7483c520b79e33e9232aaa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b0f7eb663e46d094e3cdc9cf0c8b3bb2d726aa83438bbdee9dc987c3db96b96
MD5 aa9f62425b068d58b51d5cfd57512d10
BLAKE2b-256 a9b6993052e3d17b867e2f5adf95385e1e418773eb6315a4124c0e7a50a770cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ce6e093f3de72b9bc242349837961c455a8278b06c8ac7feb1530c492c41b179
MD5 bf7d196b073f5debe0858c76c6c9f547
BLAKE2b-256 d85436d436d14c05b3cdaf7f2e7214a379c69282c0d4fabb0bb742c7b92c91b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91dfd5e88726b69e1952e55f8dff3fb2cf53d3bb5839699e8d14b6185f1046cb
MD5 96e15cf1cb8efee43520accd2ac98e6c
BLAKE2b-256 88e6254c0d8fea3bdfd9865ad0adc46c4e9e15f47c198c3cfe053099dd6eb3c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.9-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0be0dd960b7c40cb6022f6abc23557d3e0b8ba0a11ce1c9df6b48d1043fae78e
MD5 1ffaaa62b141b5b9db2203604c6bbb8e
BLAKE2b-256 fedcc4d33d28ee54e5cabf53713f95efcfbc82b6fd7653322abf8321cfe93498

See more details on using hashes here.

Provenance

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