This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Parse shebangs and return their components.

Project Description
# Parse Shebang

Parse shebangs so script-like files can be executed directly on Windows

On Windows, scripts are supposed to be registered with with their
interpreters and placed into PATHEXT, but that information might not
be available and the script still needs to be run. In that case, this
module is useful, because it looks up the required information to run the
script as best as possible.

## Status

| Travis CI (Ubuntu) | AppVeyor (Windows) | Coverage | PyPI | Licence |
|--------------------|--------------------|----------|------|---------|
|[![Travis](https://img.shields.io/travis/polysquare/python-parse-shebang.svg)](http://travis-ci.org/polysquare/python-parse-shebang)|[![AppVeyor](https://img.shields.io/appveyor/ci/smspillaz/python-parse-shebang.svg)](https://ci.appveyor.com/project/smspillaz/python-parse-shebang)|[![Coveralls](https://img.shields.io/coveralls/polysquare/python-parse-shebang.svg)](http://coveralls.io/polysquare/python-parse-shebang)|[![PyPIVersion](https://img.shields.io/pypi/v/parse-shebang.svg)](https://pypi.python.org/pypi/parse-shebang)[![PyPIPythons](https://img.shields.io/pypi/pyversions/parse-shebang.svg)](https://pypi.python.org/pypi/parse-shebang)|[![License](https://img.shields.io/github/license/polysquare/python-parse-shebang.svg)](http://github.com/polysquare/python-parse-shebang)|

## API Usage

shebang = parseshebang.parse(file_to_parse)
subprocess.check_call(shebang + ["/my_script.py"])

`file_to_parse` may be either an open file object, which supports seeking,
or a file name. A list containing the shebang components is returned.
Release History

Release History

This version
History Node

0.0.22

History Node

0.0.21

History Node

0.0.20

History Node

0.0.19

History Node

0.0.18

History Node

0.0.17

History Node

0.0.16

History Node

0.0.15

History Node

0.0.14

History Node

0.0.13

History Node

0.0.12

History Node

0.0.11

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
parse-shebang-0.0.22.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Nov 10, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting