- FastAPI
- unicorn
- httpx
- pydantic[dotenv]
NOTE: you you should install the env support version of pydantic
to have the environment variable file .env
be supported
$ pip install pydantic[dotenv]
with this you can make your own .env
file, take a look at the .env.sample
to see what variable we support.
$ docker build -t my_github_popularity_check .
$ docker-compose up
NOTE: if you are not familiar with Docker please take a look at the documentation
$ pytest tests/
$ pytest --cov-report html --cov=. tests/
python main.py
- handle rate limits from the Github API
- implement load test with siege
before committing new changes please run the command tox
to make sure some PEP8 rules are fixed
you can modify tox configs in tox.ini
file