Skip to main content

Data processing library built on top of Ibis and DataFusion to write multi-engine data workflows.

Project description

LETSQL

Downloads PyPI - Version GitHub License PyPI - Status GitHub Actions Workflow Status Codecov

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

letsql-0.1.11.tar.gz (19.7 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

letsql-0.1.11-cp38-abi3-win_amd64.whl (26.8 MB view details)

Uploaded CPython 3.8+Windows x86-64

letsql-0.1.11-cp38-abi3-win32.whl (23.8 MB view details)

Uploaded CPython 3.8+Windows x86

letsql-0.1.11-cp38-abi3-manylinux_2_28_aarch64.whl (31.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

letsql-0.1.11-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (32.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

letsql-0.1.11-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (34.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ i686

letsql-0.1.11-cp38-abi3-macosx_11_0_arm64.whl (27.5 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

letsql-0.1.11-cp38-abi3-macosx_10_12_x86_64.whl (29.2 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file letsql-0.1.11.tar.gz.

File metadata

  • Download URL: letsql-0.1.11.tar.gz
  • Upload date:
  • Size: 19.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.8

File hashes

Hashes for letsql-0.1.11.tar.gz
Algorithm Hash digest
SHA256 2f516026e473cf3a162f0ab95409c3fc82dc67ca8f129907f6e4ed4392616536
MD5 a36db5db6340c0324907dd24acf87068
BLAKE2b-256 3236c3d0106a8db2821eeddc7678ba8de9a5dc30270629706c76c7ba7f9ec14b

See more details on using hashes here.

File details

Details for the file letsql-0.1.11-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: letsql-0.1.11-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 26.8 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.8

File hashes

Hashes for letsql-0.1.11-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2006d1ccdf8933ff95e2ab598b978bef44be1290581b108f8c9143886da59aca
MD5 f16a5b9c86d3937a944aa07d67ade48b
BLAKE2b-256 717b2bc9fc8070046305be9e81cd86a97acc2cff9c33b6415976d6aa19cbe569

See more details on using hashes here.

File details

Details for the file letsql-0.1.11-cp38-abi3-win32.whl.

File metadata

  • Download URL: letsql-0.1.11-cp38-abi3-win32.whl
  • Upload date:
  • Size: 23.8 MB
  • Tags: CPython 3.8+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.8

File hashes

Hashes for letsql-0.1.11-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 6aa35074350a56cc011dbd58f419e616ec05ffeaf03f5c909994faeaf007a6ac
MD5 e7d9a572c5020c5dab46d0ecb4816dac
BLAKE2b-256 f46dc5edbfffdbc4f07f256310445c44c1622cb6d8a2cbc5086de93414af91c8

See more details on using hashes here.

File details

Details for the file letsql-0.1.11-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for letsql-0.1.11-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 171eb0acb7714f3fe1d3bc8379534aa1c987434ce3e4999e696a5169ccee191f
MD5 be377cb7a20959a95b9c0f1adf5b6211
BLAKE2b-256 ebab7dc64a79c47a63aa5dd8c07d9018dff27e97a5963f3414f07ca62d0a9b58

See more details on using hashes here.

File details

Details for the file letsql-0.1.11-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for letsql-0.1.11-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ec4391d2db09e28abafb830b8fd3ddd2aa2429e0a97d8138a88dbb685d901a6a
MD5 e23f2677a9794edb1a75cc073534cab8
BLAKE2b-256 8a49d69c5f9b5a549505e135420a1e7bb876ae62ffe1c693df74af5e9132c83c

See more details on using hashes here.

File details

Details for the file letsql-0.1.11-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for letsql-0.1.11-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 11f07c5c485450fe4a574c3090331e57e857de886901952ef403b2da11bd4254
MD5 5bd2b1c3cf2424d76f3b5bb31844f48b
BLAKE2b-256 8c31dabaaae0073571f35557d8d0a635c27506c674cc30f51193b8db6b2671b0

See more details on using hashes here.

File details

Details for the file letsql-0.1.11-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for letsql-0.1.11-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 98eadf212dcdc33057f6570c0f5734e01ff70dc8d25bac0ba1b06e523ef642f2
MD5 00476e8175f00f66d98e7e139bd0aded
BLAKE2b-256 e76dc7030d804f498ee4860bd7f35dd4b8024f0e1affc3d75864aee68bbfb5b3

See more details on using hashes here.

File details

Details for the file letsql-0.1.11-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for letsql-0.1.11-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a9779fd39b611e569fdb172d3da6d3f26359cf28fa01ba02794d44e8c9399d01
MD5 f7943d0e6caac6a54dc5010545a2cb9a
BLAKE2b-256 89de8333fe1bd9fa0140c603894b975e3e03b94f14f5b9ae492f746e6fd88891

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page