This is a demo project for my "Getting started with Open Source" talk. PRs welcome!
If you enjoy this workshop and want to say thanks, you can buy me a coffee here: https://www.buymeacoffee.com/sambail Thank you 😄
Ok, this is really just a dummy project I hacked together to demonstrate contribution workflows. But it does do something fun: The code in brewery_api.py
queries an API that provides a list of breweries for any US state a user inputs. Thanks to openbrewerydb.org for maintaining this API.
You can run the code with
python src/brewery_api.py <state name>
or
python -m src.brewery_api <state name>
For example:
python -m src.brewery_api ohio
If using a state name with a space, you'll need to quote it, e.g.
python -m src.brewery_api "new york"
- Check out the open issues and the #TODOs in the code
- Then follow the instructions in CONTRIBUTING.md!