{
  "id": "python-enum-table",
  "kind": "table",
  "slug": "python-enum",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/python-enum/",
  "title": "Python enum gives symbolic names bound to unique values, with IntEnum, StrEnum and Flag variants",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "Enum",
      "source": "Python docs (library)",
      "detail": "base class for creating enumerated constants."
    },
    {
      "name": "IntEnum",
      "source": "Python docs (library)",
      "detail": "enumerated constants that are also subclasses of int."
    },
    {
      "name": "StrEnum",
      "source": "Python docs (library)",
      "detail": "enumerated constants that are also subclasses of str."
    },
    {
      "name": "Flag",
      "source": "Python docs (library)",
      "detail": "members can be combined with bitwise operators."
    }
  ],
  "related_slugs": [
    "python-dataclasses",
    "python-typing-annotations"
  ],
  "license": "CC-BY-4.0",
  "source_license": "PSF-2.0 (Python docs (library)); Public-Domain (Python PEPs); prose restates cited source lines in own words",
  "as_of": "2026-11-18",
  "status": "fill-draft-20261118",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}