Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xadillax/detect-python-interpreter
Detect the executable python interpreter cmd in $PATH.
https://github.com/xadillax/detect-python-interpreter
Last synced: 5 days ago
JSON representation
Detect the executable python interpreter cmd in $PATH.
- Host: GitHub
- URL: https://github.com/xadillax/detect-python-interpreter
- Owner: XadillaX
- License: mit
- Created: 2022-04-12T11:00:30.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T04:03:08.000Z (5 months ago)
- Last Synced: 2024-11-01T09:51:35.353Z (12 days ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# detect-python-interpreter
[![](https://img.shields.io/npm/v/detect-python-interpreter)](https://www.npmjs.org/package/detect-python-interpreter)
[![](https://img.shields.io/github/workflow/status/XadillaX/detect-python-interpreter/Node.js%20CI?event=push)](https://github.com/XadillaX/detect-python-interpreter)
[![](https://img.shields.io/coveralls/github/XadillaX/detect-python-interpreter/master)](https://coveralls.io/github/XadillaX/detect-python-interpreter)Detect the executable python interpreter cmd in $PATH.
## Installation
```shell
$ npm install --save detect-python-interpreter
```## Usage
```js
const { detect } = require('detect-python-interpreter');const executable = detect(); // 'python', 'python2', 'python3' or throw an Error.
```## Contribution
PRs and Issues are welcomed.