Analytics DSL for Python
Project description
PyDough
PyDough is an alternative DSL that can be used to solve analytical problems by phrasing questions in terms of a logical document model instead of translating to relational SQL logic.
Learning About PyDough
Refer to these documents to learn how to use PyDough:
- Spec for the PyDough DSL
- Spec for the PyDough metadata
- List of builtin PyDough functions
- Usage guide for PyDough
Developing PyDough
PyDough uses uv as a package manager. Please refer to their docs for
installation. To run testing
commands after installing uv, run the following command:
uv run pytest <pytest_arguments>
If you want to skip tests that execute runtime results because they are slower, make sure to include -m "not slow" in the pytest arguments.
Note: That some tests may require an additional setup to run successfully. Please refer to the TPC-H demo directory for more information on how to setup a default database for testing.
Running CI Tests
To run our CI tests on your PR, you must include the flag [run CI] in latest
commit message.
Runtime Dependencies
PyDough requires having the following Python modules installed to use the library:
- pytz, pandas, sqlglot
The full list of dependencies can be found in the pyproject.toml file.
Demo Notebooks
The demo folder contains a series of example Jupyter Notebooks
that can be used to understand PyDough's capabilities. We recommend any new user start
with the demo readme and then walk through the example Juypter notebooks.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydough-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pydough-1.0.0-py3-none-any.whl
- Upload date:
- Size: 243.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad6089874b6e0bb6ca078f691a5faf6a7a64711e49a077e5907fc2eef0569861
|
|
| MD5 |
c243786458356c7bb9484a15b9d724fd
|
|
| BLAKE2b-256 |
efd127ecb44426029870d4e6738bcb59f5cc5fcec54066bcd1ec8aba93b88dd4
|
Provenance
The following attestation bundles were made for pydough-1.0.0-py3-none-any.whl:
Publisher:
build_pip.yml on bodo-ai/PyDough
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydough-1.0.0-py3-none-any.whl -
Subject digest:
ad6089874b6e0bb6ca078f691a5faf6a7a64711e49a077e5907fc2eef0569861 - Sigstore transparency entry: 165988519
- Sigstore integration time:
-
Permalink:
bodo-ai/PyDough@50453f6d9a2c04cb6f73026238b3320536a88c7a -
Branch / Tag:
refs/tags/v1.00.00 - Owner: https://github.com/bodo-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_pip.yml@50453f6d9a2c04cb6f73026238b3320536a88c7a -
Trigger Event:
release
-
Statement type: