Skip to main content

API Reference

Profile README

Introduce yourself, add badges, and scaffold the README build.

who_am_i()

Introduce yourself, one line at a time.

who_am_i_gif()

Render the who_am_i() lines as a terminal style GIF.

gh_badges()

Markdown image links for GitHub profile summary cards.

so_rep()

HTML for a Stack Overflow reputation badge.

use_profile_readme()

Write a starter build_readme.py for your profile repo.

use_profile_readme_action()

Write a GitHub Action that rebuilds the profile README on a schedule.

GitHub data

Pull commits, stars, issues, and pull requests from the GitHub API.

collect_git_commits()

Collect commits, stars, issues, and pull requests for a GitHub user.

add_time_columns()

Add local time columns to a commits DataFrame.

Commit charts

Matplotlib charts of commit activity.

calendar_heatmap_plot()

GitHub style calendar heatmap of daily commits, one row per year.

cumulative_line_plot()

Cumulative commits over time, one step line per repo.

punchcard_plot()

Punchcard of commits by weekday and hour of day.

scatter_density_plot()

Scatter of commits across two of repo, time, date, and weekday.

Spiral charts

One turn per year, from the center out.

spiral_points_plot()

Spiral of daily commits drawn as points sized by count.

spiral_heatmap_plot()

Spiral of daily commits drawn as tiles colored by count.

spiral_horizon_plot()

Spiral horizon chart of daily commits.

Animation

Turn a folder of PNG frames into a GIF.

make_gif()

Assemble a directory of PNG frames into a looping GIF.