licensegh


Namelicensegh JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/sauljabin/licensegh
Summarylicensegh is a command line tool that generates a license file for a project from the github open source lincese templates
upload_time2023-11-12 21:59:00
maintainer
docs_urlNone
authorSaúl Piña
requires_python>=3.10,<4.0
licenseMIT
keywords lincese choosealicense licensegh
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # licensegh

<a href="https://www.python.org/"><img alt="Python" src="https://img.shields.io/badge/-python-success?logo=python&logoColor=white"></a>
<a href="https://github.com/sauljabin/licensegh"><img alt="GitHub" src="https://img.shields.io/badge/status-active-brightgreen"></a>
<a href="https://github.com/sauljabin/licensegh/blob/main/LICENSE"><img alt="MIT License" src="https://img.shields.io/github/license/sauljabin/licensegh"></a>
<a href="https://github.com/sauljabin/licensegh/actions"><img alt="GitHub Actions" src="https://img.shields.io/github/actions/workflow/status/sauljabin/licensegh/main.yml?branch=main"></a>
<a href="https://app.codecov.io/gh/sauljabin/licensegh"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/sauljabin/licensegh"></a>
<a href="https://pypi.org/project/licensegh"><img alt="Python Versions" src="https://img.shields.io/pypi/pyversions/licensegh"></a>
<a href="https://pypi.org/project/licensegh"><img alt="Version" src="https://img.shields.io/pypi/v/licensegh"></a>
<a href="https://libraries.io/pypi/licensegh"><img alt="Dependencies" src="https://img.shields.io/librariesio/release/pypi/licensegh"></a>
<a href="https://pypi.org/project/licensegh"><img alt="Platform" src="https://img.shields.io/badge/platform-linux%20%7C%20osx-blueviolet"></a>

`licensegh` is a command line tool that generates a `LICENSE` file for a project from the [github license templates repository](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses).

![https://raw.githubusercontent.com/sauljabin/licensegh/main/screenshots/options.png](https://raw.githubusercontent.com/sauljabin/licensegh/main/screenshots/options.png)

## Installation

Install with pip:
```sh
pip install licensegh
```

Upgrade with pip:
```sh
pip install --upgrade licensegh
```

## Usage

> Alias lgh

Help:
```sh
licensegh -h
```

Version:
```sh
licensegh --version
```

List all licenses:
```sh
licensegh -l
```

Search licenses:
```sh
licensegh -s
```

Print a license: 
```sh
licensegh -p
```

Reset github template repository:
```sh
licensegh --reset
```

Save a license:
```sh
licensegh mit
```

## Development

Installing poetry:
```sh
pip install poetry
```

Installing development dependencies:
```sh
poetry install
```

Running unit tests:
```sh
poetry run python -m scripts.tests
```

Applying code styles:
```sh
poetry run python -m scripts.styles
```

Running code analysis:
```sh
poetry run python -m scripts.analyze
```

Running code coverage:
```sh
poetry run python -m scripts.tests-coverage
```

Running cli using `poetry`:
```sh
poetry run licensegh
```

## Release a new version

> Check https://python-poetry.org/docs/cli/#version

```shell
poetry version <major|minor|patch>
git add -A
git commit -m "bumping version to $(poetry version -s)"
git tag $(poetry version -s)
git push origin main
git push --tags
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sauljabin/licensegh",
    "name": "licensegh",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "lincese,choosealicense,licensegh",
    "author": "Sa\u00fal Pi\u00f1a",
    "author_email": "sauljabin@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/75/71/37449e37b674f6244308bf9ca448b4b5cd754939fc15c76f0581489f33d0/licensegh-1.0.3.tar.gz",
    "platform": null,
    "description": "# licensegh\n\n<a href=\"https://www.python.org/\"><img alt=\"Python\" src=\"https://img.shields.io/badge/-python-success?logo=python&logoColor=white\"></a>\n<a href=\"https://github.com/sauljabin/licensegh\"><img alt=\"GitHub\" src=\"https://img.shields.io/badge/status-active-brightgreen\"></a>\n<a href=\"https://github.com/sauljabin/licensegh/blob/main/LICENSE\"><img alt=\"MIT License\" src=\"https://img.shields.io/github/license/sauljabin/licensegh\"></a>\n<a href=\"https://github.com/sauljabin/licensegh/actions\"><img alt=\"GitHub Actions\" src=\"https://img.shields.io/github/actions/workflow/status/sauljabin/licensegh/main.yml?branch=main\"></a>\n<a href=\"https://app.codecov.io/gh/sauljabin/licensegh\"><img alt=\"Codecov\" src=\"https://img.shields.io/codecov/c/github/sauljabin/licensegh\"></a>\n<a href=\"https://pypi.org/project/licensegh\"><img alt=\"Python Versions\" src=\"https://img.shields.io/pypi/pyversions/licensegh\"></a>\n<a href=\"https://pypi.org/project/licensegh\"><img alt=\"Version\" src=\"https://img.shields.io/pypi/v/licensegh\"></a>\n<a href=\"https://libraries.io/pypi/licensegh\"><img alt=\"Dependencies\" src=\"https://img.shields.io/librariesio/release/pypi/licensegh\"></a>\n<a href=\"https://pypi.org/project/licensegh\"><img alt=\"Platform\" src=\"https://img.shields.io/badge/platform-linux%20%7C%20osx-blueviolet\"></a>\n\n`licensegh` is a command line tool that generates a `LICENSE` file for a project from the [github license templates repository](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses).\n\n![https://raw.githubusercontent.com/sauljabin/licensegh/main/screenshots/options.png](https://raw.githubusercontent.com/sauljabin/licensegh/main/screenshots/options.png)\n\n## Installation\n\nInstall with pip:\n```sh\npip install licensegh\n```\n\nUpgrade with pip:\n```sh\npip install --upgrade licensegh\n```\n\n## Usage\n\n> Alias lgh\n\nHelp:\n```sh\nlicensegh -h\n```\n\nVersion:\n```sh\nlicensegh --version\n```\n\nList all licenses:\n```sh\nlicensegh -l\n```\n\nSearch licenses:\n```sh\nlicensegh -s\n```\n\nPrint a license: \n```sh\nlicensegh -p\n```\n\nReset github template repository:\n```sh\nlicensegh --reset\n```\n\nSave a license:\n```sh\nlicensegh mit\n```\n\n## Development\n\nInstalling poetry:\n```sh\npip install poetry\n```\n\nInstalling development dependencies:\n```sh\npoetry install\n```\n\nRunning unit tests:\n```sh\npoetry run python -m scripts.tests\n```\n\nApplying code styles:\n```sh\npoetry run python -m scripts.styles\n```\n\nRunning code analysis:\n```sh\npoetry run python -m scripts.analyze\n```\n\nRunning code coverage:\n```sh\npoetry run python -m scripts.tests-coverage\n```\n\nRunning cli using `poetry`:\n```sh\npoetry run licensegh\n```\n\n## Release a new version\n\n> Check https://python-poetry.org/docs/cli/#version\n\n```shell\npoetry version <major|minor|patch>\ngit add -A\ngit commit -m \"bumping version to $(poetry version -s)\"\ngit tag $(poetry version -s)\ngit push origin main\ngit push --tags\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "licensegh is a command line tool that generates a license file for a project from the github open source lincese templates",
    "version": "1.0.3",
    "project_urls": {
        "Homepage": "https://github.com/sauljabin/licensegh",
        "Repository": "https://github.com/sauljabin/licensegh"
    },
    "split_keywords": [
        "lincese",
        "choosealicense",
        "licensegh"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e65d63fa28ba15ff62f66e8177e497f207b5b32c1c27d4b8e1924aa97276b098",
                "md5": "fa60ab03ecd55bc5334411179c050028",
                "sha256": "534d69f2a522f1aee0a9f72a59158533d2b5cc6c8f3cab1b875dd9ab713dbba0"
            },
            "downloads": -1,
            "filename": "licensegh-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fa60ab03ecd55bc5334411179c050028",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 6416,
            "upload_time": "2023-11-12T21:58:59",
            "upload_time_iso_8601": "2023-11-12T21:58:59.329049Z",
            "url": "https://files.pythonhosted.org/packages/e6/5d/63fa28ba15ff62f66e8177e497f207b5b32c1c27d4b8e1924aa97276b098/licensegh-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "757137449e37b674f6244308bf9ca448b4b5cd754939fc15c76f0581489f33d0",
                "md5": "51fbe018fcaa5c428dcdd50d342cb44e",
                "sha256": "a58c441500b6f43166c16cfb982d08dc4ba80886aa3d618c9385d7fbef590588"
            },
            "downloads": -1,
            "filename": "licensegh-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "51fbe018fcaa5c428dcdd50d342cb44e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 4578,
            "upload_time": "2023-11-12T21:59:00",
            "upload_time_iso_8601": "2023-11-12T21:59:00.886835Z",
            "url": "https://files.pythonhosted.org/packages/75/71/37449e37b674f6244308bf9ca448b4b5cd754939fc15c76f0581489f33d0/licensegh-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-12 21:59:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sauljabin",
    "github_project": "licensegh",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "licensegh"
}
        
Elapsed time: 0.14474s