Build-a-GitHub-Bot Workshop¶
GitHub provides a great platform for collaborating. You can take it to the next level by creating custom GitHub bots. By delegating some of the chores to a bot, you get to spend more time developing your project and collaborating with others.
Learn how to automate your workflow by building a personal GitHub assistant for your own project. We’ll use libraries called gidgethub and aiohttp to write a GitHub bot that does the following:
- Greet the person who created an issue in your project.
- Say thanks when a pull request has been closed.
- Apply a label to issues or pull requests.
- Gives a thumbs up reaction to comments you made. (becoming your own personal cheer squad).
The best part is, you get to do all of the above using Python 3.6! F-strings included!
This tutorial is for PyCon US 2018 in Cleveland, Ohio. Video recording is here.
About me¶
My name is Mariatta. I live in Vancouver, Canada where I work as a Software Engineer for Zapier. In my free time, I help organize Vancouver PyLadies, PyCascades conference, and contribute to open source.
I’m a Python Core Developer. I help maintain Core Python’s GitHub bots: bedevere and miss-islington.
We’ll be using the same tools and technologies used by Core Python’s team to build their bots.
If you have any feedback or questions about this tutorial, please file an issue.
- E-mail: mariatta@python.org
- Twitter: @mariatta
- Mariatta on GitHub
- Mariatta on Patreon
Know of other places, conferences, or events where I can give this tutorial? Let me know!
Code of Conduct¶
Be open, considerate, and respectful.