library to write compositional sql
Project description
funsql-python
funsql
is a python library to write SQL queries in a way that is more composable.
The initial implementation is mostly a line by line port of the Julia library FunSQL.jl. Thanks to the original authors who have been refining the idea for some time! While I try improve the documentation here, go over to the parent repository which motivates the project.
The docs
directory has examples on how to use the library.
using-nodes.ipynb
- shows how to use FunSQL to construct SQL queries. This is the user facing API.
The repository funsql-examples contains more examples of queries written using FunSQL.
Installation
Install this library using pip
:
$ pip install funsql-python
Usage
Usage instructions go here.
Development
To contribute to this library, checkout the code in a new virtual enviroment.
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for funsql_python-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd2c16759d74d741998b46885a3f329aa8fe9b54221c9233051be64af8d8e6b |
|
MD5 | 7163bf00bef1ef1b6a50dbfcd39436d2 |
|
BLAKE2b-256 | 009fb714fcc41af06d229de4d80ac7e18d921b44570e0fd589f2983d2e47a2d3 |