stdlib-list
A list of Python Standard Libraries (2.7 through 3.14).
Decision gist · record as of 2026-08-14
Yes, if you support Python versions older than 3.10 and need to programmatically check stdlib membership. No, if you target only Python 3.10 or newer — use sys.stdlib_module_names instead. The package is well-maintained, has no security issues, and installs with zero friction, but its utility is narrowing as Python versions advance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or newer; for Python 3.10 and newer, consider using sys.stdlib_module_names instead (built into the standard library).
- Low friction: pure Python wheel with no runtime dependencies.
- Actively maintained as of 2025-10-24 with recent commits; repository is not archived.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) — you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2025-10-24 (294 days) · last repo commit 2026-08-13 · 141 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,636,519 downloads/mo, #3,700 on PyPI
Alternatives
Verify before relying
from stdlib_list import stdlib_list
libraries = stdlib_list("3.9")
print(libraries)- Whether the library's data for Python 3.11–3.14 is complete and accurate relative to those Python releases.
- Performance characteristics when querying large version ranges or calling the function repeatedly.
What it is and what it does
stdlib-list is a reference package that bundles pre-computed lists of standard library module names for multiple Python versions. It lets you query which modules belong to the standard library for a given Python version (2.6 through 3.14), which is useful when you need to distinguish standard library imports from third-party packages in code analysis or dependency detection tasks.
The package is a simple data lookup tool with no external dependencies. However, the description itself notes that for Python 3.10 and newer, the standard library now exposes sys.stdlib_module_names and sys.builtin_module_names, making this package redundant for modern Python versions. It remains relevant for projects that must support older Python versions or need a unified interface across multiple versions.
Use it for
- Detect whether an imported module is part of the standard library or a third-party package during static analysis.
- Build tools or linters that need to categorize imports by source across multiple Python versions.
- Legacy Python 2.7 or early Python 3 projects that need stdlib membership data without relying on runtime introspection.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you support Python versions older than 3.10 and need to programmatically check stdlib membership.
No, if you target only Python 3.10 or newer — use sys.stdlib_module_names instead. The package is well-maintained, has no security issues, and installs with zero friction, but its utility is narrowing as Python versions advance.
Install
stdlib-list on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Actively maintained as of 2025-10-24 with recent commits; repository is not archived.
Requires Python 3.9 or newer; for Python 3.10 and newer, consider using sys.stdlib_module_names instead (built into the standard library).
License in practice
MIT license (permissive) — you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
from stdlib_list import stdlib_list
libraries = stdlib_list("3.9")
print(libraries)
Verify before relying
- Whether the library's data for Python 3.11–3.14 is complete and accurate relative to those Python releases.
- Performance characteristics when querying large version ranges or calling the function repeatedly.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 294 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,636,519 / month, #3,700 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Software Development :: Libraries :: Python Modules |
Evidence: stdlib_list-0.12.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “python standard library list”
- stdlib-listProvides lists of Python standard library module names for Python…
- dllistLists the shared libraries (DLLs) currently loaded by the Python…
- collections-extendedProvides four specialized collection types—bag (multiset), setlist…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also stdlibs · configparser · typing · classify-imports · aspy.refactor-imports · asyncio · lib · configparser2 · importlib-resources · chialisp-stdlib