/stars

Query a GitHub user's starred repos and their topics

Primary LanguageJupyter NotebookBSD Zero Clause License0BSD

stars

This is some Python code to query a GitHub user’s starred repositories and their topics.

Setup

Install with conda or pipenv.

conda

conda env create
conda activate stars  # To get a shell in the conda environment.

pipenv

pipenv install
pipenv shell  # To get a shell in the Python virtual environment.

If you want to install development dependencies to support static analysis (style checking and static type checking), run pipenv install -d instead of (or in addition to) pipenv install.

Usage

Open the notebook stars.ipynb. I suggest VS Code, which I used, but you can also use Jupyter Lab or any other application that supports Jupyter notebooks.

Most of the program logic is in stars.py.

Data are cached and reused in files named starred-repos-username.json in the current directory. These caches never expire, but you can delete them. One such cache, starred-repos-EliahKagan.json, is included in this repository.

License

0BSD. See LICENSE.