Skip to content

About rainbow mind machine

rainbow mind machine (rmm) is a library for running Twitter bot flocks. It is owned by the rainbow-mind-machine organization on Github.

Like all mind machines, rainbow mind machine is simple and extensible.

How is rainbow mind machine simple?

The mind machine framework revolves around providing a few simple components for building bot flocks:

But it gets even simpler than that: boring-mind-machine provides a TwitterKeymaker class, so that rainbow mind machine can focus exclusively on Shepherd and Sheep classes.

That's pretty simple!

What does rainbow mind machine extend or do?

rainbow mind machine is extensible to keep bots from becoming boring. There are a limited number of components to extend (2), these two components have a simple and clear function call order, and rainbow mind machine tries to use sensible defaults.

That means we start out with bots that "just work" and we can incrementally improve, extend, override, or redefine behaviors to make them increasingly complex, while still abstracting away messy details.

For examples, see the TwitterShepherd or TwitterSheep pages.

How is rainbow mind machine POOP-y?

The rainbow mind machine library makes good use of concepts in Python Object Oriented Programming, or POOP.

The rainbow mind machine library uses inheritance, because the entire library is built on base classes provided by boring mind machine.

Additionally, the whole way rainbow mind machine works is to provide a set of useful classes, but also make it easy for users to write their own classes.

Everything is about classes.


rainbow mind machine is an extensible framework for running Twitter bot flocks in Python.

rainbow mind machine is a framework because it provides components (Keymaker, Shepherd, and Sheep) with specific roles and ways of interacting.

rainbow mind machine is extensible to keep bots from becoming boring. There are a limited number of components to extend (2), these two components have a simple and clear function call order, and rainbow mind machine tries to use sensible defaults.