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 details)
Built Distribution
ccpp-0.1.4-py3-none-any.whl
(8.8 kB
view details)
File details
Details for the file ccpp-0.1.4.tar.gz
.
File metadata
- Download URL: ccpp-0.1.4.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.6.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10e96cbaf4de8094400c3251da1bebd434a4799857ea15a827b8cd707210fd13 |
|
MD5 | bee12c09ad2181132e27f4169fcece15 |
|
BLAKE2b-256 | e3f7ed2ff14c24c0f109c944ec03b88db6a317923216c5b1bb6bcc632e1a5f67 |
File details
Details for the file ccpp-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: ccpp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.6.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9836e72eaa5092310b1726a08e197837c7d371575792476434a90c3a955e8c52 |
|
MD5 | 5734e3d9962dbca6f7f8fabf4acbca7b |
|
BLAKE2b-256 | 9804a5f32aee17285cc46d55694ca0442f6474aa22f8c35c3b5f8663642eb23f |