Skip to main content

Makes it easier to write raw SQL in Python.

Project description

CoolSQL

PyPI

Makes it easier to write raw SQL in Python.

Usage

Quick Start

from coolsql import Field

name = Field("name")

condition = name.isnull() & field_age.between(18, 24)
...
cursor.execute(f"SELECT * FROM table WHERE {condition}", condition.p())
...

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

coolsql-0.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

coolsql-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file coolsql-0.1.0.tar.gz.

File metadata

  • Download URL: coolsql-0.1.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.6 Windows/10

File hashes

Hashes for coolsql-0.1.0.tar.gz
Algorithm Hash digest
SHA256 658e50c2d27cde9a88df0114530b821c65c094db8c40fdd6655771bbc38e4368
MD5 b954724d8f9337167a1a8abca2cd5e59
BLAKE2b-256 713f66b632c41ed4c5d2b283f274c16a18baa83c354e10f55fff524465582346

See more details on using hashes here.

File details

Details for the file coolsql-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: coolsql-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.6 Windows/10

File hashes

Hashes for coolsql-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ef008b47a10335be3ae1c782d5eeaccac30bc0a29b2c6dc5c6c8fe689cf85d5
MD5 a9cde0485243e7a3db30764e28b49f97
BLAKE2b-256 a0da77af92af4aaa5bb322c98232ceb8c0e6a5e69f9de235e564a07930426e22

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