Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install potato

How to install potato

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install potato
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.2 Available View build log
Windows (64-bit)
0.0.2 Available View build log
Mac OS X (10.5+)
0.0.2 Available View build log
Linux (32-bit)
0.0.2 Available View build log
Linux (64-bit)
0.0.2 Available View build log
 
Author
License
Eclipse Public License -v 1.0
Dependencies
Lastest release
version 0.0.2 on Apr 24th, 2011

General

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.

Motivation

I wanted a system for a plug-in architecture. I got the idea for this project from the following stackoverflow.com question:

http://stackoverflow.com/questions/5145378/dynamic-module-import- 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.

Usage

See example/ for a usage example.

Subscribe to package updates

Last updated Apr 24th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.