Skip to main content

library to write compositional sql

Project description

funsql-python

PyPI Changelog License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funsql-python-0.1.1.tar.gz (46.9 kB view hashes)

Uploaded Source

Built Distribution

funsql_python-0.1.1-py3-none-any.whl (53.9 kB view hashes)

Uploaded Python 3

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