Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

a dynamic class loader

Project Description


This project exposes a way to load classes dynamically and to make sure that each class that is loaded has and adheres to one or more verifiable interfaces.

Project Name

The project name started as simply “class registry”, but that seemed really dull and boring. Totally not entertaining. So, my wife and I brainstormed and we came up with the idea of a plant, which is both something that grows and somthing that simply produces items according to technical specification (AKA factory). Then, I started to consider the types of plants that we grow which create hearty staples, and potatos came to mind. And yes, I could have used “potato plant”, but that was too long, so now its just “potato”. My wife wanted to call it “pytatoe”, but I said that that was too cheesy.


I wanted a system for a plug-in architecture. I got the idea for this project from the following question: of-class-list-from-module-given-its-full-path

As I developed it, it became apparent that a construct and/or pattern must have been used in the making of such evil software as Microsoft Windows.


See example/ for a usage example.

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
potato-0.0.2.tar.gz (10.2 kB) Copy SHA256 Checksum SHA256 Source Apr 24, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting