Python Projects
Python is a modern platform independent
object oriented open source scripting language
-- easy to learn and nevertheless
incredibly flexible. Some examples of its usage: mail and news processing,
HTML/SGML/XML processing, flexible text processing, database access,
GUI realization, Web publishing. Python is supported by
a very active and helpful newsgroup.
This page contains my contributions to the vast Python software
fund.
- DMprofile 0.1 is a tiny Python package
defining an extension of Python's "pstats.Stats" class for
profile analysis. It supports the analysis of functions matched
by a re
gular expression, which facilitates especially caller and
callee analysis.
Note: This is now maintained on PyPi as dm.profile
.
- DMpdb 0.1 is a tiny Python package with
improvements and extensions for "pdb", Pythons built-in debugger:
- the 'where' command gets optional arguments 'number' and 'end'
to control the amount of entries printed;
its output is made more readable;
by defining the method 'getAdditionalFrameInfo', a derived
class can show additional debugging info.
- the 'do_break' command can now be used from outside the debugger
to define breakpoints
- the new 'frame' command allows to directly
switch to an interesting frame
The package also defines the module "Zpdb" providing
a debugger class that understands Zope's additional debugging
info ('__traceback_info__' and '__traceback_supplement__').
Note: This is now maintained on PyPi as dm.pdb
.
- packageresources 0.1 is a
Python package for
standard access to package related resources (e.g. configuration files,
package related data, presentation templates, ...). Such a standard access
is essential for applications running from a zip archive or as a frozen
application.
packageresources
defines a new
URL scheme (see RFC 2396), the 'pypackage' scheme, used to
designate package resources and a set of functions to access
such resources. It also provides a function to patch Python's
standard library such that 'pypackage' URLs are handled
transparently. The current implementation supports packages in the
filesystem or in a zip archive and frozen packages. It has been tested
on *nix and Windows (XP). Not everything may work for installations
using the macpath
module (i.e. older Macintoshs).
Read doc.rst
in the tarball, for details.
- Dllimporter is a (small) package to facilitate the import of shared libraries
(aka dlls or extension modules) for Python applications
running from a zip archive or an executable (a frozen application).
For more information, please see the package docstring.
- Analysing where you are This tiny module defines the function
where
. It returns information about the sequence
of calls leading to the calling function in the form of a sequence
of tuples (function,file,lineno).
Usually, you use a debugger to obtain this information.
But there are cases, where a debugger is difficult to use. Please see
the function's docstring for more information.
You can now use the "interpreter stack" functions of Python's
inspect
module.
module.
- PyAudioCD for Linux a Python module to control an audio CD player. Python's standard library now contains similar
functionality.
- TreeWidget a Python MegaWidget able to display a (dynamically changable) tree structure as an interactive hierarchical content table
- PyXPath PyDOM based implementation of the XPath July, 9th, 1999 working draft
- WeakDicts: addressing CPython's problems with cyclic references Since Python 2.1, Python's standard library contains more
general weak reference functionality.
- addContentTable to HTML documents
- XSL-Pattern PyDOM based implementation of the XSL Working Draft pattern sublanguage
Dieter Maurer
Last modified: Mon Dec 31 21:58:05 CET 2007