UUID
The uuid module provides interfaces for generating and validating unique identifiers as defined by RFC 4122.
Note that Version 1 identifiers, based on current time and host identity, are currently not supported.
- uuid.dns — The DNS namespace UUID identifier
- uuid.is_valid — True if a string is a valid UUID
- uuid.is_version3 — True if a string is a Version 3 UUID
- uuid.is_version4 — True if a string is a Version 4 UUID
- uuid.is_version5 — True if a string is a Version 5 UUID
- uuid.is_version7 — True if a string is a Version 7 UUID
- uuid.oid — The OID namespace UUID identifier
- uuid.url — The URL namespace UUID identifier
- uuid.version3 — Construct a Version 3 UUID
- uuid.version4 — Construct a Version 4 UUID
- uuid.version5 — Construct a Version 5 UUID
- uuid.version7 — Construct a Version 7 UUID
- uuid.x500 — The X.500 namespace UUID identifier