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

Uploaded Python 3Windows x86-64

dsql_lint-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

dsql_lint-0.2.0-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.2.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: dsql_lint-0.2.0-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.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a072d15838b50ef58435c73448a9a057400c4ffb8c0d64ebb1f218d259898af6
MD5 d72228b77cf3870a506c9c98daf30d13
BLAKE2b-256 325b704165bb7f500b8aa0c367773399c3145bd9b7dbdd847600635c3f94a25a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b8c3e956d28ea7785add0a4f37f02fca402bd04478a8de473737de3a9164224a
MD5 bd52c43c75b2720a0ba1e981ba50b757
BLAKE2b-256 a73b6753dd4fb926970fd662fe4198f5c6baa2657df3d2309ec8626a62d102fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 83d341ad80946bcaed64caa8e1e2fd81b07c392783a8a8a552d99d26af6dc15f
MD5 c4907f045183529e1733d127a5ce9f90
BLAKE2b-256 3db0b41ab3b952ff712ce69064fc6a8db49d91fd2389afe3e7b4d2412b8f3482

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0b5701faec6f566083cb632cc024ed18c9f9184c68a46f52df28dbf3a7e9b8c2
MD5 2a47895d627873d27234190120216c4e
BLAKE2b-256 afb0468e1d875d7b495128bf664790e86d905c692819f493839a0fd1ada64396

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 790fd7afd7d7682f17f7d81b357c4d3811b1b873dfdf1135bb7b0c598d13ea7a
MD5 4b852dfe7673026d217b87fa3432c9a0
BLAKE2b-256 cb9a14de97beb7b5c1058b043ac122a9cedeb721cad68f59bfc4693b35addac8

See more details on using hashes here.

Provenance

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