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.1.tar.gz (3.4 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.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: getignore3-3.5.1.tar.gz
  • Upload date:
  • Size: 3.4 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.1.tar.gz
Algorithm Hash digest
SHA256 5385b10bf6a5d0415648b70b609bc4226ac4dafce34255edbbcf7c97e8684bfd
MD5 05a12d24f42997c3aad8d80591acdd16
BLAKE2b-256 d61e8b07a5927f2f56bcd5be863535f90ec9ac9e684d0aadab74081e643d6455

See more details on using hashes here.

File details

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

File metadata

  • Download URL: getignore3-3.5.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe21fa6014d78ef0629163f27354337d0c507d0808d96f98d262aa1cc45467d2
MD5 0f8ef5575902e1b395c6d3b6226bbc8a
BLAKE2b-256 07f1f0d4323255fb317dd45f6613d9f2f7ed537461a539c4248266193d2f4f6b

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