`python-discovery` is a library for discovering Python interpreters installed on your machine. You may have multiple
Python versions from system packages, pyenv, mise, asdf, uv, or the Windows registry (PEP 514). This library finds
the right one for you.
Give it a requirement like `python3.12` or `>=3.11,<3.13`, and it searches all known locations, verifies each candidate,
and returns detailed metadata about the match. Results are cached to disk so repeated lookups are fast.
Provides
Requires
License
MIT
Changelog
* Thu Oct 01 2026 Nico Krapp <nico.krapp@suse.com>
- Update to 1.6.1
* docs(py_info): cover system_exe in all four dimensions
* fix(discovery): skip empty PATH entries
- Update to 1.6.0
* feat(py_info): add system_exe, a narrowed system executable
* Mon May 25 2026 Markéta Machová <mmachova@suse.com>
- Initial packaging (v1.3.1), needed by python-hatch
Files
/usr/lib/python3.13/site-packages/python_discovery
/usr/lib/python3.13/site-packages/python_discovery-1.6.1.dist-info
/usr/lib/python3.13/site-packages/python_discovery-1.6.1.dist-info/INSTALLER
/usr/lib/python3.13/site-packages/python_discovery-1.6.1.dist-info/METADATA
/usr/lib/python3.13/site-packages/python_discovery-1.6.1.dist-info/RECORD
/usr/lib/python3.13/site-packages/python_discovery-1.6.1.dist-info/REQUESTED
/usr/lib/python3.13/site-packages/python_discovery-1.6.1.dist-info/WHEEL
/usr/lib/python3.13/site-packages/python_discovery-1.6.1.dist-info/licenses
/usr/lib/python3.13/site-packages/python_discovery-1.6.1.dist-info/licenses/LICENSE
/usr/lib/python3.13/site-packages/python_discovery/__init__.py
/usr/lib/python3.13/site-packages/python_discovery/__pycache__
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_cache.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_cache.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_cached_py_info.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_cached_py_info.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_compat.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_compat.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_discovery.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_discovery.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_py_info.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_py_info.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_py_info_collect.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_py_info_collect.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_py_spec.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_py_spec.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_specifier.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/__pycache__/_specifier.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/_cache.py
/usr/lib/python3.13/site-packages/python_discovery/_cached_py_info.py
/usr/lib/python3.13/site-packages/python_discovery/_compat.py
/usr/lib/python3.13/site-packages/python_discovery/_discovery.py
/usr/lib/python3.13/site-packages/python_discovery/_py_info.py
/usr/lib/python3.13/site-packages/python_discovery/_py_info_collect.py
/usr/lib/python3.13/site-packages/python_discovery/_py_spec.py
/usr/lib/python3.13/site-packages/python_discovery/_specifier.py
/usr/lib/python3.13/site-packages/python_discovery/_windows
/usr/lib/python3.13/site-packages/python_discovery/_windows/__init__.py
/usr/lib/python3.13/site-packages/python_discovery/_windows/__pycache__
/usr/lib/python3.13/site-packages/python_discovery/_windows/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/_windows/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/_windows/__pycache__/_pep514.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/python_discovery/_windows/__pycache__/_pep514.cpython-313.pyc
/usr/lib/python3.13/site-packages/python_discovery/_windows/__pycache__/_propose.cpython-313.opt-1.py