Skip to main content

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/*

Metadata

Release files for getignore3 3.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for getignore3 3.5.3
File Size Uploaded Provenance Actions
getignore3-3.5.3.tar.gz 3.4 kB Without provenance Details for getignore3-3.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for getignore3 3.5.3
File Interpreter ABI Platform Actions
getignore3-3.5.3-py3-none-any.whl Python 3 none any Details for getignore3-3.5.3-py3-none-any.whl

Total release size: 7.7 kB

Release files / getignore3-3.5.3.tar.gz

Download URL getignore3-3.5.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
24eb5f4747e6d8c0512de1814f8feff80a65cc1005935df5326d9bc324077f1f
BLAKE2b-256 checksum
How to use checksums
75a525564189f03d6f556aec9d337c65e96289e8267818f7c53575d0593eed1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / getignore3-3.5.3-py3-none-any.whl

Download URL getignore3-3.5.3-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1da418fa557bef46d86f6cbd18b9609fd4be8ec880b628f124cff01319645cea
BLAKE2b-256 checksum
How to use checksums
d6b48a1a5bd060ac087a965592f02d462f9c059487015cceb64f2f70731fe8e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for getignore3 3.5.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page