Factory Pattern

http://python-3-patterns-idioms-test.readthedocs.io/en/latest/Factory.html