{
    "content": [
        {
            "type": "text",
            "text": "# distro_info (pydoc)\n\n**Summary:** distroinfo - provides information about Ubuntu's and Debian's distributions\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **CLASSES** (8 lines) — 5 subsections\n  - class DebianDistroInfo (69 lines)\n  - class DistroDataOutdated (69 lines)\n  - class DistroInfo (49 lines)\n  - class DistroRelease (21 lines)\n  - class UbuntuDistroInfo (66 lines)\n- **FUNCTIONS** (1 lines) — 1 subsections\n  - convert_date (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\ndistroinfo - provides information about Ubuntu's and Debian's distributions\n\n### CLASSES\n\nbuiltins.Exception(builtins.BaseException)\nDistroDataOutdated\nbuiltins.object\nDistroInfo\nDebianDistroInfo\nUbuntuDistroInfo\nDistroRelease\n\n#### class DebianDistroInfo\n\n|  provides information about Debian's distributions\n|\n|  Method resolution order:\n|      DebianDistroInfo\n|      DistroInfo\n|      builtins.object\n|\n|  Methods defined here:\n|\n|  init(self)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  codename(self, release, date=None, default=None)\n|      Map 'unstable', 'testing', etc. to their codenames.\n|\n|  devel(self, date=None, result='codename')\n|      Get latest development distribution based on the given date.\n|\n|  eltssupported(self, date=None, result='codename')\n|      Get list of all Extended LTS supported Debian distributions based on\n|      the given date.\n|\n|  ltssupported(self, date=None, result='codename')\n|      Get list of all LTS supported Debian distributions based on the given\n|      date.\n|\n|  old(self, date=None, result='codename')\n|      Get old (stable) Debian distribution based on the given date.\n|\n|  supported(self, date=None, result='codename')\n|      Get list of all supported Debian distributions based on the given\n|      date.\n|\n|  testing(self, date=None, result='codename')\n|      Get latest testing Debian distribution based on the given date.\n|\n|  valid(self, codename)\n|      Check if the given codename is known.\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from DistroInfo:\n|\n|  getall(self, result='codename')\n|      List all known distributions.\n|\n|  stable(self, date=None, result='codename')\n|      Get latest stable distribution based on the given date.\n|\n|  unsupported(self, date=None, result='codename')\n|      Get list of all unsupported distributions based on the given date.\n|\n|  version(self, name, default=None)\n|      Map codename or series to version\n|\n|  ----------------------------------------------------------------------\n|  Readonly properties inherited from DistroInfo:\n|\n|  all\n|      List codenames of all known distributions.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from DistroInfo:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n\n#### class DistroDataOutdated\n\n|  Distribution data outdated.\n|\n|  Method resolution order:\n|      DistroDataOutdated\n|      builtins.Exception\n|      builtins.BaseException\n|      builtins.object\n|\n|  Methods defined here:\n|\n|  init(self)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  weakref\n|      list of weak references to the object (if defined)\n|\n|  ----------------------------------------------------------------------\n|  Static methods inherited from builtins.Exception:\n|\n|  new(*args, kwargs) from builtins.type\n|      Create and return a new object.  See help(type) for accurate signature.\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from builtins.BaseException:\n|\n|  delattr(self, name, /)\n|      Implement delattr(self, name).\n|\n|  getattribute(self, name, /)\n|      Return getattr(self, name).\n|\n|  reduce(...)\n|      Helper for pickle.\n|\n|  repr(self, /)\n|      Return repr(self).\n|\n|  setattr(self, name, value, /)\n|      Implement setattr(self, name, value).\n|\n|  setstate(...)\n|\n|  str(self, /)\n|      Return str(self).\n|\n|  withtraceback(...)\n|      Exception.withtraceback(tb) --\n|      set self.traceback to tb and return self.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from builtins.BaseException:\n|\n|  cause\n|      exception cause\n|\n|  context\n|      exception context\n|\n|  dict\n|\n|  suppresscontext\n|\n|  traceback\n|\n|  args\n\n#### class DistroInfo\n\n|  DistroInfo(distro)\n|\n|  Base class for distribution information.\n|  Use DebianDistroInfo or UbuntuDistroInfo instead of using this directly.\n|\n|  Methods defined here:\n|\n|  init(self, distro)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  codename(self, release, date=None, default=None)\n|      Map codename aliases to the codename they describe.\n|\n|  devel(self, date=None, result='codename')\n|      Get latest development distribution based on the given date.\n|\n|  getall(self, result='codename')\n|      List all known distributions.\n|\n|  stable(self, date=None, result='codename')\n|      Get latest stable distribution based on the given date.\n|\n|  supported(self, date=None, result=None)\n|      Get list of all supported distributions based on the given date.\n|\n|  unsupported(self, date=None, result='codename')\n|      Get list of all unsupported distributions based on the given date.\n|\n|  valid(self, codename)\n|      Check if the given codename is known.\n|\n|  version(self, name, default=None)\n|      Map codename or series to version\n|\n|  ----------------------------------------------------------------------\n|  Readonly properties defined here:\n|\n|  all\n|      List codenames of all known distributions.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n\n#### class DistroRelease\n\n|  DistroRelease(version, codename, series, created=None, release=None, eol=None, eolesm=None, eollts=None, eolelts=None, eolserver=None)\n|\n|  Represents a distributions release\n|\n|  Methods defined here:\n|\n|  init(self, version, codename, series, created=None, release=None, eol=None, eolesm=None, eollts=None, eolelts=None, eolserver=None)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  issupported(self, date)\n|      Check whether this release is supported on the given date.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n\n#### class UbuntuDistroInfo\n\n|  provides information about Ubuntu's distributions\n|\n|  Method resolution order:\n|      UbuntuDistroInfo\n|      DistroInfo\n|      builtins.object\n|\n|  Methods defined here:\n|\n|  init(self)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  islts(self, codename)\n|      Is codename an LTS release?\n|\n|  lts(self, date=None, result='codename')\n|      Get latest long term support (LTS) Ubuntu distribution based on the\n|      given date.\n|\n|  supported(self, date=None, result='codename')\n|      Get list of all supported Ubuntu distributions based on the given\n|      date.\n|\n|  supportedesm(self, date=None, result='codename')\n|      Get list of all ESM supported Ubuntu distributions based on the\n|      given date.\n|\n|  ----------------------------------------------------------------------\n|  Methods inherited from DistroInfo:\n|\n|  codename(self, release, date=None, default=None)\n|      Map codename aliases to the codename they describe.\n|\n|  devel(self, date=None, result='codename')\n|      Get latest development distribution based on the given date.\n|\n|  getall(self, result='codename')\n|      List all known distributions.\n|\n|  stable(self, date=None, result='codename')\n|      Get latest stable distribution based on the given date.\n|\n|  unsupported(self, date=None, result='codename')\n|      Get list of all unsupported distributions based on the given date.\n|\n|  valid(self, codename)\n|      Check if the given codename is known.\n|\n|  version(self, name, default=None)\n|      Map codename or series to version\n|\n|  ----------------------------------------------------------------------\n|  Readonly properties inherited from DistroInfo:\n|\n|  all\n|      List codenames of all known distributions.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors inherited from DistroInfo:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n\n### FUNCTIONS\n\n#### convert_date\n\nConvert a date string in ISO 8601 into a datetime object.\n\n### FILE\n\n/usr/lib/python3/dist-packages/distroinfo.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "distro_info",
        "section": "",
        "mode": "pydoc",
        "summary": "distroinfo - provides information about Ubuntu's and Debian's distributions",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "CLASSES",
                "lines": 8,
                "subsections": [
                    {
                        "name": "class DebianDistroInfo",
                        "lines": 69
                    },
                    {
                        "name": "class DistroDataOutdated",
                        "lines": 69
                    },
                    {
                        "name": "class DistroInfo",
                        "lines": 49
                    },
                    {
                        "name": "class DistroRelease",
                        "lines": 21
                    },
                    {
                        "name": "class UbuntuDistroInfo",
                        "lines": 66
                    }
                ]
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "convert_date",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}