Skip to main content

A guard against unruly sql.

Project description

QueryGuard - A guard against unruly sql

Logo

Test codecov PyPI - Version


Documentation: http://queryguard.readthedocs.io/

Source Code: https://github.com/dataNdeadlifts/QueryGuard


QueryGuard is a command line tool for analyzing SQL queries for best practices and adherance to security policies.

It functions very similarly to static analysis tools for other programing languages such as flake8, ruff, and ESLint but for your database queries.

Requirements

Python 3.9+

Installation

pip install QueryGuard

Example

Check all sql files in a folder

Simple Violation

Ignore a specific rule

Ignore Violation

License

This project is licensed under the terms of the Apache 2.0 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 Distribution

queryguard-0.5.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

queryguard-0.5.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file queryguard-0.5.0.tar.gz.

File metadata

  • Download URL: queryguard-0.5.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for queryguard-0.5.0.tar.gz
Algorithm Hash digest
SHA256 3e2c0fe909ae7d06446c53b9d3ea36f9649a1aeec2ae177d9a81cca7d94dff12
MD5 5710116df3a241cc9c574189d8046811
BLAKE2b-256 fc6c10044a4312768ae911e6c492aa8cde2909a67ccca2c8e740d828f46cfa92

See more details on using hashes here.

File details

Details for the file queryguard-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: queryguard-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for queryguard-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48faddd9d3477d2987d9a451d8a036fbe8b440a6ca35cdce57df2cb8c60bb173
MD5 28b772893f9d887f6c95d00a3afb4deb
BLAKE2b-256 36db58864682108b438ff4cdce082e076163aeb76129c68faac6c3fed529fe29

See more details on using hashes here.

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