Table of Contents

Module: uid uid.py

Generation of relatively unique IDs.

Imported modules   
import getopt
import md5
import os
import random
import socket
import string
import sys
import time
import types
Functions   
UID
main
usage
  UID 
UID ( perGeneration=None )

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 Sat Jan 25 19:12:32 2003 by HappyDoc version 2.0.1