Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Display your stats with this unique StackOverflow Badge

License

NotificationsYou must be signed in to change notification settings

claytonjhamilton/stackoverflow-badge

Repository files navigation

Pull Requests Welcomefirst-timers-only Friendlyexample workflowFlake8 Status

Display your stats with this unique StackOverflow Badge

StackOverflow user information

Why

This repository is my experiment with setting up an API from scratch and serving data to end users. Along the way I was able to learn how to use GitHub Actions, write simple Python tests, and improve my understanding of FastAPI.

How to use

Update the following to include your StackOverflow UserID and embed in your GitHub profile's README or other markdown document:
[![HamiltonPharmD StackOverflow](https://stackoverflow-badge.onrender.com/api/StackOverflowBadge/14122375)](https://stackoverflow.com/users/14122375/hamiltonpharmd)

Setting up your local environment to contribute

  1. Find an issue you're interested in resolving
  2. Fork and clone this repo
  3. Create a virtual environment
  4. Runpip install -r requirements.txt
  5. Complete code edits
  6. To start the app runuvicorn main:api
  7. Open this address in your browser to view the badge:http://127.0.0.1:8000/api/StackOverflowBadge/14122375
  8. Run tests using from project root dirpython -m pytest tests/ and ensure all pass
  9. Update flake8 badgegenbadge flake8 --output-file ./reports/report_badges/flake8-badge.svg
  10. Submit changes as a PR

About

Display your stats with this unique StackOverflow Badge

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp