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.3.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.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for getignore3-3.5.3.tar.gz
Algorithm Hash digest
SHA256 24eb5f4747e6d8c0512de1814f8feff80a65cc1005935df5326d9bc324077f1f
MD5 ce8854e7e372c36b5a5454c9f5fea23d
BLAKE2b-256 75a525564189f03d6f556aec9d337c65e96289e8267818f7c53575d0593eed1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: getignore3-3.5.3-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.2

File hashes

Hashes for getignore3-3.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1da418fa557bef46d86f6cbd18b9609fd4be8ec880b628f124cff01319645cea
MD5 9fb0b228843dfbce2ef6241d8b0faec5
BLAKE2b-256 d6b48a1a5bd060ac087a965592f02d462f9c059487015cceb64f2f70731fe8e0

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