{ "info": { "author": "Sam Spilsbury", "author_email": "smspillaz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: System :: Shells", "Topic :: Utilities" ], "description": "# Parse Shebang\n\nParse shebangs so script-like files can be executed directly on Windows\n\nOn Windows, scripts are supposed to be registered with with their\ninterpreters and placed into PATHEXT, but that information might not\nbe available and the script still needs to be run. In that case, this\nmodule is useful, because it looks up the required information to run the\nscript as best as possible.\n\n## Status\n\n| Travis CI (Ubuntu) | AppVeyor (Windows) | Coverage | PyPI | Licence |\n|--------------------|--------------------|----------|------|---------|\n|[![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)|\n\n## API Usage\n\n shebang = parseshebang.parse(file_to_parse)\n subprocess.check_call(shebang + [\"/my_script.py\"])\n\n`file_to_parse` may be either an open file object, which supports seeking,\nor a file name. A list containing the shebang components is returned.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/polysquare/python-parse-shebang", "keywords": "development", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "parse-shebang", "package_url": "https://pypi.org/project/parse-shebang/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/parse-shebang/", "project_urls": { "Homepage": "http://github.com/polysquare/python-parse-shebang" }, "release_url": "https://pypi.org/project/parse-shebang/0.0.22/", "requires_dist": null, "requires_python": "", "summary": "Parse shebangs and return their components.", "version": "0.0.22" }, "last_serial": 2453042, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d201c709d3d28d3a138950e6bf4d02d3", "sha256": "d1c539c621fd336b354b4cd567ede62eb68f25207a310a61a2c2bce60db16832" }, "downloads": -1, "filename": "parse-shebang-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d201c709d3d28d3a138950e6bf4d02d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4274, "upload_time": "2015-08-02T12:07:38", "url": "https://files.pythonhosted.org/packages/01/49/b193f5170b92bf58e91fe808f335a7e3f6bc69cf4f5695f07ddf14962b5f/parse-shebang-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "47dd9f4cb6304ceff47a56b30e8d020f", "sha256": "dcf9d717fc08bd20e293a57cc2ea8b6a0a0020f8f4214e29e7c64bd32d9dd6df" }, "downloads": -1, "filename": "parse-shebang-0.0.10.tar.gz", "has_sig": false, "md5_digest": "47dd9f4cb6304ceff47a56b30e8d020f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4182, "upload_time": "2016-03-06T15:14:45", "url": "https://files.pythonhosted.org/packages/33/55/389272d1b8780e6513321af2d6f4a42f2d2af8275033bce5ffc992025766/parse-shebang-0.0.10.tar.gz" } ], "0.0.11": [ { "comment_text": "", "digests": { "md5": "88e74f13bcce5ec98c9182a098720e99", "sha256": "13a31ad37d83192bfd07a8064baaec1cb4683daf22fe9bd00ea89eec97ff38b3" }, "downloads": -1, "filename": "parse-shebang-0.0.11.tar.gz", "has_sig": false, "md5_digest": "88e74f13bcce5ec98c9182a098720e99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4176, "upload_time": "2016-03-06T23:45:41", "url": "https://files.pythonhosted.org/packages/5c/3d/7cc821822a545cac11d270641a1154d2b31cd58880263a6f2358400683a4/parse-shebang-0.0.11.tar.gz" } ], "0.0.12": [ { "comment_text": "", "digests": { "md5": "a01eaea3ac2cdc0fb8c99f030161efed", "sha256": "bb50c24ff3642ce6a1e29f697508dd86a3426369b9454c29b03e33f24aaf791f" }, "downloads": -1, "filename": "parse-shebang-0.0.12.tar.gz", "has_sig": false, "md5_digest": "a01eaea3ac2cdc0fb8c99f030161efed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4176, "upload_time": "2016-03-06T23:47:39", "url": "https://files.pythonhosted.org/packages/06/5e/9467058d888e56a97021ddc9c469d1f184fc6ebdce2e943d527c0ee25ed3/parse-shebang-0.0.12.tar.gz" } ], "0.0.13": [ { "comment_text": "", "digests": { "md5": "bc56482d71cc9691db4d2dd41c463ebc", "sha256": "2a3008e8a1745ca21f035109cd6d877335d65bdca3cf32f8f39e6313dfea2f2c" }, "downloads": -1, "filename": "parse-shebang-0.0.13.tar.gz", "has_sig": false, "md5_digest": "bc56482d71cc9691db4d2dd41c463ebc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4187, "upload_time": "2016-03-06T23:50:50", "url": "https://files.pythonhosted.org/packages/ff/e7/ec9a0c5c4c9a73832b34f2d145c0f8e4681bdd50cf68d80f5f127cc0f249/parse-shebang-0.0.13.tar.gz" } ], "0.0.14": [ { "comment_text": "", "digests": { "md5": "f48593829bb5871090475d64824c575b", "sha256": "383593d529321829856e07d3036e02dcd6205ff25634e8b23b26464a920a6db0" }, "downloads": -1, "filename": "parse-shebang-0.0.14.tar.gz", "has_sig": false, "md5_digest": "f48593829bb5871090475d64824c575b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4174, "upload_time": "2016-03-22T07:06:44", "url": "https://files.pythonhosted.org/packages/b7/01/33b414f576edc3ac79d3c16646695043b836bbdc8efac667acdbcf557db9/parse-shebang-0.0.14.tar.gz" } ], "0.0.15": [ { "comment_text": "", "digests": { "md5": "2653593b18a2b7481c3f59fa8c083121", "sha256": "4517b4a9c7f593d101f110cc9baf3d38f049b5a49e4a578e8396a6603bc2398c" }, "downloads": -1, "filename": "parse-shebang-0.0.15.tar.gz", "has_sig": false, "md5_digest": "2653593b18a2b7481c3f59fa8c083121", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4177, "upload_time": "2016-03-22T13:14:57", "url": "https://files.pythonhosted.org/packages/7c/e6/cf342f95c0f53dc1fd4ae7d3b076f33f74873128d79a9eaf31c64fd7335e/parse-shebang-0.0.15.tar.gz" } ], "0.0.16": [ { "comment_text": "", "digests": { "md5": "c09b0e2c6217b71a46a6f47820c6b504", "sha256": "36d0d84053a3af7774cb8cb3f9945dbb3ba2458a885c3c3c08e819d91f80a847" }, "downloads": -1, "filename": "parse-shebang-0.0.16.tar.gz", "has_sig": false, "md5_digest": "c09b0e2c6217b71a46a6f47820c6b504", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4200, "upload_time": "2016-03-25T01:02:22", "url": "https://files.pythonhosted.org/packages/8b/b7/219a90886e01d901fa058aa92cb13d818687083843c01c6bf700b3a58b42/parse-shebang-0.0.16.tar.gz" } ], "0.0.17": [ { "comment_text": "", "digests": { "md5": "f4098879eb1e2e246ae228da47bb3286", "sha256": "e03b9b00b43c65b5eea47b5c519338ddaf678a9f62382d3441ded4dd480f3418" }, "downloads": -1, "filename": "parse-shebang-0.0.17.tar.gz", "has_sig": false, "md5_digest": "f4098879eb1e2e246ae228da47bb3286", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4196, "upload_time": "2016-03-25T01:04:14", "url": "https://files.pythonhosted.org/packages/7e/92/d9d63323fa7e1c2131239b6790c143388f80a410df3bd15e6bd7271f47dc/parse-shebang-0.0.17.tar.gz" } ], "0.0.18": [ { "comment_text": "", "digests": { "md5": "8a074a57cf96692b2e88d8a20803527f", "sha256": "887ab807bff753619760bc3bd7ba5cd2cf696e6874d8bf8432b7de9143ce129d" }, "downloads": -1, "filename": "parse-shebang-0.0.18.tar.gz", "has_sig": false, "md5_digest": "8a074a57cf96692b2e88d8a20803527f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4366, "upload_time": "2016-03-25T03:26:53", "url": "https://files.pythonhosted.org/packages/6a/b3/427f162a1fb40b8a7448885a7448ae8f018ae0305ec83c5d32efce8b439a/parse-shebang-0.0.18.tar.gz" } ], "0.0.19": [ { "comment_text": "", "digests": { "md5": "5d20ae21c462b795d463121f542dfce0", "sha256": "0ab7db3d317b5ded1db5c1055c9ec6c2e41a7c6c7775285bdea5799e1c4fc232" }, "downloads": -1, "filename": "parse-shebang-0.0.19.tar.gz", "has_sig": false, "md5_digest": "5d20ae21c462b795d463121f542dfce0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4287, "upload_time": "2016-10-07T01:19:22", "url": "https://files.pythonhosted.org/packages/8e/2e/bc0568807ee46987e6596bf5d961694105fef293676f5ede7d11fbf4228b/parse-shebang-0.0.19.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6d2d7646fcbc187172b0697e9afc80bc", "sha256": "323b43a4436816f1b997857f49e059756eb4f34e3bf7d221e29494b00cf60559" }, "downloads": -1, "filename": "parse-shebang-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6d2d7646fcbc187172b0697e9afc80bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4268, "upload_time": "2015-08-02T12:17:44", "url": "https://files.pythonhosted.org/packages/57/29/547b5a76bc38bd83a9d97042221bec5806d607200c3c2227dd5bc13788d1/parse-shebang-0.0.2.tar.gz" } ], "0.0.20": [ { "comment_text": "", "digests": { "md5": "3a3531f682fcc683dc0a111571e305bb", "sha256": "7c9e27b15cbcd577679a569608584409c078b199f25223daa9cf9a39b1fbe93e" }, "downloads": -1, "filename": "parse-shebang-0.0.20.tar.gz", "has_sig": false, "md5_digest": "3a3531f682fcc683dc0a111571e305bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4288, "upload_time": "2016-10-07T15:24:11", "url": "https://files.pythonhosted.org/packages/23/48/aac0db70d96c85cfc6534f2f09ee693e17b59427294e33f363c7dee44b3d/parse-shebang-0.0.20.tar.gz" } ], "0.0.21": [ { "comment_text": "", "digests": { "md5": "e3847ef77a1625a4db5cc6bd7d0253b0", "sha256": "aaab4d977d525a2b118c91b9af83938d5f82ad0182f46e5618021351e4701b73" }, "downloads": -1, "filename": "parse-shebang-0.0.21.tar.gz", "has_sig": false, "md5_digest": "e3847ef77a1625a4db5cc6bd7d0253b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4295, "upload_time": "2016-10-07T15:32:07", "url": "https://files.pythonhosted.org/packages/17/ad/78c9ddb8861ddbd58e7891d3a33cc3354957d753b55a91dbfca521c68284/parse-shebang-0.0.21.tar.gz" } ], "0.0.22": [ { "comment_text": "", "digests": { "md5": "30ad22c01c0acc5dfde290e809d6ea19", "sha256": "79b83e0d3551a76975cb2110165a01bdd4ab18d220114e8492199adb8cdb8869" }, "downloads": -1, "filename": "parse-shebang-0.0.22.tar.gz", "has_sig": false, "md5_digest": "30ad22c01c0acc5dfde290e809d6ea19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4292, "upload_time": "2016-11-10T13:18:45", "url": "https://files.pythonhosted.org/packages/89/bd/18b3be2cc15622f97853f25e547467e5ab9064521697cad8ba0677fcf345/parse-shebang-0.0.22.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "76ee07e874a0bd057fd7df2ae8b46e8c", "sha256": "1f6a73e9c11d06034d87ca848f88af8727ddc6eb3ee284c0c2b40dc9fe97d3d7" }, "downloads": -1, "filename": "parse-shebang-0.0.3.tar.gz", "has_sig": false, "md5_digest": "76ee07e874a0bd057fd7df2ae8b46e8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4395, "upload_time": "2015-08-02T12:42:26", "url": "https://files.pythonhosted.org/packages/cd/66/8214b057bf9e510c97281409138c7da792803f90a4c696ece8e8aa4e0762/parse-shebang-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "e0cc0a501e49c3729ba894675d21df92", "sha256": "fe13089d3e39b2311f553d0b577c1166ff2a15295baeb01d901bbac241c4aafb" }, "downloads": -1, "filename": "parse-shebang-0.0.4.tar.gz", "has_sig": false, "md5_digest": "e0cc0a501e49c3729ba894675d21df92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4388, "upload_time": "2015-08-02T12:45:47", "url": "https://files.pythonhosted.org/packages/58/1c/83322297d23212f06b170896cf3b388d96cd796b2bb8e58c131e4103dec3/parse-shebang-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "74aee5d28fe9cbf56416310e50001f0f", "sha256": "227b52063a2b91e304a5bdf5ebf70e3b0ea3b907867cbea11bc9d0631fb899d2" }, "downloads": -1, "filename": "parse-shebang-0.0.5.tar.gz", "has_sig": false, "md5_digest": "74aee5d28fe9cbf56416310e50001f0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4385, "upload_time": "2015-08-02T12:47:46", "url": "https://files.pythonhosted.org/packages/5e/bd/82d17fd70d3fa8544ff86b5160a498af11f9c070a67cf7352c8b42d682ec/parse-shebang-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "2d581e38b64d8fae6c3392f2cc55657a", "sha256": "5df52a56bbd7c241336913567555073d16d7f813752edd882ae460b8f48d63b2" }, "downloads": -1, "filename": "parse-shebang-0.0.6.tar.gz", "has_sig": false, "md5_digest": "2d581e38b64d8fae6c3392f2cc55657a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4393, "upload_time": "2015-08-02T12:49:40", "url": "https://files.pythonhosted.org/packages/a2/4f/482b590ccf7ce7f6f60998f063c5c2c23b4c109677c9a9b4d1bda9e9f2d4/parse-shebang-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "bee8b1fb333894379201102a3e030df7", "sha256": "359f76c1f46b96aa97a0dc2be34b1d923ccfba78fe8d8cfc02714fa731f09f35" }, "downloads": -1, "filename": "parse-shebang-0.0.7.tar.gz", "has_sig": false, "md5_digest": "bee8b1fb333894379201102a3e030df7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4181, "upload_time": "2016-03-03T11:16:31", "url": "https://files.pythonhosted.org/packages/36/d1/0ae8cfc12ed5206f242ac0d9778d68f0b5a43b9d935a34256848f4d29b9b/parse-shebang-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "fa0af268e1cddbaa9698b3068791a5d4", "sha256": "bf5ae1cea9b04ff93ff7f78f71e6d1424279be20c1b617b7039e34047b800b44" }, "downloads": -1, "filename": "parse-shebang-0.0.8.tar.gz", "has_sig": false, "md5_digest": "fa0af268e1cddbaa9698b3068791a5d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4172, "upload_time": "2016-03-03T11:20:17", "url": "https://files.pythonhosted.org/packages/52/ef/e76f95dc898ba9319c20c519a1abc47ed409e699b52c3ed49945b6a6ccc9/parse-shebang-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "a8d2bca1384c389bc5866dd36772ae35", "sha256": "b9cdd3de5f9c72055d8f518185abebef0a7f3f987956841d85845bd34c66766d" }, "downloads": -1, "filename": "parse-shebang-0.0.9.tar.gz", "has_sig": false, "md5_digest": "a8d2bca1384c389bc5866dd36772ae35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4179, "upload_time": "2016-03-06T15:09:34", "url": "https://files.pythonhosted.org/packages/11/52/9afecc39461bb46188bf8d25a781a5ae1547046d3c684443ef5f7a9002cb/parse-shebang-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "30ad22c01c0acc5dfde290e809d6ea19", "sha256": "79b83e0d3551a76975cb2110165a01bdd4ab18d220114e8492199adb8cdb8869" }, "downloads": -1, "filename": "parse-shebang-0.0.22.tar.gz", "has_sig": false, "md5_digest": "30ad22c01c0acc5dfde290e809d6ea19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4292, "upload_time": "2016-11-10T13:18:45", "url": "https://files.pythonhosted.org/packages/89/bd/18b3be2cc15622f97853f25e547467e5ab9064521697cad8ba0677fcf345/parse-shebang-0.0.22.tar.gz" } ] }