Table of Contents

Module: uid uid.py

Generation of relatively unique IDs.

Imported modules   
import getopt
import grp
import md5
import os
import pwd
import random
import socket
import string
import sys
import time
import types
Functions   
UID
main
usage
  UID 
UID ()

A standalone function that will generate UIDs; if used multiple times, pass in different arguments for the perGeneration argument.

  main 
main ()

Exceptions   
ValueError, "unexpected remaining arguments"
  usage 
usage ()

Classes   

Hash

A base class which can be derived to handle new types of

HashGenerator

A hash generator (or hasher) is a sort of factory for hashes;

IdentityHash

The identity hash just displays the data it's been fed.

UIDGenerator

The class which generates new UID hashes, via the generate


Table of Contents

This document was automatically generated on Mon Apr 25 15:24:40 2005 by HappyDoc version 2.1