Skip to content

A custom cookiecutter based on pyscaffold that includes tests in sphinx docs.

Notifications You must be signed in to change notification settings

py4ds/cookiecutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cookiecutter

Join the chat at https://gitter.im/py4ds/cookiecutter

A Cookiecutter template to create a simple project structure based on PyScaffold.

Usage

To get started, install cookiecutter:

pip install cookiecutter

Then, run the cookiecutter command the following arguments:

  • --no-input
  • the template url (gh:marskar/cookiecutter)
  • project
  • author
  • user
  • description
cookiecutter --no-input gh:marskar/cookiecutter \
project="PROJECT_NAME" author="AUTHOR_NAME" \
user=USER_NAME description="DESCRIPTION"

For more details on possible arguments and their defaults, take a look at the cookiecutter.json file.

Project structure

template
├── AUTHORS.rst
├── CHANGELOG.rst
├── LICENSE.txt
├── Makefile
├── README.rst
├── docs
│   ├── Makefile
│   ├── _static
│   ├── authors.rst
│   ├── changelog.rst
│   ├── conf.py
│   ├── index.rst
│   └── license.rst
├── requirements.txt
├── setup.cfg
├── setup.py
├── src
│   └── template
│       ├── __init__.py
│       └── template.py
└── tests
    ├── conftest.py
    └── test_template.py

Note

This project has been set up using PyScaffold 3.1 and Cookiecutter 1.6.

For details and usage information on PyScaffold, see https://pyscaffold.org/.

For details and usage information on Cookiecutter, see https://cookiecutter.readthedocs.io/.

About

A custom cookiecutter based on pyscaffold that includes tests in sphinx docs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published