Skip to main content

PgDont

PgDont help to quickly check a database against the "Don't Do This". It's more of an audit tool than a linter, but it alse can be use this way.

Usage

pgdont --dsn "host=localhost dbname=mydb user=john password=pass"

Implemented rules

PgDont will check for the followings bad practices :

  • Upper case table name
  • Upper case column name
  • Use of 'SQL_ASCII' encoding
  • Use of Postgres Rules
  • Use of inherited tables

...

Todo

  • Implement missing rules
  • Add config file
  • Manage multi-schema
  • Cleaner output summary

Metadata

Release files for pgDont 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pgDont 0.0.2
File Size Uploaded
pgDont-0.0.2.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pgDont 0.0.2
File Interpreter ABI Platform
pgDont-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / pgDont-0.0.2.tar.gz

Download URL pgDont-0.0.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c4d0081f1ea438a6678b93bd8e0486468d2b9f0464b227e8c075df7bfe417600
BLAKE2b-256 checksum
How to use checksums
9bb3e1bb9d472014bd6d66eba9048600615a1a1c2fa6bf0c5f644f1660dc6f3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release files / pgDont-0.0.2-py3-none-any.whl

Download URL pgDont-0.0.2-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f8eb34861dfb0cd7f312c269a6c6252a3d49f0ec7fd3edd5f4a159311226405
BLAKE2b-256 checksum
How to use checksums
cfc0f6ec937ed08b45495eaea07d0250297c69078cf5a28b54c89f1d9e1fcc00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page