Skip to main content

A tool to fetch and manage `.gitignore` templates from GitHub with minimal effort

Project description

GetIgnore3

😎 Fetch and manage `.gitignore` templates from GitHub with minimal effort
GitHub last commit GitHub License PyPI - Version

getignore is a simple, no-fuss command-line tool for fetching .gitignore templates from the official GitHub gitignore repository. Whether you're starting a new project or tidying up an old one, getignore lets you easily grab the right .gitignore file for your stack — without digging through websites or typing out boilerplate.

usage: getignore [-h] [-L] [-l] [-n] [-c] [-o OUTPUT] [-w]
                 [template_name ...]

A tool to fetch and manage `.gitignore` templates from GitHub with minimal effort

positional arguments:
  template_name         Name(s) of gitignore templates to fetch
                        (e.g., Python, Node and etc.)

options:
  -h, --help            show this help message and exit
  -L, --list-cached-templates
                        List cached gitignore templates
  -l, --list-templates  List available gitignore templates
  -n, --no-cache        Don't cache the gitignore template file when
                        downloaded
  -c, --offline         Get the cached gitignore template instead of
                        downloading
  -o, --output OUTPUT   Where to write the gitignore template
                        content to
  -w, --override        Override existing gitignore file instead of
                        appending

Features

  • Automatically caches templates for offline use
  • Can list available and cached templates
  • Customizable output file location and behavior (append or overwrite)
  • Simple CLI with minimal setup

Installation

  • You can install it from pypi using pip (for Microsoft Windows):
pip install getignore3
  • Or install it using pipx (recommended, for all):
pipx install getignore3
  • Or even build it from source!
git clone https://github.com/ashkanfeyzollahi/getignore3.git
cd getignore3
python -m build
pipx install dist/*

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

getignore3-3.5.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

getignore3-3.5.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file getignore3-3.5.2.tar.gz.

File metadata

  • Download URL: getignore3-3.5.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for getignore3-3.5.2.tar.gz
Algorithm Hash digest
SHA256 19d397b3557bd411d67105207807641128f8aedbbd155dcfc5905a500d83690e
MD5 f8deafed0ce9b931fa5670f01227f27b
BLAKE2b-256 7245226d48ad509b88a506dcf641ea50b451e83c92a0c2af0c85185f3aecc4fe

See more details on using hashes here.

File details

Details for the file getignore3-3.5.2-py3-none-any.whl.

File metadata

  • Download URL: getignore3-3.5.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for getignore3-3.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2e32cd9571c10e98be21d59bd1419cd6b0fddb55c1bf157e9019f2affa3a790
MD5 eeed7559e9c0fe871d092d46f8a84002
BLAKE2b-256 4f682ce414e5fb546da0d88babbc17ae5a345c25e0b646a2897e98ef42f2ce78

See more details on using hashes here.

Supported by

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