kurtmckee/Detect installed Python interpreters

Generate a robust cache-busting key based on installed Python interpreters, versions, and target architectures.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 1, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: kurtmckee/detect-pythons@4a7b361b5ee27eb35c8b5026ac757d02751d6688 # v1.1.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
identifiers-filenameA filename to write the ``python-identifiers`` output to. Suitable for use in with the ``hashFiles`` function. To prevent any file from being written, use a blank string. no.python-identifiers
namedescription
python-identifiersA string of sorted Python identifiers. In most cases the identifiers will be paths, but for system Pythons, 'sysconfig.get_config_var("EXT_SUFFIX")' will be included. The string will be separated by OS-specific PATH separators; ":" is used on Linux and macOS, and ";" is used on Windows.