gig


Namegig JSON
Version 1.2.0 PyPI version JSON
download
home_pagehttps://github.com/sloria/gig
SummaryGenerate .gitignore templates from the command line
upload_time2024-01-10 16:30:03
maintainer
docs_urlNone
authorSteven Loria
requires_python>=3.8
licenseMIT
keywords git github gitignore command-line
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # gig

[![PyPI Latest Version](https://badgen.net/pypi/v/gig)](https://pypi.org/project/gig/)
[![Build Status](https://github.com/sloria/gig/actions/workflows/build-release.yml/badge.svg)](https://github.com/sloria/gig/actions/workflows/build-release.yml)

A CLI to create .gitignore files, to keep your source control so fresh and clean.

![Andre](https://upload.wikimedia.org/wikipedia/commons/d/d8/Andr%C3%A93000.jpg)

## Install/Upgrade

```
$ pip install -U gig
```

Or, run it with [pipx](https://github.com/pipxproject/pipx):

```
$ pipx run gig --help
```

## Usage

In the shell. . .

```
$ gig Python Ruby > .gitignore
```

Or, programmatically, in Python. . .

```python
>>> import gig
>>> gig.generate_gitignore(["Clojure"])
u'\n### Clojure ###\nLeiningen.gitignore'
```

You can also generate global `.gitignore_global` files. For more info, see [here](https://help.github.com/en/articles/ignoring-files#create-a-global-gitignore).

```
$ gig macOS VisualStudioCode --global > ~/.gitignore_global
```

To get a list of available templates. . .

```
$ gig list
$ gig list --global
```

For more help, run `gig --help`.

## Requirements

- Python >= 3.8
- Internet connection

## License

MIT Licensed.

## Changelog

### 1.2.0 (2024-01-10)

- Support Python 3.8-Python 3.12. Older versions no longer supported.

### 1.1.0 (2019-06-30)

- Add `--no-header`.

### 1.0.0 (2019-06-27)

- Write to `stdout`.
- Only Python>=3.6 is supported.

### 0.2.0 (2013-09-09)

- Add support for global gitignore files.

### 0.1.0 (2013-09-07)

- First release.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sloria/gig",
    "name": "gig",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "git,github,gitignore,command-line",
    "author": "Steven Loria",
    "author_email": "sloria1@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/60/2e/b007876c70219fab02ed8fbd4c1679213a2b32a1b2f64f4d715a6ace5e4f/gig-1.2.0.tar.gz",
    "platform": null,
    "description": "# gig\n\n[![PyPI Latest Version](https://badgen.net/pypi/v/gig)](https://pypi.org/project/gig/)\n[![Build Status](https://github.com/sloria/gig/actions/workflows/build-release.yml/badge.svg)](https://github.com/sloria/gig/actions/workflows/build-release.yml)\n\nA CLI to create .gitignore files, to keep your source control so fresh and clean.\n\n![Andre](https://upload.wikimedia.org/wikipedia/commons/d/d8/Andr%C3%A93000.jpg)\n\n## Install/Upgrade\n\n```\n$ pip install -U gig\n```\n\nOr, run it with [pipx](https://github.com/pipxproject/pipx):\n\n```\n$ pipx run gig --help\n```\n\n## Usage\n\nIn the shell. . .\n\n```\n$ gig Python Ruby > .gitignore\n```\n\nOr, programmatically, in Python. . .\n\n```python\n>>> import gig\n>>> gig.generate_gitignore([\"Clojure\"])\nu'\\n### Clojure ###\\nLeiningen.gitignore'\n```\n\nYou can also generate global `.gitignore_global` files. For more info, see [here](https://help.github.com/en/articles/ignoring-files#create-a-global-gitignore).\n\n```\n$ gig macOS VisualStudioCode --global > ~/.gitignore_global\n```\n\nTo get a list of available templates. . .\n\n```\n$ gig list\n$ gig list --global\n```\n\nFor more help, run `gig --help`.\n\n## Requirements\n\n- Python >= 3.8\n- Internet connection\n\n## License\n\nMIT Licensed.\n\n## Changelog\n\n### 1.2.0 (2024-01-10)\n\n- Support Python 3.8-Python 3.12. Older versions no longer supported.\n\n### 1.1.0 (2019-06-30)\n\n- Add `--no-header`.\n\n### 1.0.0 (2019-06-27)\n\n- Write to `stdout`.\n- Only Python>=3.6 is supported.\n\n### 0.2.0 (2013-09-09)\n\n- Add support for global gitignore files.\n\n### 0.1.0 (2013-09-07)\n\n- First release.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Generate .gitignore templates from the command line",
    "version": "1.2.0",
    "project_urls": {
        "Homepage": "https://github.com/sloria/gig"
    },
    "split_keywords": [
        "git",
        "github",
        "gitignore",
        "command-line"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "07566d2b1b31ed903b9da03c52f3aa66e8f08f5bc57baec3d1368c3d60d4fc49",
                "md5": "5d09af8460040261871a9990e28b803d",
                "sha256": "9eab7340bd6f2d3b28ca6978c1b6e05e22e887ab3fa1a94e2d2a09d8801d23e6"
            },
            "downloads": -1,
            "filename": "gig-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5d09af8460040261871a9990e28b803d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4459,
            "upload_time": "2024-01-10T16:30:02",
            "upload_time_iso_8601": "2024-01-10T16:30:02.332445Z",
            "url": "https://files.pythonhosted.org/packages/07/56/6d2b1b31ed903b9da03c52f3aa66e8f08f5bc57baec3d1368c3d60d4fc49/gig-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "602eb007876c70219fab02ed8fbd4c1679213a2b32a1b2f64f4d715a6ace5e4f",
                "md5": "1a279bc86ecbc6211fadd109f5e39d59",
                "sha256": "6397094d192c3800de34e4bf069292cf60e49c433c37b30954a637efeb3a2270"
            },
            "downloads": -1,
            "filename": "gig-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1a279bc86ecbc6211fadd109f5e39d59",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4704,
            "upload_time": "2024-01-10T16:30:03",
            "upload_time_iso_8601": "2024-01-10T16:30:03.451246Z",
            "url": "https://files.pythonhosted.org/packages/60/2e/b007876c70219fab02ed8fbd4c1679213a2b32a1b2f64f4d715a6ace5e4f/gig-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-10 16:30:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sloria",
    "github_project": "gig",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "gig"
}
        
Elapsed time: 0.19486s