API¶
- stdlibs.module_names: FrozenSet[str]¶
Known stdlibs for any release of Python 3.x
Shortcut for
stdlibs.py3.module_names
.
- stdlibs.stdlib_module_names(version=None)¶
Return a set of known module names for a Python release in
KNOWN_VERSIONS
.If passed
stdlibs.ALL
, this returnsstdlibs.py.module_names
. If passedNone
, or no arguments, returns the equivalent module names for the active major Python version.Prefer using
stdlibs.module_names
or a specific Versioned Module directly.
- stdlibs.KNOWN_VERSIONS: List[str] = ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11']¶
All supported Python major releases
- stdlibs.ALL = 'all'¶
Combined 3.x and 2.x stdlibs
Version Modules¶
Generated modules for each major Python release in KNOWN_VERSIONS
.