Home » Projects » Cookicutter Pypackage

Cookiecutter PyPackage

Cookiecutter template for a Python package.

Features

Cookiecutter: https://github.com/cookiecutter/cookiecutter

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/vaibhavvikas/cookiecutter-pypackage.git

Then:

pip docs for requirements files: https://pip.pypa.io/en/stable/user_guide/#requirements-files

Register: https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives

Setting up Github pages:

Known Issues:

Github Pages don’t support the files or links of files outside the github pages folder i.e. you can’t access files in the parent directory. As a result you’ll need to copy the contents of the corresponding files from your main repo to the files inside docs folder. I know its kind of redundant. I will update if I find any solution. Suggestions are welcome (: