Data processing library built on top of Ibis and DataFusion to write multi-engine data workflows.
Project description
LETSQL
Data processing library built on top of Ibis and DataFusion to write multi-engine data workflows.
[!CAUTION] This library does not currently have a stable release. Both the API and implementation are subject to change, and future updates may not be backward compatible.
Getting Started
Installation
LETSQL is available as letsql
on PyPI:
pip install letsql
Usage
import urllib.request
import letsql as ls
urllib.request.urlretrieve("https://raw.githubusercontent.com/mwaskom/seaborn-data/master/iris.csv", "iris.csv")
con = ls.connect()
iris_table = con.read_csv("iris.csv", table_name="iris")
res = (
iris_table.filter([iris_table.sepal_length > 5])
.group_by("species")
.agg(iris_table.sepal_width.sum())
.execute()
)
for more examples on how to use letsql, check the examples directory,
note that in order to run some of the scripts in there, you need to install the library with examples
extra:
pip install 'letsql[examples]'
Contributing
Contributions are welcome and highly appreciated. To get started, check out the contributing guidelines.
Support
If you have any issues with this repository, please don't hesitate to raise them. It is actively maintained, and we will do our best to help you.
Acknowledgements
This project heavily relies on Ibis and DataFusion.
Liked the work?
If you've found this repository helpful, why not give it a star? It's an easy way to show your appreciation and support for the project. Plus, it helps others discover it too!
License
This repository is licensed under the Apache License
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 Distributions
File details
Details for the file letsql-0.1.10.tar.gz
.
File metadata
- Download URL: letsql-0.1.10.tar.gz
- Upload date:
- Size: 19.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51768242e1efde93a1b0c5dfc5f7a3fbebb12c6ab2ae2d3fb91bbccd34a0b183 |
|
MD5 | 9638fa1521bc84b2111d40009ff215b1 |
|
BLAKE2b-256 | b8098e7e2f643e6fa2a843b1db5409009dcea8c716d0ba646456f72500e3bc34 |
File details
Details for the file letsql-0.1.10-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: letsql-0.1.10-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 26.1 MB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7403c7e6f70107605f142ca8880c5ffd859f4ccfcd882e5006595d058f78a6cc |
|
MD5 | e50fea64c9e0ab852649f6d9c94df640 |
|
BLAKE2b-256 | 4cf2b4dc94a82e1522795b458473bd8c782ce0f314f3ba55c848dcf7d4f77cb1 |
File details
Details for the file letsql-0.1.10-cp38-abi3-win32.whl
.
File metadata
- Download URL: letsql-0.1.10-cp38-abi3-win32.whl
- Upload date:
- Size: 23.2 MB
- Tags: CPython 3.8+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e38cf74dfbfe52efdb9127bed7a45024e5745d8287e2db50f3bc474aea5cb1c |
|
MD5 | af18bff027cb1171a5d43828b0cba63a |
|
BLAKE2b-256 | 30b332e2c376cd2d181850167c1fad34d4d906d8d6406a0fa22c33c1a356db73 |
File details
Details for the file letsql-0.1.10-cp38-abi3-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: letsql-0.1.10-cp38-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 30.4 MB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58760fa73612dc8dbbb385b794f0c622f49cccb7e3166a90a03f68e83a173a53 |
|
MD5 | 57dc3de6f679f80052a7e2bb7cde5a0e |
|
BLAKE2b-256 | 9ccdc08d324b0653ad4a284defa9e12dd12c89b3ebb042c8f8417917574a9c75 |
File details
Details for the file letsql-0.1.10-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: letsql-0.1.10-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 31.0 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d701afa0fb9e024db33300030533ffede3dad37f02b973c90fa2b372837970a2 |
|
MD5 | 78727147db8354da2cbe85000e2abca2 |
|
BLAKE2b-256 | dd9ef555a73c2a77892910c7f254f33ebf6a64feb9cf333518202e958555b27f |
File details
Details for the file letsql-0.1.10-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: letsql-0.1.10-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 33.5 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd233cf36de831ec5031cce7229f6544643bf3d2f49b870a1f9b5f7536ce275f |
|
MD5 | 34d9a032d0c532f1eb994eb5b4a561b2 |
|
BLAKE2b-256 | 8ec13aac506b8b6e8685c7faf93c916d04236254a89204f05038907b30575441 |
File details
Details for the file letsql-0.1.10-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: letsql-0.1.10-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 26.6 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f6141347340ffb271eddbc9ff36c8415381a0401fce4707518e13b68cb26c2 |
|
MD5 | 1ac604e713b0e2d314f62d12e367c763 |
|
BLAKE2b-256 | dee5efb1223e3228fda5f752a67519f7d571fe071856c2542cf1ca3b85a9b7c8 |
File details
Details for the file letsql-0.1.10-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: letsql-0.1.10-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 28.4 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcce015ff3d75e23f29e769b8e94f7fe07e85c9d5b957cbe40a34562cfbbccec |
|
MD5 | 1549d0b9d4441d0b0e5bc2fcaf1426c9 |
|
BLAKE2b-256 | 6d97d16731ed9793f50abf5343dbd8aeb52c048e8f06851b9ccbf8489fedc55e |