Skip to main content

Command line interface using gitignore.io API

Project description

# pygi

Command line interface using gitignore.io API

## Installation:

```
# pip install pygi
```
## Usage:

```
$ gi --list
actionscript
ada
agda
...
yii2
zendframework
zephir
$ gi vim werckercli > .gitignore
$ cat .gitignore

### Vim ###
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# temporary
.netrwhist
*~
# auto-generated tag files
tags


### WerckerCLI ###
_steps
_builds
_cache
_projects

```

**pygi** also can be used as a library too:
```python
>>> import pygi
>>> gitignores = pygi.list()
>>> len(gitignores)
290
>>> gitignores[4]
'android'
>>> print(pygi.gitignores('vim', 'werckercli'))

### Vim ###
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# temporary
.netrwhist
*~
# auto-generated tag files
tags


### WerckerCLI ###
_steps
_builds
_cache
_projects

```





Project details


Download files

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

Source Distribution

pygi-1.0.3.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

pygi-1.0.3-py2.py3-none-any.whl (3.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pygi-1.0.3.tar.gz.

File metadata

  • Download URL: pygi-1.0.3.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygi-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a2a5b5766b219b4643c316417ec8c3a361495e7f745555c9793c45eaad92d1b8
MD5 e723521b8df67da197d3093ff5f114d4
BLAKE2b-256 3ab821461ef853ac63705efc4ca8212218b0745c6837996f3266a00c5ee608df

See more details on using hashes here.

File details

Details for the file pygi-1.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pygi-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c124cf550f31d13020edc471f6903e12bfaffbca90900bbf4f2504f3ad631dc8
MD5 a283d70e92bf055d6b11d51a3bd3bd94
BLAKE2b-256 1356f9002eb0c98fc23b29586bf73f7b541e0e334f11d68cbb9831d42f39efbb

See more details on using hashes here.

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