This is a command for creating a skeleton project for python commands. It uses uv to boot strap the project and install an environment. Helpful utilities for installing the project are given, wee below.
Template that this uses is here:
> pip install create-python-cmd
> git clone https://github.com/.../myproject
> cd myproject
> createpythoncmd # Creates a new Python command line application.
Creates a new Python command line application with linters and tests.
The following tools will be installed
install
- script to boot strap and install the python packageclean
- removes build artifactslint
- runs the linters on the source codetest
- runs the unit test
The following linters are used
ruff
black
isort
mypy
To upload your project to pypi simply run . ./upload_package.sh
2.0.0
- Moved to the uv build system as this is much better and fixes the boot strapping of python issue. Fixes git bash not being cd'd to the current directory in VSCode.1.2.5
- Varius fixes and test fixes.1.2.2
- Adds retries to get correct parameters and auto corrects parameters instead of exiting.1.2.0
- Refresh with new modern practices like an installation script.1.1.1
- Adds chmod +x to shell scripts and adds post install instructions.1.1.0
- createpythonapp -> createpythoncmd.1.0.9
- Adds keywords prompt during setup.