https://github.com/conorsheehan1/cookiecutter-fire-cli
A cookiecutter template for creating a fire cli python package
https://github.com/conorsheehan1/cookiecutter-fire-cli
cookiecutter cookiecutter-template fire python python-fire python3
Last synced: 7 months ago
JSON representation
A cookiecutter template for creating a fire cli python package
- Host: GitHub
- URL: https://github.com/conorsheehan1/cookiecutter-fire-cli
- Owner: ConorSheehan1
- License: mit
- Created: 2021-01-09T23:15:35.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-08-24T22:39:16.000Z (about 2 years ago)
- Last Synced: 2025-01-30T06:26:29.560Z (9 months ago)
- Topics: cookiecutter, cookiecutter-template, fire, python, python-fire, python3
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/ConorSheehan1/cookiecutter-fire-cli/actions/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/psf/black)
[](https://github.com/ConorSheehan1/cookiecutter-fire-cli/blob/main/.github/workflows/ci.yml#L25)A [cookiecutter](https://github.com/audreyr/cookiecutter) template for creating a new python package with a [fire](https://github.com/google/python-fire) command line interface.
# Usage
To create a new project using this cookiecutter template:```bash
pip install cookiecutter poetry
cookiecutter gh:ConorSheehan1/cookiecutter-fire-cli# cd your_new_package
poetry install
poetry run task install_hooks
```For full cookiecutter instructions see https://github.com/audreyr/cookiecutter#features
## Configuration provided
1. testing
1. [pytest](https://github.com/pytest-dev/pytest)
1. [github actions](https://github.com/features/actions)
1. ci
1. release (github release, optional)
1. deploy (to pypi, requires additional steps, optional)
1. linting
1. [black](https://github.com/psf/black) autoformatter
1. [isort](https://github.com/PyCQA/isort) import sorter
1. [mypy](https://github.com/python/mypy) type checker
1. dependency management / packaging
1. [poetry](https://github.com/python-poetry/poetry)
1. version management
1. [bump2version](https://github.com/c4urself/bump2version)
1. license
1. MIT
1. githooks
1. pre-commit (requires additional steps)## Local/Dev install
```bash
poetry install
poetry run cookiecutter .
# poetry run cookiecutter . --overwrite-if-exists --no-input
```