Cookiecutter template for a Python namespace package
Project description
Cookiecutter Namespace Template for a Python package.
Features
Testing setup with unittest and python setup.py test or py.test
Tox testing: Setup to easily test for Python 2.7, 3.5, 3.6, 3.7, 3.8
Sphinx docs: Documentation ready for generation with, for example, ReadTheDocs
Bumpversion: Pre-configured version bumping with a single command
Optional auto-release to PyPI when you push a new tag to master (optional)
Optional command line interface using Click
Quickstart
Install the latest Cookiecutter if you haven’t installed it yet (this requires Cookiecutter 1.4.0 or higher):
$ pip install -U cookiecutter
Generate a Python package project:
$ cookiecutter https://github.com/veit/cookiecutter-namespace-template.git
Create a repo and put it there.
Register your project with PyPI.
Add the repo to your ReadTheDocs account and turn on the ReadTheDocs service hook.
Release your package by pushing a new tag to master.
Pull requests
If you have differences in your preferred setup, I encourage you to fork this to create your own version. I also accept pull requests on this, if they’re small, atomic, and if they make my own packaging experience better.
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
Built Distribution
Hashes for cookiecutter-namespace-template-0.1.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cc82dead81efc13e95aa0ff241c1ee2f1882d0084ce12a49460c2714eb85107 |
|
MD5 | c48c63dec0ed0942bee4df072cdfdb0a |
|
BLAKE2b-256 | ebd51751700c034c068916a8e7020cc1dcf155b08c2387be1b12539c2692f6e9 |
Hashes for cookiecutter_namespace_template-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aca0acbda5c9d3edc773d1c9124307f72d157dcafa417b286c846b6c1ad484b5 |
|
MD5 | ccdc7bbd78586b28b48a5a76aa39ed21 |
|
BLAKE2b-256 | 25988c4d4570abebf4b14d3139c7a89d6d52e1264abbebd11b635262446d2176 |