Template Data Interface (TDI, /ʹtedɪ/) is a markup templating system written in Python with (optional but recommended) speedup code written in C. Unlike most templating systems, TDI does not invent its own language to provide functionality. Instead, you simply mark the nodes you want to manipulate within the template document. The template is parsed, and the marked nodes are presented to your Python code, where they can be modified in any way you want.
SHTns is a high-performance Spherical Harmonic Transform library. It was designed for numerical simulation (fluid flows, mhd, etc.) in spherical geometries, but can be used for any kind of problem involving scalar or vector spherical harmonics. It is very fast, thanks to careful vectorization and runtime tuning. It supports multi-threaded transforms via OpenMP. It features scalar and vector transforms, synthesis and analysis, and flexible truncation and normalization. A Python interface is included.
MinimalModbus is an easy-to-use Python module for talking to instruments (slaves) from a computer (master) using the Modbus protocol. Example code includes drivers for Eurotherm and Omega process controllers. The only dependency is the pySerial module. This software supports the ‘Modbus RTU’ serial communication version of the protocol, and is intended for use on Linux, OS X, and Windows platforms. It has been tested with Python2.6, Python2.7, and Python3.2.
Bmrblib is a Python API abstracting the Biological Magnetic Resonance Data Bank (BioMagResBank or BMRB) NMR-STAR format. It allows the writing of NMR-STAR files for BMRB data deposition and the reading and easy extraction of data from files residing in the BMRB data bank, all without knowledge of the Self-Defining Text Archive and Retrieval (STAR) format.
PyMQI is a Python library for working with WebSphere MQ (formerly known as MQSeries) implementing MQI and PCF protocols. It allows one to connect to queues, put, browse, get messages, and to programmatically administer MQ objects. PyMQI has been used in production environments for several years and is known to work on Linux, Windows, Solaris, AIX, and HP-UX with queue managers running on Linux, Windows, Solarix, AIX, HP-UX, and z/OS mainframe.
classh is yet another wrapper around ssh for running commands on a number of hosts concurrently. It is similar to xCAT, pssh, Cluster ssh, and a gaggle of other utilities. The only pre-requisite for classh is Python 2.4 or later, and no formal installation is required; a copy of the classh.py file is sufficient to run commands. The SSHJobMan class from classh can be used to create custom job management scripts. This class lets you either wait until all output has returned from a batch job or process the results as they become available by incrementally polling the running job. The output, error messages, exit code, and start and completion times of each job are stored in the results. It's been tested on jobs of over 25,000 hosts and handles over 10,000 hosts per hour across a WAN and without noticeable impact on the administrator's host.
The pylib library features the popular py.test command line tool for rapidly writing and running tests in Python and py.execnet, a new way to do ad-hoc distribution of Python code to remote processes. py.test runs well on Linux, Windows, and OSX using Python 2.4 through to 2.6. It can distribute a single test run to multiple machines. It is used in many projects, ranging from running tens of thousands of tests integrated with buildbot to a few inlined tests on a command line script.