parameters: (namespace, name)
return_statement: return UUID(bytes=hash[:16], version=5)
docstring: Generate a UUID from the SHA-1 hash of a namespace UUID and a name.
docstring_summary: Generate a UUID from the SHA-1 hash of a namespace UUID and a name.
docstring_tokens: Generate a UUID from the SHA - 1 hash of a namespace UUID and a name .
function: def uuid5(namespace, name):
      """Generate a UUID from the SHA-1 hash of a namespace UUID and a name."""
      from hashlib import sha1
      hash = sha1(namespace.bytes + name).digest()
      return UUID(bytes=hash[:16], version=5)
function_tokens: def uuid5 ( namespace , name ) : from hashlib import sha1 hash = sha1 ( namespace . bytes + name ) . digest ( ) return UUID ( bytes = hash [ : 16 ] , version = 5 )