def uuid5(namespace, name):
    """Generate a UUID from the SHA-1 hash of a namespace UUID and a name."""
    import sha
    hash = sha.sha(namespace.bytes + name).digest()
    return UUID(bytes=hash[:16], version=5)
Generate a UUID from the SHA-1 hash of a namespace UUID and a name.
debugger/src/_pydev_imps/_pydev_uuid_old.py