Skip to main content

SQL in Python __doc__-strings as an alternative to ORMs

Project description

SQL in F(unctions)

https://img.shields.io/pypi/v/sqlf.svg https://img.shields.io/travis/digitalmensch/sqlf.svg Documentation Status Updates Snyk https://api.codacy.com/project/badge/Grade/391c7b2d4f0143cf9edf62f7c0ec38c0

SQL in Python __doc__-strings as an alternative to ORMs

Features

  • Access to in-memory and/or file-backed databases (Sqlite3)

  • Lightweight, ORM-less abstraction

  • Support for Sqlite3’s UDFs (user-defined functions)

  • Convenient library of UDFs

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.2.9 (2018-04-11)

  • Add support for aggregate UDFs

  • Extend cbor support

  • Refactor UDF library

  • Rename sql -> sqlf

  • Rewrite and extend tests

  • Add UDF b91enc, b91dec

  • Drop support for Python 3.5

  • Add as_type

0.2.8 (2018-04-10)

  • Add single_row decorator

  • Fix naming of match UDF to similar

  • Add UDF sha3

  • Add UDF nounce

  • Add UDF hex

  • Satisfy linter

0.2.7 (2018-04-03)

  • Update docs

  • Remove old sqlfunc code

  • Add UDF cbor, uncbor

  • Add helper to list history

0.2.6 (2018-04-03)

  • Add UDF number

  • Disable support for Python 3.4 (Travis CI)

  • Add dependency typeguard

  • Add UDF match

0.2.2 (2018-03-31)

  • Automatic deployment to PyPI.

0.2.1 (2018-03-31)

  • Various fixes to the repo.

0.2.0 (2018-03-31)

  • Moved project to the cookiecutter-pypackage template.

  • Disabled support for Python 2.7.

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

sqlf-0.2.9.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

sqlf-0.2.9-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sqlf-0.2.9.tar.gz.

File metadata

  • Download URL: sqlf-0.2.9.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sqlf-0.2.9.tar.gz
Algorithm Hash digest
SHA256 bc48d329d9a1d92626abfff8bf53821a08333f906ad21d9d9e3c6abe52658e48
MD5 ffc76bb3281c94ed2798aeb2b07de930
BLAKE2b-256 64deceecf06409b3c2d30a1ad3ba6bdf29f9bfb6118b27e85b060ee19cf619af

See more details on using hashes here.

File details

Details for the file sqlf-0.2.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sqlf-0.2.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 22f43f646b17387542bd464f1c22f219f1c98c76d9109d933b0b372cfbd004b2
MD5 c37319d554a1048e8799c53ef9a0eab3
BLAKE2b-256 ae4fe38929bb6463309bd2bb479e062ab6f54480ca694b6488f9babba53c6315

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