Skip to main content

CLI for

Project description


Python 3 gitignore fetcher based on


# pip3 install giig


usage: giig [-h] [--list] [--search SEARCH] [--file [FILE]] [lang [lang ...]]

Download .gitignore files from

positional arguments:
  lang                  language, IDE or OS to include in the .gitignore file

optional arguments:
  -h, --help            show this help message and exit
  --list, -l            list all language, IDE or OS options
  --search SEARCH, -s SEARCH
                        search list of options and print matches
  --file [FILE], -f [FILE]
                        specify which file to write to

Print list

Print list of all possible options for

giig -l


Search for specific term (e.g. python)

giig -s python

Print to stdout

giig python

Write .gitignore file

giig -f -- python

Use custom file

giig -f custom-file.txt python

Use as library

import giig

# get list of languages, IDEs, etc.

# get list of languages, IDEs, etc.

# get gitignore for one/several languages, IDEs, etc.
# where options is a list of terms


  • make giig print to stdout without -f
  • add cache (don't need to query everytime)

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

giig-0.3.2.tar.gz (3.4 kB view hashes)

Uploaded source

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