Skip to main content

An uncompromising SQL query formatter.

Project description

SQLFMT - An uncompromising SQL query formatter.

PyPI Latest Release Package Status Code style: black Imports: isort

SQLFMT is an uncompromising SQL query formatter, which provides one and only one way to format the SQL query.

Our goal is to make code reviews faster by producing the smallest diffs possible. You will save time and mental energy on more important matters.

Please note that this project is still in the planning stage and everything may be changed in the future.

Examples

Before

SeLEct  1, blah as  fOO  from myTable

After

SELECT
  1,
  blah AS foo
FROM mytable

Installation

Install sqlfmt from Python Package Index:

pip install sqlfmt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlfmt-0.0.2.tar.gz (2.8 kB view hashes)

Uploaded source

Built Distribution

sqlfmt-0.0.2-py3-none-any.whl (3.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page