Python Modules



Get the IP address of a network interface Download

Wednesday, May 21st, 2008

This script uses the Linux SIOCGIFADDR ioctl to find the IP address associated with a network interface, given the name of that interface, e.g. "eth0". The address is

Getting uptime in windows 2000/NT/XP Download

Wednesday, May 21st, 2008

This script returns a datetime.timedelta instance representing the uptime in a Windows 2000/NT/XP machine.
Do

C++-like iostream syntax in Python Download

Tuesday, May 20th, 2008

This script represents a very simple proof-of-concept of an ostreams-like interface wrapping around file-like objects, included a demonstration of manipulators.

Midori's PyKCS11 Download

Sunday, May 18th, 2008

Midori’s PyKCS11 is a PKCS11 API wrapper for Python.

Features:

- Wraps the PKCS#11 API so it can be easly used from Python. - Wra

Observer Design Pattern Download

Sunday, May 18th, 2008

This class implements the observer design pattern. Acting as a registration hub, it fires simple Events when requested.

Persistent Queue Download

Saturday, May 17th, 2008

This script contains a class that creates a persistent FIFO queue named by the ‘name’ argument. The number of cached queue items at the head and tail of the queue is determined

Network Ping Pong using Twisted Prespective Broker Download

Friday, May 16th, 2008

This is a simple program using Twisted Perspective Broker and showing use of Twisted Deferreds and other callback mechanisms. It starts the server without arguments and the cli

Ncvtk Download

Thursday, May 15th, 2008

This is a program for exploring longitude/latitude based data stored in NetCDF file format. Ncvtk is built on top of the VTK toolbox.

Ncvtk has been designed

Py-Xmlrpc Download

Wednesday, May 14th, 2008

Py-Xmlrpc is an extremely fast implementation of the xmlrpc spec for Python (written in C). It supports both blocking and non-blocking clients and servers on Windows and POSIX

xmlrpc server/client Download

Sunday, May 11th, 2008

xmlrpc server/client script does cookie handling and supports basic authentication. The client sends a request with basic authentication and the server on successful authentica