Metadata-Version: 2.1
Name: shebang
Version: 2019.3.24
Summary: get script shebang
Home-page: https://github.com/looking-for-a-job/shebang.py
License: UNKNOWN
Keywords: shebang
Platform: UNKNOWN
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
Requires-Dist: click
Requires-Dist: public
Requires-Dist: setuptools

<!--
https://pypi.org/project/readme-generator/
-->

[![](https://img.shields.io/pypi/pyversions/shebang.svg?longCache=True)](https://pypi.org/project/shebang/)

#### Installation
```bash
$ [sudo] pip install shebang
```

#### Functions
function|`__doc__`
-|-
`shebang.get(path)` |return script shebang
`shebang.shebang(path)` |return script shebang. deprecated

#### CLI
usage|`__doc__`
-|-
`python -m shebang path` |print script shebang

#### Examples
```python
>>> import shebang

>>> shebang.get("path/to/file.py")
'/usr/bin/env python'

>>> shebang.get("path/to/file.txt")
None

>>> shebang.get("/bin/ls")
None
```

```bash
$ python -m shebang file.py
/usr/bin/env python
```

<p align="center">
    <a href="https://pypi.org/project/readme-generator/">readme-generator</a>
</p>

