Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alir3z4/python-gignore
Get .gitignore files from github.com/github/gitignore
https://github.com/alir3z4/python-gignore
Last synced: about 2 months ago
JSON representation
Get .gitignore files from github.com/github/gitignore
- Host: GitHub
- URL: https://github.com/alir3z4/python-gignore
- Owner: Alir3z4
- License: bsd-3-clause
- Created: 2014-10-25T19:38:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-28T17:33:06.000Z (about 10 years ago)
- Last Synced: 2024-09-02T00:48:49.298Z (4 months ago)
- Language: Python
- Homepage: http://pypi.python.org/pypi/gignore
- Size: 141 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- Changelog: ChangeLog.rst
- License: LICENSE
Awesome Lists containing this project
README
=======
gignore
=======.. contents:: Table of contents
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)
* PyPyInstallation
------------
``gignore`` is available on pypihttp://pypi.python.org/pypi/gignore
So easily install it by ``pip``
::
$ pip install gignoreOr by ``easy_install``
::
$ easy_install gignoreAnother way is by cloning ``python-gignore``'s `git repo `_ ::
$ git clone git://github.com/Alir3z4/python-gignore.gitThen install it by running:
::
$ python setup.py installAuthors
-------``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):
* Alireza Savand
* FrançoisAnd 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:* Alireza Savand
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.