Skip to main content

A generator of random SQL SELECT queries mainly to compare responses from a real dataset against that from a synthetic dataset.

Project description

Fuzzy SQL

The package generates semantically and syntactically correct random SELECT SQL Statements. It is developed by EHIL mainly to check the query response from synthetic data against that of real data. The package supports both tabular and longitudinal datasets. Table shapes, variable names and relations in both real and synthetic datasets shall be identical.

To install:

pip install fuzzy-sql

For further details, please refer to the Documentation.

Detailed examples comprising three sample datasets are provided under the examples folder in the repository. To generate the random queries, you first need to download the sample data by running 0.0-download_data.ipynb. You may then proceed with the remaining notebooks to construct the necessary databases and generate the random queries. For details, please refer to the usage/code-examples subsection in the Documentation.

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

fuzzy-sql-2.0.5.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

fuzzy_sql-2.0.5-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file fuzzy-sql-2.0.5.tar.gz.

File metadata

  • Download URL: fuzzy-sql-2.0.5.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for fuzzy-sql-2.0.5.tar.gz
Algorithm Hash digest
SHA256 b1c6c732e7450ecebe540014537f647c4d38aad1ba74ccb0330dbffc4bd28c97
MD5 7b707e5d30882d0f4bd12330618edac6
BLAKE2b-256 2319640f0e8391ebcfba7378da8b29e8fd7413169f81c5ce657e3ab273cccfb4

See more details on using hashes here.

File details

Details for the file fuzzy_sql-2.0.5-py3-none-any.whl.

File metadata

  • Download URL: fuzzy_sql-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for fuzzy_sql-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 615ca3e8c58f8e86a211767038013e4550a1e325e0eef4df9989f86f5f87e41e
MD5 d7ae001f598f1bdcde0807f37e4a5212
BLAKE2b-256 08da4a8bc122a279ba8cd60f503a3b33b0b7a9aabbd15d7425399aca4a869ab0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page