Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eliahkagan/stars
Query a GitHub user's starred repos and their topics
https://github.com/eliahkagan/stars
Last synced: about 23 hours ago
JSON representation
Query a GitHub user's starred repos and their topics
- Host: GitHub
- URL: https://github.com/eliahkagan/stars
- Owner: EliahKagan
- License: 0bsd
- Created: 2023-02-20T02:32:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T01:11:23.000Z (3 months ago)
- Last Synced: 2024-08-02T04:06:20.944Z (3 months ago)
- Language: Jupyter Notebook
- Size: 1.86 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stars
This is some Python code to query a GitHub user’s starred repositories and
their topics.## Setup
Install with [`conda`](https://en.wikipedia.org/wiki/Conda_(package_manager))
or [`pipenv`](https://pipenv.pypa.io/en/latest/).### conda
```sh
conda env create
conda activate stars # To get a shell in the conda environment.
```### pipenv
```sh
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`](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`](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`](starred-repos-EliahKagan.json), is included
in this repository.## License
[0BSD](https://spdx.org/licenses/0BSD.html). See [**`LICENSE`**](LICENSE).