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.7.tar.gz
.
File metadata
- Download URL: letsql-0.1.7.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 | 899cd00f9a233e79f14bcdf11a5174e2d2f8047565d206d3481dffb5708e1501 |
|
MD5 | 68196a566e1e208f5360213ee647842f |
|
BLAKE2b-256 | 181c55a9f69ef5eda7c907e7784acaef7dd444ece48d78d6126f125a177ca6f1 |
File details
Details for the file letsql-0.1.7-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: letsql-0.1.7-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 25.5 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 | edd364fa4a44bad0f39a1587b319c620abce94346aa2d8cd641986acfacde870 |
|
MD5 | 3d9d1cd6d09c819bd645d8d82af8c540 |
|
BLAKE2b-256 | ef2be9d8013c7cc73f62d29fd02157e05bdc88e679791d90d36784499a742808 |
File details
Details for the file letsql-0.1.7-cp38-abi3-win32.whl
.
File metadata
- Download URL: letsql-0.1.7-cp38-abi3-win32.whl
- Upload date:
- Size: 22.8 MB
- Tags: CPython 3.8+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 930202fe687372823d4cb75bfce38ae62704944e60fccc9d33df0c55e2adbd73 |
|
MD5 | f16663ec9651ae745040eae3c707d9c8 |
|
BLAKE2b-256 | 6d4b845b532519afc7f96133b1f50efc0ee25121ed44c5c4d647a9d52c7f7a33 |
File details
Details for the file letsql-0.1.7-cp38-abi3-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: letsql-0.1.7-cp38-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 29.7 MB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aee120876c3a883b0ce25e38af9358ed55ae3f2b1cd711b2b5be96d38af43cc |
|
MD5 | 5b9d85a25acd47719e7ca437b01cc831 |
|
BLAKE2b-256 | 680689cb732dd11b43f94c31d2d226afff020e6f739c11b2b0228ea65b5d5831 |
File details
Details for the file letsql-0.1.7-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: letsql-0.1.7-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 30.3 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 | 71da55ab9739d4cdd6ac7b372158af8354de3ab651e4c3350ab022976a18ea25 |
|
MD5 | 7f88bfc9f4541ddde9b317938052ff54 |
|
BLAKE2b-256 | 5aaffd9649b9a1112dcaa508a033badd6bb9e09bdd94253d1c80cd67e767a569 |
File details
Details for the file letsql-0.1.7-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: letsql-0.1.7-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 32.4 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 | d9e0190004112bca0e5847f274646a26538f7e9d5c8c91a91d70b2e904fda09c |
|
MD5 | d18e10dbeea59d382ef1285730cff351 |
|
BLAKE2b-256 | d442094bfe1d7530d9f90842cd09c0c1601cbe97b7abddf2d934aeff26571a88 |
File details
Details for the file letsql-0.1.7-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: letsql-0.1.7-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 25.8 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 | 60793eaf7c205b7d36735582e2ab6799dacf4f2c66f77311d605b2e50eea41d4 |
|
MD5 | 817a84a2b6cf6e042e1d36211738afc2 |
|
BLAKE2b-256 | 712876bca79f10d2fd0a3db739c04bc394616ca3ecb6936539f428ffbea9b796 |
File details
Details for the file letsql-0.1.7-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: letsql-0.1.7-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 27.6 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 | 353676cd417d7e3df3ac825da18586df1e591f15fda089ffff9f82bdb9b1cce8 |
|
MD5 | 53a2c09e3bfe5d0e3a5246b6443e75ff |
|
BLAKE2b-256 | e64fecac614356a74777d2f1b98fa880bd0c409dca13695bb5f0aa5fd191ea8e |