Skip to main content

Cookiecutter template for a Python namespace package

Project description

Cookiecutter Namespace Template for a Python package.

Downloads Updates Versionns Contributors License Docs

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

  1. Install the latest Cookiecutter if you haven’t installed it yet (this requires Cookiecutter 1.4.0 or higher):

    $ pip install -U cookiecutter
  2. Generate a Python package project:

    $ cookiecutter https://github.com/veit/cookiecutter-namespace-template.git
  3. Create a repo and put it there.

  4. Register your project with PyPI.

  5. Add the repo to your ReadTheDocs account and turn on the ReadTheDocs service hook.

  6. If you want to add the pyup badge to your README file

    1. create a new account at pyup.io or log into your existing account

    2. click on the green Add Repo button

    3. click Pin to add the repo

  7. 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


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

File details

Details for the file cookiecutter-namespace-template-0.1.12.tar.gz.

File metadata

  • Download URL: cookiecutter-namespace-template-0.1.12.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for cookiecutter-namespace-template-0.1.12.tar.gz
Algorithm Hash digest
SHA256 7faeade60227fb00d90cd9fd0b93bb4b5a8663de74ab88fcc449d5c27bff078d
MD5 eca94abce39d8f919828316fc4963c07
BLAKE2b-256 8d7d25f78dbebf9cd25de5bc6c0c50095714006c683ca59887f4791fe4a8cf6c

See more details on using hashes here.

File details

Details for the file cookiecutter_namespace_template-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: cookiecutter_namespace_template-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for cookiecutter_namespace_template-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f2e1ea7a79e7538701d0e16c7a98b26517115c9e3ebdd14f518fbca580958765
MD5 b80c0d7d49f7f2ed82a648c3755b477e
BLAKE2b-256 dc388d08cac8d48187b174ce3acd9bfdadd06ba048a1291a193defcdfe2d343e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page