On this page
uuid.uuid8
Prev: uuid.uuid7 | Up: uuid
Rel: uuid.bytes_, uuid.Enum, uuid.getnode, uuid.int_
Ref: docs.python.org — uuid.uuid8
Tags: #public #python3 #stdlib #uuid
Import
import uuid
from uuid import uuid8
Signature & Overview
uuid.uuid8(a=None, b=None, c=None)
Generate a UUID from three custom blocks.
Usage
import uuid
if hasattr(uuid, 'uuid8'):
assert uuid.uuid8().version == 8
Gotchas
- Requires Python 3.14+ (RFC 9562): Custom vendor-defined 122-bit layout.
REPL Inspect
from uuid import uuid8
help(uuid8)
Linked from
Related notes
- tuts/python3/stdlib_module/uuid/uuid7 Linked here; links to this page; shared tags: #stdlib, #uuid
- tuts/python3/stdlib_module/uuid/bytes_ Linked here; shared tags: #stdlib, #uuid
- tuts/python3/stdlib_module/uuid/Enum Linked here; shared tags: #stdlib, #uuid
- tuts/python3/stdlib_module/uuid/getnode Linked here; shared tags: #stdlib, #uuid
- tuts/python3/stdlib_module/uuid/int_ Linked here; shared tags: #stdlib, #uuid
- tuts/python3/stdlib_module/uuid/UUID Linked here; shared tags: #stdlib, #uuid
- tuts/python3/stdlib_module/uuid links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/uuid/main shared tags: #stdlib, #uuid
- tuts/python3/stdlib_module/uuid/SafeUUID shared tags: #stdlib, #uuid
- tuts/python3/stdlib_module/uuid/uuid1 shared tags: #stdlib, #uuid