On this page
  1. uuid.main
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

uuid.main

Prev: uuid.int_ | Up: uuid | Next: uuid.SafeUUID
Rel: uuid.bytes_, uuid.Enum, uuid.getnode, uuid.int_
Ref: docs.python.org — uuid.main
Tags: #public #python3 #stdlib #uuid


Import

import uuid
from uuid import main

Signature & Overview

uuid.main()

Run the uuid command line interface.

Usage

import uuid

# CLI entry point for `python3 -m uuid` (Python 3.12+)
assert hasattr(uuid, 'main') or True

Gotchas

REPL Inspect

from uuid import main
help(main)

Linked from

Related notes