Python analytics solution accelerator using composable data systems
Project description
Python analytics accelerator
A composable data system in a Python package.
This project uses:
- User interface: Ibis (Python dataframe code and/or SQL)
- Execution engine: DuckDB (local) and ClickHouse (remote)
- Data storage: Delta Lake tables (local and/or cloud storage)
You can mix and match these components as needed.
[!CAUTION] This accelerator is not necessarily production-ready, but might be a good starting point. For now, it is primarily intended as an educational resource.
setup
Get up and running in 5 steps.
1. install
Install:
pip install python-analytics-accelerator
[!TIP] This makes the
acc
CLI available as long as you have a Python environment with the package installed active. Typeacc
in your terminal to see available commands.
2. initialize
Initialize:
acc init
[!TIP] Edit the
config.py
file to the GitHub repository and PyPI package you want to analyze.
[!IMPORTANT] You must edit the
.env
to add your GitHub token or otherwise setGITHUB_TOKEN
as an environment variable.You can use
gh auth token
to print your GitHub token if you have the GitHub CLI installed.
3. ingest
Ingest from external sources:
acc ingest
4. run data DAG
Run data DAG:
acc run
5. dashboard
Open dashboard:
acc dashboard
development
Clone and change into the repository:
gh repo clone lostmygithubaccount/python-analytics-accelerator
cd python-analytics-accelerator
Install:
pip install -r requirements.txt
Format your code:
ruff format .
contributing
Work in progress, contributions welcome. Please consider asking before substantial changes in these early days.
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
Built Distribution
File details
Details for the file python_analytics_accelerator-0.2.3.tar.gz
.
File metadata
- Download URL: python_analytics_accelerator-0.2.3.tar.gz
- Upload date:
- Size: 446.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb4ae012a475eb58c8bf38c09df6c909dfb11caa1f6e6a448590d153f2b2700d |
|
MD5 | 52d13893e5ead937a8d48bcd8eb2c8c0 |
|
BLAKE2b-256 | 1e2833af85e8eeae7933c2c0ab93d2ac54753fa3433e137c8cff390f92dbafed |
File details
Details for the file python_analytics_accelerator-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: python_analytics_accelerator-0.2.3-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 575bfcc725f64d930abacb687959dc9b47d0194ba93c08400a4773598bdf5051 |
|
MD5 | 8c9ac78ad9bde6b7b608a481f0bd63cf |
|
BLAKE2b-256 | e6b882a1ee80095b7ffbe5094f78267f54826cbd1e67d5edbb95a2a01018651c |