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

Uploaded CPython 3.8+Windows x86-64

letsql-0.1.13-cp38-abi3-win32.whl (25.8 MB view details)

Uploaded CPython 3.8+Windows x86

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

letsql-0.1.13-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.13-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.13-cp38-abi3-macosx_11_0_arm64.whl (29.9 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

letsql-0.1.13-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.13.tar.gz.

File metadata

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

File hashes

Hashes for letsql-0.1.13.tar.gz
Algorithm Hash digest
SHA256 2460368993336a0028130ed19f62b4102bd2e8ff791f182eee4a6a9af589c61b
MD5 4e47d5e4f6eba4a0a1b54bd78ad09f41
BLAKE2b-256 f1f16ee68874b3614f436f4b3bccd8972484fb528aaf9a7f3b5f29da00bccad7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: letsql-0.1.13-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.13-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ec20d6a15a3bf3a15cc2b2f1b86a9cd8e45baae5da44337f958855f4cacf4802
MD5 a8c6d5ab3aec3912fd495c38be42c491
BLAKE2b-256 85b1afeb054b0be2a7992ca90ccbed68b6a197d47ee12ac026ced694446abded

See more details on using hashes here.

File details

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

File metadata

  • Download URL: letsql-0.1.13-cp38-abi3-win32.whl
  • Upload date:
  • Size: 25.8 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.13-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 4362c0c726e94ee4468a678e988256e9fb2014ea19915ce6182a69de24cb6e73
MD5 425ade5c0f061f7189dab5cdb4d6711a
BLAKE2b-256 a7f5bdfcfe2a80552ece35cc26002e3678bcb7475595cd08e1c98a7cccc7b8a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.13-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 13d3f9e7282355a2d857c8d94e311786a6c91f1682cb337693f331a32cf763f4
MD5 27fbbf3a5b5a7e0d5ac18fe70c0a511b
BLAKE2b-256 a5d71f9062991adfff76ca852399051781fc1a89d6995b8c3999217c8f6da5ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.13-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 021f81e64cd28a6b2dd37af537189e92d6f71ce56ede6cbbbc6ccd3c43099ca9
MD5 10d0f59c66d800c5d40d74999b526a52
BLAKE2b-256 09f2a517f09fb24521c1688d4d07534471f96841daedb99dd1e70b1d59c6cf3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.13-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 8b6b5860c1c495ad8d6bf6d6066ad0f6a33d968bb3249bbe01a2f5897e3a609e
MD5 a240bcf99aab186aab203ef1821946b4
BLAKE2b-256 3c4ab1ab31c0784670511ec5b9fc942f1c3352329d22478e89b120d453ea20ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.13-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ef6c183825480b92f353af8b6a5d405e6b1196d75a7cdcb1bdce7cd9db31efa
MD5 3f32e4918a8162fda53f05e45e239f51
BLAKE2b-256 e28735793f3143754de234bad0fa28237818fc215ae4c425f9992d62730f0e90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for letsql-0.1.13-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cb607aad705cb6a1e37e3c887dbaea615df33a4852763044a3b16692c07a6fe1
MD5 689953b4da0a93741603027323cc170f
BLAKE2b-256 8260f5d043874f35385af88b0d1dfa74cef4d21993a6452269d29c9929a40659

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