Cookiecutter template for Python package
Project description
Cookiecutter template for Python package
Requirements
-
Python 3.6+
-
cookiecutter - template engine
-
poetry - dependency management
-
python-fire - command line tool
Installation
$ pip install ccpp
Usage
Create a new package
$ ccpp new hello-world && cd hello-world
Test the package at the first time
$ pytest tests
Building package
$ 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
Publishing package to PyPI
$ 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%
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ccpp-0.1.4.tar.gz
(5.4 kB
view hashes)
Built Distribution
ccpp-0.1.4-py3-none-any.whl
(8.8 kB
view hashes)