Metadata-Version: 2.1
Name: prql
Version: 0.1.7
Summary: An interpreted relational query language that compiles to SQL
Home-page: https://github.com/erezsh/Preql
License: Interface-Protection Clause + MIT
Author: Erez Shin
Author-email: erezshin@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: mysql
Provides-Extra: pgsql
Requires-Dist: dsnparse
Requires-Dist: lark-parser (>=0.10.0,<0.11.0)
Requires-Dist: mysqlclient; extra == "mysql"
Requires-Dist: prompt-toolkit
Requires-Dist: psycopg2; extra == "pgsql"
Requires-Dist: pygments
Requires-Dist: rich
Requires-Dist: runtype (>=0.1.4,<0.2.0)
Requires-Dist: tqdm
Project-URL: Documentation, https://preql.readthedocs.io/en/latest/
Project-URL: Repository, https://github.com/erezsh/Preql
Description-Content-Type: text/markdown

![alt text](logo_small.png "Logo")

Preql (*pronounced: Prequel*) is an interpreted relational query language.

It is designed for use by data engineers, analyists and data scientists.

* Preql compiles to SQL at runtime. It has the performance and abilities of SQL, and much more.

* Programmer-friendly syntax and semantics, with gradual type-checking, inspired by Typescript and Python

* Interface through Python, HTTP or a terminal environment with autocompletion

* Escape hatch to SQL, for all those databse-specific features we didn't think to include

* Support for Postgres, MySQL and Sqlite. (more planned!)

(Preql is currently at the alpha stage, and isn't ready for production use yet)

# Get started

Simply install via pip:

```bash
    pip install -U prql
```

Then just run the interpeter:

```bash
    preql
```

Requires Python 3.8+

# Documentation

[Read here](https://preql.readthedocs.io/en/latest/)

# Contributions

Code contributions are welcome!

By submitting a contribution, you assign to Preql all right, title and interest in any copyright you have in the Contribution, and you waive any rights, including any moral rights, that may affect our ownership of the copyright in the Contribution.

# License

Preql uses an “Interface-Protection Clause” on top of the MIT license.

See: [LICENSE](LICENSE)

In simple words, it can be used for any commercial or non-commercial purpose, as long as your product doesn't base its value on exposing the Preql language itself to your users.

If you want to add the Preql language interface as a user-facing part of your commercial product, contact us for a commercial license.

