A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.
A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.
A logical, reasonably standardized but flexible project structure for doing and sharing data science work.
**Cookiecutter Data Science (CCDS)** is a tool for setting up a data science project template that incorporates best practices. To learn more about CCDS's philosophy, visit the [project homepage](https://cookiecutter-data-science.drivendata.org/).ℹ️ Cookiecutter Data Science v2 has changed from v1. It now requires installing the new cookiecutter-data-science Python package, which extends the functionality of the cookiecutter templating utility. Use the provided
ccdscommand-line program instead ofcookiecutter.
Cookiecutter Data Science v2 requires Python 3.9+. Since this is a cross-project utility application, we recommend installing it with pipx. Installation command options:
# With pipx from PyPI (recommended)
pipx install cookiecutter-data-science
# With pip from PyPI
pip install cookiecutter-data-science
# With conda from conda-forge (coming soon)
# conda install cookiecutter-data-science -c conda-forgeTo start a new project, run:
ccdsThe directory structure of your new project will look something like this (depending on the settings that you choose):
…By default, ccds will use the project template version that corresponds to the installed ccds package version (e.g., if you have installed ccds v2.0.1, you'll use the v2.0.1 version of the project template by default). To use a specific version of the project template, use the -c/--checkout flag to provide the branch (or tag or commit hash) of the version you'd like to use. For example to use the project template from the master branch:
ccds -c masterIf you want to use the old v1 project template, you need to have either the cookiecutter-data-science package or cookiecutter package installed. Then, use either command-line program with the -c v1 option:
ccds https://github.com/drivendataorg/cookiecutter-data-science -c v1
# or equivalently
cookiecutter https://github.com/drivendataorg/cookiecutter-data-science -c v1We welcome contributions! See the docs for guidelines.
pip install -r dev-requirements.txtpytest testsAdd example projects to docs (for real this time)
Document conda-forge as a way to install make
Support user-supplied config files
Document how to use the Python source code scaffolding
Broken link on opinions page
Is there an example project?
Add documentation about contributing and requesting tools
The v2.2.0 branch not found
Windows runners fail sporadically during conda tests
Defend against broken paths from non-editable installs