mirror of
https://gitlab.com/hmajid2301/python-cli-template.git
synced 2026-06-18 11:45:26 +01:00
Cookie Cutter template for a simple Python CLI project.
- Python 74.5%
- Makefile 22.4%
- Dockerfile 3.1%
Update the publish docker job to install python setup tools. Else the building the Dockerfiles fails. |
||
|---|---|---|
| hooks | ||
| {{ cookiecutter.package_name }} | ||
| .gitignore | ||
| CHANGELOG.md | ||
| cookiecutter.json | ||
| LICENSE | ||
| README.md | ||
Cookiecutter Python CLI Template.
A Cookie Cutter template for creating Python CLI scripts.
NOTE: This project only supports Python3.
Usage
First you will need to install cookiecutter, then "clone" the project using cookiecutter Then fill in the form and your project will be ready to use. This project is supposed to be used with GitLab.
pip install cookiecutter
# Via SSH
cookiecutter git@gitlab.com:hmajid2301/python-cli-template.git
# Or via HTTPS
cookiecutter https://gitlab.com/hmajid2301/python-cli-template.git
Libraries
This template comes with the following libraries/packages ready to use.
- GitLab CI
- Black
- Flake8
- Isort
- Docker
- Pytest
- Sphinx
Changelog
You can find the changelog here.