Metadata-Version: 2.1
Name: shebang
Version: 2018.11.20
Summary: get script shebang
Home-page: https://github.com/looking-for-a-job/shebang.py
License: UNKNOWN
Keywords: shebang
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
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://img.shields.io/pypi/pyversions/shebang.svg?longCache=True)](https://pypi.org/pypi/shebang/)

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

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

#### CLI
usage|description
-|-
`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-md/">readme-md</a> - README.md generator</p>

