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.

Files for sqlf, version 0.2.9
Filename, size File type Python version Upload date Hashes
Filename, size sqlf-0.2.9-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size sqlf-0.2.9.tar.gz (13.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page