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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42c3fe99844db1923b31a457b2d0676cdeee6f30a3f6a893d2464cbedf5f6bac |
|
MD5 | d5aae4503da38290fce3c4c930b3e2c8 |
|
BLAKE2b-256 | 3c2c7e0165f26b0aa9c5d196b5d5fb1356a585a969735c5591058e158957e43b |
Hashes for cookiecutter_namespace_template-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f7aa2194c29d67524b680dab09ffb1ffebe34023860248791694c8b6c82fa7a |
|
MD5 | 1c72d18c4dd4cda53a19c56e55648ddb |
|
BLAKE2b-256 | f9adeb97b31205f71ca0750371ca972a34e9eb8bf8f0ef36f3740ac177fdc5b7 |