Cookiecutter template for Python package
-
Python 3.6+
-
cookiecutter - template engine
-
poetry - dependency management
-
python-fire - command line tool
$ pip install ccpp
$ ccpp new hello-world && cd hello-world
$ pytest tests
$ poetry build
Building hello-world (0.1.0)
- Building sdist
- Built hello-world-0.1.0.tar.gz
- Building wheel
- Built hello-world-0.1.0-py3-none-any.whl
$ poetry publish
Publishing hello-world (0.1.0) to PyPI
Username: guaifish
Password:
- Uploading hello-world-0.1.0-py3-none-any.whl 0%
- Uploading hello-world-0.1.0-py3-none-any.whl 65%
- Uploading hello-world-0.1.0-py3-none-any.whl 100%
- Uploading hello-world-0.1.0-py3-none-any.whl 100%
- Uploading hello-world-0.1.0.tar.gz 0%
- Uploading hello-world-0.1.0.tar.gz 83%
- Uploading hello-world-0.1.0.tar.gz 100%
- Uploading hello-world-0.1.0.tar.gz 100%