Python UUID Module
UUID generation — uuid1, uuid3, uuid4, uuid5. This category documents 5 Python uuid module entries, and each page gives you the full syntax, the parameter list, the return value, and a runnable example. The entries include: uuid.uuid4(), uuid.uuid1(), uuid.uuid3(), uuid.uuid5(), uuid.UUID. uuid.uuid4() generates a random UUID (version 4). Most commonly used UUID type. uuid.uuid1() generates a time-based UUID (version 1) using host MAC address and timestamp. uuid.uuid3() generates a UUID v3 from a namespace UUID and a name (MD5 hash). uuid.uuid5() generates a UUID v5 from a namespace UUID and a name (SHA-1 hash). uuid.UUID creates a UUID object from hex string, bytes, or other representations. You can also search across every category from the search page, browse the complete A–Z index, or try any example in the Python playground. Python Reference documents 978+ functions, methods, and modules across 114 categories of the standard library, and every entry in this UUID Module category follows the same format — syntax first, then what it does, the parameters it accepts, what it returns, and a working code example — so once you have read one page you can read them all.