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.2.tar.gz
.
File metadata
- Download URL: python_analytics_accelerator-0.2.2.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 | 149a34c7f48b1eeb28595e83714c71bbd510962d813aa914fba1657edb7f408b |
|
MD5 | 8ea653bc4d445f5e52291e8e96d4a1c4 |
|
BLAKE2b-256 | ae6e375842305cfb9dcc1a36a5717ed476794103219a45c74b344d39df941c0e |
File details
Details for the file python_analytics_accelerator-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: python_analytics_accelerator-0.2.2-py3-none-any.whl
- Upload date:
- Size: 14.0 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 | 093b52728714b366b8a10cf86fb8d675ab73c93323c9bc998aa0cba36b346996 |
|
MD5 | c5edca958d07785a9ad848fd1f5c6d3b |
|
BLAKE2b-256 | 2f945778dba812b6a02ce9afcff75b49d972b313d0a9f8abc03df0ef34fa0a2d |