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!


Project Description

My name is Daniel Lepage (, and you probably don’t need this module. It’s full of random hacks that I’ve accumulated and needed somewhere to stick. Many of them probably no longer work. Some that do may be stupid ways of doing things, or obsoleted by real libraries.

Some parts are also copied directly from blogs or whatnot; such code is marked accordingly.

I’m only putting this online so that I can use it when I need to work with some old thing I developed that relies on some random function from here. Feel free to use it, but do so at your own risk.

Honestly, the only part of this library that I ever use on a regular basis is the module, which, upon import, harvests the locals and globals at that point, calls code.interact with that namespace, and then deletes itself from the module registry so that it can be imported again. I use it when debugging:

def foo(x):
  from import doit
  return x*x

If you run the above, you’ll suddenly find yourself at a command line at that point where you imported interact.

Some other things, at least the ones that I remember what they do, are:


Some automation tools for building modules with pyCuda. I’m pretty sure various other libraries have made this ENTIRELY OBSOLETE.


Looks like a bunch of image manipulation functions that are probably already provided by some library or other. Also includes a python wrapper around Christopher de Coro’s image debugger


Automatically compile really simple c projects and then import them via ctypes.


From one time when I was playing around with the Panda3D game engine.


A few tools I used back when I did a lot of numpy/scipy work. These days you’re probably better off with IPython’s notebooks, and tools like PyTables or Blaze.


Some wx widgets I built, also when I did a lot of numpy/scipy stuff.


Could be pretty much anything in here.

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(24.1 kB) Copy SHA256 Hash SHA256
Source None Mar 15, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate