{
    "content": [
        {
            "type": "text",
            "text": "# lsb_release (pydoc)\n\n## TLDR\n\n> Get LSB (Linux Standard Base) and distribution-specific information.\n\n- Print all available information:\n  `lsb_release {{-a|--all}}`\n- Print a description (usually the full name) of the operating system:\n  `lsb_release {{-d|--description}}`\n- Print only the operating system name (ID), in short format (omitting the field name):\n  `lsb_release {{-is|--id --short}}`\n- Print the release number and codename of the distribution, in short format:\n  `lsb_release {{-rcs|--release --codename --short}}`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** lsbrelease\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **DESCRIPTION** (4 lines)\n- **FUNCTIONS** (1 lines) — 13 subsections\n  - check_modules_installed (2 lines)\n  - compare_release (1 lines)\n  - get_distro_info (1 lines)\n  - get_distro_information (1 lines)\n  - get_os_release (2 lines)\n  - guess_debian_release (1 lines)\n  - guess_release_from_apt (1 lines)\n  - lookup_codename (1 lines)\n  - parse_apt_policy (1 lines)\n  - parse_policy_line (1 lines)\n  - release_index (1 lines)\n  - test (1 lines)\n  - valid_lsb_versions (1 lines)\n- **DATA** (8 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\nlsbrelease\n\n### DESCRIPTION\n\n# LSB release detection module for Debian\n# (C) 2005-10 Chris Lawrence <lawrencc@debian.org>\n# (C) 2018 Didier Raboud <odyx@debian.org>\n\n### FUNCTIONS\n\n#### check_modules_installed\n\n# This is Debian-specific at present\n\n#### compare_release\n\n#### get_distro_info\n\n#### get_distro_information\n\n#### get_os_release\n\n# Whatever is guessed above can be overridden in /usr/lib/os-release by derivatives\n\n#### guess_debian_release\n\n#### guess_release_from_apt\n\n#### lookup_codename\n\n#### parse_apt_policy\n\n#### parse_policy_line\n\n#### release_index\n\n#### test\n\n#### valid_lsb_versions\n\n### DATA\n\nPACKAGES = 'lsb-core lsb-cxx lsb-graphics lsb-desktop lsb-languages ls...\nRELEASESORDER = ['buzz', 'rex', 'bo', 'hamm', 'slink', 'potato', 'woo...\nRELEASECODENAMELOOKUP = {'1.1': 'buzz', '1.2': 'rex', '1.3': 'bo', '...\nTESTINGCODENAME = 'unknown.new.testing'\nlongnames = {'a': 'suite', 'c': 'component', 'l': 'label', 'o': 'origi...\nmodnamere = re.compile('lsb-(?P<module>[a-z0-9]+)-(?P<arch>[^ ]+)(?: \\...\nprintfunction = Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0)...\n\n### FILE\n\n/usr/lib/python3/dist-packages/lsbrelease.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "lsb_release",
        "section": "",
        "mode": "pydoc",
        "summary": "lsbrelease",
        "synopsis": null,
        "tldr_summary": "Get LSB (Linux Standard Base) and distribution-specific information.",
        "tldr_examples": [
            {
                "description": "Print all available information",
                "command": "lsb_release {{-a|--all}}"
            },
            {
                "description": "Print a description (usually the full name) of the operating system",
                "command": "lsb_release {{-d|--description}}"
            },
            {
                "description": "Print only the operating system name (ID), in short format (omitting the field name)",
                "command": "lsb_release {{-is|--id --short}}"
            },
            {
                "description": "Print the release number and codename of the distribution, in short format",
                "command": "lsb_release {{-rcs|--release --codename --short}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "check_modules_installed",
                        "lines": 2
                    },
                    {
                        "name": "compare_release",
                        "lines": 1
                    },
                    {
                        "name": "get_distro_info",
                        "lines": 1
                    },
                    {
                        "name": "get_distro_information",
                        "lines": 1
                    },
                    {
                        "name": "get_os_release",
                        "lines": 2
                    },
                    {
                        "name": "guess_debian_release",
                        "lines": 1
                    },
                    {
                        "name": "guess_release_from_apt",
                        "lines": 1
                    },
                    {
                        "name": "lookup_codename",
                        "lines": 1
                    },
                    {
                        "name": "parse_apt_policy",
                        "lines": 1
                    },
                    {
                        "name": "parse_policy_line",
                        "lines": 1
                    },
                    {
                        "name": "release_index",
                        "lines": 1
                    },
                    {
                        "name": "test",
                        "lines": 1
                    },
                    {
                        "name": "valid_lsb_versions",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}