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[extras]'
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.6.tar.gz
.
File metadata
- Download URL: letsql-0.1.6.tar.gz
- Upload date:
- Size: 19.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1236d5561385aa2188a935287a0d407896bc6285e089a77dc44dec0315196d9c |
|
MD5 | 6137787b8403f8a802e0a266f962667e |
|
BLAKE2b-256 | 6ceb290d4e19c7d1e3058f9912ec1b05197c3ef0108869874fb52203dbfc1b2e |
File details
Details for the file letsql-0.1.6-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 21.6 MB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21df945004d44884abc4411ceccdb001be23dbfe70146b83896b3fb297383a29 |
|
MD5 | 02ae718f036d752d75253e3b2d64fbff |
|
BLAKE2b-256 | b4deec84c34326bf435f849e04fac7fa882dcca87dd51f248447e65b3cca6952 |
File details
Details for the file letsql-0.1.6-cp38-abi3-win32.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-win32.whl
- Upload date:
- Size: 19.3 MB
- Tags: CPython 3.8+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3272c9cb8e587108dff0a5a374d411eab173f48fbba4fbd9217e18f9891c4374 |
|
MD5 | 6d683cb7cd392f826af22e51f46e469c |
|
BLAKE2b-256 | 75f8bcdb3d91fae024249339982d4e68d67d706eea7245b94500a871e90ec2b2 |
File details
Details for the file letsql-0.1.6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 25.4 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2547b2ea925ab8af2121783631aabdf4afdbd7995606b1b2e3acefdd544db5f2 |
|
MD5 | f4e9601424e7d9b228e3fa53cffff12c |
|
BLAKE2b-256 | 0d699a9aa414228a773ae0afcba3f3508700f59879bb550c9d5d3b212d08eb3a |
File details
Details for the file letsql-0.1.6-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 28.5 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40468178d182a4f5157455d8d3c47bb6b5e17f11a2bde7f625ed53c400749fff |
|
MD5 | 5bb30356d8ec6d5b027d203664d35f14 |
|
BLAKE2b-256 | 0f1da6d6fdfe3109c85fc68ed022a008f356d5bb86bfc9fb0745d1ae2a84ac94 |
File details
Details for the file letsql-0.1.6-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 26.7 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc447da3d2b39d8c72bb0797d90fefa6ecef348a0fc3d873bd8c918b9d561ad |
|
MD5 | 82462f678553c024d6143fdb56bce334 |
|
BLAKE2b-256 | af44094d92c76a96aa1fd8a933e9ec7db3f78f095bf88b49c818812b313fdeee |
File details
Details for the file letsql-0.1.6-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 27.3 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb91c6a131b8c6bb7e0e6bcf422e18c72743395375695161dbeb3a403c00deb3 |
|
MD5 | 9561896f44901b597a351d98cdb9430d |
|
BLAKE2b-256 | 1da68a5aeea7a50b94d4928c062f10d05b4de05490e0744ee899f636bac169be |
File details
Details for the file letsql-0.1.6-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 24.7 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69afd53e94ecb82f5f930d0f4d99113e63e1acdf24b8e7ee5f9643b1adf2ed3e |
|
MD5 | dcae89dd56359700b802260ddfc81983 |
|
BLAKE2b-256 | b32ce14bbaaacb168ed1566fc662ea9b6e56eebbef84d3186cbeabbf9d4a2b13 |
File details
Details for the file letsql-0.1.6-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 24.7 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ca24beb838d4f9e11bd9d538db839da0729bfacfc14697140640c4152b427e4 |
|
MD5 | a51ff148d6d644206441f5fd342eb836 |
|
BLAKE2b-256 | 8b5d122160ff4c99c24c29ca859f11266e0d50928447c1033c5a2695821486b0 |
File details
Details for the file letsql-0.1.6-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 21.6 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8babe8a3765eb1079c4876d82a04cf9515260c0be52a29c6a15e0551d708045a |
|
MD5 | 0d3379562f1646cc4c2fa4cc7ab6f074 |
|
BLAKE2b-256 | 19de8635cf1123bf805dc9ca1588f1cbd375b611bb2fad1548cf16d9d519a439 |
File details
Details for the file letsql-0.1.6-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: letsql-0.1.6-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 23.1 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 628a8fdbf33e66a2a028dd61c8e3f5a37dd69edb3597f23b281001ea6af73c43 |
|
MD5 | de175aed58b90fcb0512eb1ef234c82b |
|
BLAKE2b-256 | 6228bb54ae60711271940b58b9f55ca40f4d999060e98dfda5e2f4169a76a115 |