Skip to main content

A lightweight wrapper around SQLite, MySQL, PostgreSQL.

Project description

SQLight

A lightweight wrapper around SQLite, MySQL, PostgreSQL.

Install

pip3 install sqlight

Usgae

import sqlight

conn = sqlight.Connection("sqlite:///:memory:?isolation_level=DEFERRED")
conn.connect()
result = conn.get("select * from test where id = ?", 1)

For more examples, please read to tests

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

sqlight-2.0.1.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file sqlight-2.0.1.tar.gz.

File metadata

  • Download URL: sqlight-2.0.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for sqlight-2.0.1.tar.gz
Algorithm Hash digest
SHA256 0ac99cdb66a09ee3eb307bbc375f11ed773777f9c48081a795e1272f05c6e885
MD5 559088cec7155c502d54e706abfa1abf
BLAKE2b-256 b3c4830a71ae02e758b6fdc5144d340ed5b8d84bae2a74f9cb553af1269b1892

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