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.7.tar.gz (19.5 MB view hashes)

Uploaded Source

Built Distributions

letsql-0.1.7-cp38-abi3-win_amd64.whl (25.5 MB view hashes)

Uploaded CPython 3.8+ Windows x86-64

letsql-0.1.7-cp38-abi3-win32.whl (22.8 MB view hashes)

Uploaded CPython 3.8+ Windows x86

letsql-0.1.7-cp38-abi3-manylinux_2_28_aarch64.whl (29.7 MB view hashes)

Uploaded CPython 3.8+ manylinux: glibc 2.28+ ARM64

letsql-0.1.7-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.3 MB view hashes)

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

letsql-0.1.7-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (32.4 MB view hashes)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ i686

letsql-0.1.7-cp38-abi3-macosx_11_0_arm64.whl (25.8 MB view hashes)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

letsql-0.1.7-cp38-abi3-macosx_10_12_x86_64.whl (27.6 MB view hashes)

Uploaded CPython 3.8+ macOS 10.12+ x86-64

Supported by

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