memory_profiler is a python module for monitoring memory consumption of a
process as well as line-by-line analysis of memory consumption for python
programs. It is a pure python module and has the psutil module as optional
(but highly recommended) dependencies.
Venusian is a library which allows framework authors to defer decorator
actions. Instead of taking actions when a function (or class) decorator
is executed at import time, you can defer the action usually taken by
the decorator until a separate "scan" phase.
PBR is a library that injects some useful and sensible default
behaviors into your setuptools run. It started off life as the chunks
of code that were copied between all of the OpenStack projects. Around
the time that OpenStack hit 18 different projects each with at least 3
active branches, it seems like a good time to make that code into a
proper re-usable library.
ZConfig is a general use Python configuration library. It supports a
hierarchical schema-driven configuration model that allows a schema to
specify data conversion routines written in Python. ZConfig's model is
very different from the model support by the ConfigParser module
found in Python's standard library, and is more suitable to
configuration-intensive applications.
Pretend is a library to make stubbing with Python easier.
What is stubbing?
Stubbing is a technique for writing tests. You may hear the term mixed
up with mocks, fakes, or doubles. Basically a stub is an object that
returns pre-canned responses, rather than doing any computation.
Pydoop is a Python interface to Hadoop that allows you to write MapReduce
applications in pure Python.
Pydoop offers several features not commonly found in other Python
libraries for Hadoop:
-- a rich HDFS API;
-- a MapReduce API that allows to write pure Python record readers / writers,
partitioners and combiners;
-- transparent Avro (de)serialization;
-- easy installation-free usage;
Pyrepl is a neat replacement for python readline module.
Features:
- sane multi-line editing
- history, with incremental search
- completion, including displaying of available options
- a fairly large subset of the readline emacs-mode key bindings
(adding more is mostly just a matter of typing)
- Deliberately liberal, Python-style license
- no global variables, so you can run two independent readers
without having their histories interfering.
Tipper is a small utility for dumping `stack tracebacks`_ of running
Python processes.
Included is a module that, when imported, installs a `signal handler`_
for `SIGUSR1`_. Running ``kill -SIGUSR1 [pid]`` will cause the process
to dump the current stack trace of each thread to
``$TMPDIR/tipper-[Unix timestamp]-[parent pid]-[pid].log``.
This package provides a general logging facility that, at this point,
is just a small shim over Python's logging module. Therefore, unless
you need to support a legacy package from the Zope 2 world, you're
probably better off using Python's logging module.
Jinja is a sandboxed template engine written in pure Python licensed
under the BSD license. It provides a Django-like non-XML syntax and
compiles templates into executable python code. It's basically a
combination of Django templates and python code.