Skip to main content

Get .gitignore files from github.com/github/gitignore

Project description

Overview

gignore Get .gitignore files from github/gitignore.

CLI

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.

Usage

CLI

$ gignore Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
....

Backend

>>> from gignore import Gignore
>>> gig = Gignore('Python')
>>> gig.get_gitignore_file()
>>> print(gig.get_file_content())
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
# ....
>>>

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

Installation

gignore is available on pypi

http://pypi.python.org/pypi/gignore

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://github.com/Alir3z4/python-gignore.git

Then install it by running:

$ python setup.py install

Authors

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.

License

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.

Source Distribution

gignore-2014.10.28.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file gignore-2014.10.28.tar.gz.

File metadata

File hashes

Hashes for gignore-2014.10.28.tar.gz
Algorithm Hash digest
SHA256 0daca3a9eb425bd0beebe7c9fdfd67a4f0f25549a7dfec2286abceb251c21cc8
MD5 e624ade589817e256fceb50079b7f903
BLAKE2b-256 955ecb00de06f0429cd7bae8f05c5d4f7609cedd664b846df614e8df28756eff

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page