kurtmckee/Detect installed Python interpreters
Generate a robust cache-busting key based on installed Python interpreters, versions, and target architectures.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 1, 2026
- License
- MIT
Pinned Snippet
uses: kurtmckee/detect-pythons@4a7b361b5ee27eb35c8b5026ac757d02751d6688 # v1.1.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| identifiers-filename | A 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 |
Outputs
| name | description |
|---|---|
| python-identifiers | A 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. |