Skip to main content

Python analytics solution accelerator using composable data systems

Project description

Python analytics accelerator

A composable data system in a Python package.

layers

This project uses:

  1. User interface: Ibis (Python dataframe code and/or SQL)
  2. Execution engine: DuckDB (local) and ClickHouse (remote)
  3. 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. Type acc 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 set GITHUB_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

python_analytics_accelerator-0.2.3.tar.gz (446.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file python_analytics_accelerator-0.2.3.tar.gz.

File metadata

File hashes

Hashes for python_analytics_accelerator-0.2.3.tar.gz
Algorithm Hash digest
SHA256 eb4ae012a475eb58c8bf38c09df6c909dfb11caa1f6e6a448590d153f2b2700d
MD5 52d13893e5ead937a8d48bcd8eb2c8c0
BLAKE2b-256 1e2833af85e8eeae7933c2c0ab93d2ac54753fa3433e137c8cff390f92dbafed

See more details on using hashes here.

File details

Details for the file python_analytics_accelerator-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for python_analytics_accelerator-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 575bfcc725f64d930abacb687959dc9b47d0194ba93c08400a4773598bdf5051
MD5 8c9ac78ad9bde6b7b608a481f0bd63cf
BLAKE2b-256 e6b882a1ee80095b7ffbe5094f78267f54826cbd1e67d5edbb95a2a01018651c

See more details on using hashes here.

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