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:
pip install -U prql
Then just run the interpeter:
preql
Requires Python 3.8+
Documentation
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
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.
Metadata
Release files for prql 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prql-0.1.7.tar.gz | 62.6 kB | Without provenance | Details for prql-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prql-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for prql-0.1.7-py3-none-any.whl |
Total release size: 134.4 kB
Release files / prql-0.1.7.tar.gz
| Download URL | prql-0.1.7.tar.gz |
|---|---|
| Size | 62.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bd0b063f32c58d45fe2db43daaa447e07b218ff761acc2e69f4efb1df46371c
|
|
BLAKE2b-256 checksum How to use checksums |
bd441f46ea59997d1d01802f1f603ed82be90ee6b7aae55db8c44654593f41a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.2 CPython/3.8.2 Windows/10
|
Release files / prql-0.1.7-py3-none-any.whl
| Download URL | prql-0.1.7-py3-none-any.whl |
|---|---|
| Size | 71.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa5db47b96f619d5d99a22ea55536053e9791ee310b85c2a02c393cad5f4f68f
|
|
BLAKE2b-256 checksum How to use checksums |
808d111511441ebe35bb035a387b0f86992c7d82ec363b31c50620c71768afb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.2 CPython/3.8.2 Windows/10
|
Security for prql 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.