Skip to main content

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


site


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:

  1. clone the repository
  2. uv run ampere --help to see available cli commands

[WIP] to use the web application:

disclaimer: this is a work in progress and init scripts are not yet available

  1. clone the repository
  2. configure required environment variables in .env - refer to .env.example
  3. run uv sync --all-extras to build the full .venv
  4. docker compose up --build to start the api, backend, and frontend services

API

documentation available at https://api-ampere.jeffbrennan.dev/docs

currently supports three endpoints:

  1. /repos - list of current repos
  2. /feed - recent github activity (stars, issues, prs, etc.)
  3. /downloads - download statistics (hourly, daily, weekly, monthly)

Metrics

Data

data model

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:


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 ampere to mrpowers-io organization

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

ampere_meter-0.1.1.tar.gz (916.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ampere_meter-0.1.1-py3-none-any.whl (490.9 kB view details)

Uploaded Python 3

File details

Details for the file ampere_meter-0.1.1.tar.gz.

File metadata

  • Download URL: ampere_meter-0.1.1.tar.gz
  • Upload date:
  • Size: 916.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ampere_meter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1ecf7ea8ac255c1155822f5561e08a76dd1ae64287ba06a1085b7167efb3ca61
MD5 736be39f42f4b67c3dd7483e88c951be
BLAKE2b-256 e07fd0449595ed4d881a37f510ec7bd380f0af0dbfe72e35aaa21a2312b2b360

See more details on using hashes here.

Provenance

The following attestation bundles were made for ampere_meter-0.1.1.tar.gz:

Publisher: release.yml on jeffbrennan/ampere

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ampere_meter-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ampere_meter-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 490.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ampere_meter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 069befc486c8b55dbaa5c92536eb8b1b99d314cefcdad6cf1874ebde893afd01
MD5 a3c82111f082f7a02abe713e5f4eb132
BLAKE2b-256 98dbb1efbd40fadd379c9bb67e2c9f2e3acb5b2245f4ad319e4d395c421c1d62

See more details on using hashes here.

Provenance

The following attestation bundles were made for ampere_meter-0.1.1-py3-none-any.whl:

Publisher: release.yml on jeffbrennan/ampere

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page