Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A small tool that helps in adding the appropriate shebang

Project Description


A small tool that helps in adding the appropriate shebang


  • Help in adding the appropriate shebang
  • Use in other scripts to get shebang of a file using the shebang function
  • I’m not a good English speaker so explore by yourself :’) !


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


0.1.5 (2017-09-15)

  • Leaving click and using argparse
  • add new functions to the cli
  • availability to invoke as python -m putshebang
  • add default option
  • Fix some minor bugs
  • more documenting..

0.1.4 (2017-09-08)

  • Add shebang selection from different versions of the same interpreter, or different interpreters associated with the same extension
  • Generalize exception handling
  • Reading mappings (the {extension: interpreter}) from a json file
  • Enhance the shebang function

0.1.3 (2017-09-02)

  • Enhance some aspects
  • Fix some major bugs

0.1.2 (2017-08-06)

  • Rename project

0.1.1 (2017-08-06)

  • Minor bugfixes

0.1.0 (2017-08-06)

  • First release on PyPI.

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(16.8 kB) Copy SHA256 Hash SHA256
Source Sep 18, 2017

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