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

Uploaded Python 3Windows x86-64

dsql_lint-0.2.1-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.1-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.1-py3-none-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

dsql_lint-0.2.1-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.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: dsql_lint-0.2.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e718ded5fda383eb9d4dc957bdfe3c25d25f91b03e8d33fb2d7a70a884f521fe
MD5 c149ba84948e9a2375cd46ecde72fe04
BLAKE2b-256 fb2a7f7f1215878aaf59189c3106314256dbf16c63726dcee53b01e9617ccf11

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e13e80e0bb02dc0d98e5dfd4d18e5f66356f286a6d862a358e491c6ac921071
MD5 4ee7b09a82ee6e162d4ca2b84b982cad
BLAKE2b-256 ff8d5795c874f6ff7ac3c73e63547cd2f334725bdc9e133cec4c233151662baa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 86c17564e7d8c510cb72f55f27c4135138f2da14b452d319f401775d2a815958
MD5 90292d8269a1068beccd72130a840682
BLAKE2b-256 7bd05d164a5b50ce1c3ca801dac16c2e8ae00bddb191108f878a6aa42378dcf4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 daefd9403fc056b661a6c97a13046b96149a3c195775708cc1cc0132d4b60cdb
MD5 460269dad6177213a5f9269684f42d58
BLAKE2b-256 3ec589e962d0cb91fe983096d974be26a3b06fba6a64e312abbe8a0a6683f742

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dsql_lint-0.2.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 22cf40bb058ddf683930f4e79653d1da9ce102ba985dfc52c2d0bd22fb915d37
MD5 59e3f07870ed063beec4591abf3b1ce3
BLAKE2b-256 8ef21b474e957091794973af7d604410ad46653836861e76573a1df45152facd

See more details on using hashes here.

Provenance

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