Bots are software programs that combine requests, which are typically provided as text, with contextual data, such as geolocation and payment information, to appropriately handle the request and respond. Bots are often also called "chatbots", "assistants" or "agents."

Open source bot examples

  • Limbo is an awesome Slack chatbot that provides a base for Python code that otherwise would require boilerplate to handle the Slack API events firehose.

  • python-rtmbot is the bot framework for building Slack bots with the Real Time Messaging (RTM) API over WebSockets.

  • The GitHub bots search results and the bots GitHub topic contain tens of thousands of example bots you take analyze to see how they are built.

  • Errbot can work with multiple backends such as Hipchat, Discord, Slack and Telegram. It's designed to be deployed "as is" except for your credentials but the Python source code can also be customized.

Python-specific bot resources

Additional Bots resources

What else would you like to learn about Python?

I want to know about working with data in Python.

I've built a Python web app, now how do I deploy it?

Why is Python a good programming language to use?

Matt Makai 2012-2022