Skip to main content

Get .gitignore files from

Project description


gignore Get .gitignore files from github/gitignore.


gignore comes with a Command Line Interface and works just like any other unix based command line application.

The output of gignore will be echo out to command line and can be simply pipe to other applications.



$ gignore Python
# Byte-compiled / optimized / DLL files


>>> from gignore import Gignore
>>> gig = Gignore('Python')
>>> gig.get_gitignore_file()
>>> print(gig.get_file_content())
# Byte-compiled / optimized / DLL files

# C extensions

# Distribution / packaging
# ....

Supported Python Versions

gignore currently can be run on multiple python versions:

  • Python 2 (2.7)
  • Python 3 (3.2, 3.3, 3.4)
  • PyPy


gignore is available on pypi

So easily install it by pip

$ pip install gignore

Or by easy_install

$ easy_install gignore

Another way is by cloning python-gignore’s git repo

$ git clone git://

Then install it by running:

$ python install


gignore was originally created in the late 2014 at home, the bedroom division of the Alireza’s place somewhere on planet earth maybe.

The PRIMARY AUTHORS are (and/or have been):

And here is an inevitably incomplete list of MUCH-APPRECIATED CONTRIBUTORS – people who have submitted patches, reported bugs, added translations, helped answer newbie questions, and generally made gignore that much better:

A big THANK YOU goes to:

  • François‎ for convincing Alireza to start the project.
  • Guido van Rossum for creating Python.


gignore is distributed under the terms of BSD license.

Download files

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

Files for gignore, version 2014.10.28
Filename, size File type Python version Upload date Hashes
Filename, size gignore-2014.10.28.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page