Skip to main content

A Python library for dynamically generating SQL queries.

Project description

pysqlizer

pysqlizer is a Python library for dynamically generating SQL queries efficiently.

Installation

pip install pysqlizer

Usage

from pysqlizer.sql_generator import sqlify, sqlifylike

# Example Usage
print(sqlify('id', [1, 2, 3], how='WHERE'))
print(sqlifylike('name', ['John', 'Doe'], how='WHERE', wildcard='%{}%'))

License

MIT 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

pysqlizer-1.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

pysqlizer-1.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file pysqlizer-1.0.1.tar.gz.

File metadata

  • Download URL: pysqlizer-1.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for pysqlizer-1.0.1.tar.gz
Algorithm Hash digest
SHA256 52dfbadd36adb2b55d7993712c23329e70a4df5532e208807e7d0516f4f76296
MD5 9a5b4283bbba93536cf5ce3e47a01def
BLAKE2b-256 cff535d6d08d766c94f685f1a1350232ca816af411613331439ea7c4f7857629

See more details on using hashes here.

File details

Details for the file pysqlizer-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pysqlizer-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for pysqlizer-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54b212b27b0d2f4054e7f628a690d3bef4d5a886950961d8b251165502d123f9
MD5 348edfaf529f57752a773af70576f5f5
BLAKE2b-256 071a05b2fe447b0f562beedbcafd7168e3941e2a15844abbff010afb0f077670

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