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.12.tar.gz (20.0 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.12-cp38-abi3-win_amd64.whl (28.7 MB view details)

Uploaded CPython 3.8+Windows x86-64

letsql-0.1.12-cp38-abi3-win32.whl (25.7 MB view details)

Uploaded CPython 3.8+Windows x86

letsql-0.1.12-cp38-abi3-manylinux_2_28_aarch64.whl (34.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

letsql-0.1.12-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB view details)

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

letsql-0.1.12-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (37.5 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ i686

letsql-0.1.12-cp38-abi3-macosx_11_0_arm64.whl (29.9 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

letsql-0.1.12-cp38-abi3-macosx_10_12_x86_64.whl (31.5 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for letsql-0.1.12.tar.gz
Algorithm Hash digest
SHA256 c91a87031871a0cf5ea81cd9317af887215cb7cd4645fa691cdf35bbc82a501a
MD5 2049f4d6fe26757c3c1d913cabe9c8bc
BLAKE2b-256 2808435c2fa20f6614b36209bc844e3c646f030b52089272dda21faffdcb67b9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for letsql-0.1.12-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 29dceed2b148c2e27174bdf15fc21bd7f79c3a9e09aee89e9835b9a209d6c08f
MD5 d7d53cf2526dab74c0579c81a537feb4
BLAKE2b-256 8bb1cf2a0771d250a426530d27fa6d391dd28ad30e5fb7f392583aa66e5e0054

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for letsql-0.1.12-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 fa658b24b0e2a8deca5baa9540cafb3576ec2cb2f21d243bb1111e2847517570
MD5 03363211d4212c6c50232fef1d848e95
BLAKE2b-256 b9ecf4487607c7de62754ab602cbf8e8709a8039f6e42e6cf0f9eb251571550e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.12-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ab12b86354d81d376b76ced5660c789985f2858cf62949988ac97dfda2c28d29
MD5 be03b18e241c3ac045be631951a9461c
BLAKE2b-256 a12cbd993f6c40ac2ad1630970450c3f28010ad82bdcf5f5b4262c6674396089

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.12-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d524981332f33d8b75744d6ae2ceec11b55103a49cd23dff5525b1d50d241919
MD5 d5308f412ba0169c3556cedab84a2bcc
BLAKE2b-256 827c4f6fa35ac8bc4aeef68f94c91f2001a799aa6210456c2d806d3574f7ea1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.12-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 fb34c928e8a6834a9d780229faf5c087c08827ddab0e934624b5f9274e2c3c03
MD5 01ed20bdf56d806d06b463267ea42620
BLAKE2b-256 111c8a86c89584d58c4ee1b01d7ad50d21f6681e1061ba3213145b953358316f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.12-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7ebc6a92019fd1fcf8542b9c2d256467629e236852401e4a6e2d66a918624b9
MD5 780555af0070b778248fc5763c4d492d
BLAKE2b-256 0843b8cc4f31b86b1f82df40da11c9f1a3ac8096956f2fae2eebf425dca8e3ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.12-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2b7b8030b643fd8f9ed00541ae4525e8cf1b05acdf40be5078d2c04f9be138b7
MD5 605987d9dbbbc574104023dd277a31e5
BLAKE2b-256 3894ddd11b4d718e45e456d18598e8c00718cd8182c1e96450ec935f77ecf99e

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