Tooling to track and visualize engagement with the mrpowers-io organization
Project description
ampere
Tooling to track and visualize engagement with the mrpowers-io organization
Installation
ampere is available as a CLI tool and a self-hosted web application (dagster scheduled jobs, fastapi api, and plotly dash frontend)
to use the CLI:
uv steps:
- create a virtual env via
uv venv - add the package to the virtual env via
uv add ampere-meter - see available cli commands via
uv run ampere --helporsource .venv/bin/activate && ampere --help
pip steps:
- install the package via
pip install ampere-meter - see available cli commands via
ampere --help
[WIP] to use the web application:
disclaimer: this is a work in progress and init scripts are not yet available
- clone the repository
- configure required environment variables in
.env- refer to.env.example - run
uv sync --all-extrasto build the full .venv docker compose up --buildto start the api, backend, and frontend services
API
documentation available at https://api-ampere.jeffbrennan.dev/docs
currently supports three endpoints:
/repos- list of current repos/feed- recent github activity (stars, issues, prs, etc.)/downloads- download statistics (hourly, daily, weekly, monthly)
Metrics
Data
Sources
GitHub REST API
updated 4 times a day
- repos
- stars
- issues
- commits
- forks
- releases
- pull requests
Bigquery PyPi Downloads
updated daily
- python release downloads grouped by package version, python version, operating system, cloud platform
additionally gets download statistics for core project dependencies
- pyspark
- deltalake
Pages
home
Weekly github metrics
- stars
- issues
- commits
downloads
Weekly download statistics. Currently only includes python release downloads
- overall
- package version
- python version
- cloud platform
feed
scrolling, color-coded table of recent organization activity
- stars
- issues
- commits
- forks
- pull requests
issues
summary and details of current issues
- summary: open issues, median issue age, issues closed this month
- details: repo, author title, body, date, days old, comments
network stargazers
each star is a node, and people who have starred multiple repositories are connected to each other density of lines indicates common groups of stars edges of each cluster indicate users who have only starred one repository
network followers
each user is a node, internal (another organization user) followers and following are connected includes any user with a record in one of these tables:
- stg_stargazers
- stg_forks
- stg_commits
- stg_issues
- stg_pull_requests
blue edges are a mutual connection, grey edges are one-way color of node indicates number of followers
percentage of internal followers and following computed against user total followers and following
status
data quality page indicating the last time each data source was updated and the number of records in each table
about
repo summaries and links
Tech Stack
This project is build with an open source (d)ata stack:
- Dagster: data orchestration
- Dash: visualization
- Delta: raw data storage
- dbt: data transformation
- Docker: containerization
- DuckDB: database
TODOs
- dark mode
- page load speed
- mobile improvements
- create API
- create init scripts for first time setup
- add tests for API, CLI, and web application
- and github actions to run tests, linting checks
- publish to pypi
- add
amperetomrpowers-ioorganization
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
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 ampere_meter-0.1.6.tar.gz.
File metadata
- Download URL: ampere_meter-0.1.6.tar.gz
- Upload date:
- Size: 918.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e5f17c733d2de2526c2ab047606dddcf226894ff1b732424c5706f71f58723b
|
|
| MD5 |
df8585633def0e70d2cddccb164440a5
|
|
| BLAKE2b-256 |
0bdea4a42e2cbbb3ab49c368689c26b79701d94232853c23c8ce098b6dcb86ae
|
Provenance
The following attestation bundles were made for ampere_meter-0.1.6.tar.gz:
Publisher:
release.yml on jeffbrennan/ampere
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ampere_meter-0.1.6.tar.gz -
Subject digest:
2e5f17c733d2de2526c2ab047606dddcf226894ff1b732424c5706f71f58723b - Sigstore transparency entry: 172014526
- Sigstore integration time:
-
Permalink:
jeffbrennan/ampere@91fd7845cb1d5c573da8ee4fdca81ff60491d1d0 -
Branch / Tag:
refs/tags/0.1.6 - Owner: https://github.com/jeffbrennan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@91fd7845cb1d5c573da8ee4fdca81ff60491d1d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ampere_meter-0.1.6-py3-none-any.whl.
File metadata
- Download URL: ampere_meter-0.1.6-py3-none-any.whl
- Upload date:
- Size: 491.8 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 |
32f90c19a7c91377bded82c33d2cbc2fc50f243bef396a6bbea7dffb3624f8a9
|
|
| MD5 |
de74d70f6175052ad9f0ed2a241468d4
|
|
| BLAKE2b-256 |
493b3ca5333904317d13c5316a019f318178d26c1e7e89794249e97797d3d620
|
Provenance
The following attestation bundles were made for ampere_meter-0.1.6-py3-none-any.whl:
Publisher:
release.yml on jeffbrennan/ampere
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ampere_meter-0.1.6-py3-none-any.whl -
Subject digest:
32f90c19a7c91377bded82c33d2cbc2fc50f243bef396a6bbea7dffb3624f8a9 - Sigstore transparency entry: 172014527
- Sigstore integration time:
-
Permalink:
jeffbrennan/ampere@91fd7845cb1d5c573da8ee4fdca81ff60491d1d0 -
Branch / Tag:
refs/tags/0.1.6 - Owner: https://github.com/jeffbrennan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@91fd7845cb1d5c573da8ee4fdca81ff60491d1d0 -
Trigger Event:
push
-
Statement type: