Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cookiecutter-data-science

> DevOps
Open source

A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.

10.0K stars0 likes2 views
WebsiteGitHub

About

A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.

Cookiecutter Data Science

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 ccds command-line program instead of cookiecutter.

Installation

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:

bash
# 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-forge

Starting a new project

To start a new project, run:

bash
ccds

The resulting directory structure

The directory structure of your new project will look something like this (depending on the settings that you choose):

…

Using unreleased changes

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:

bash
ccds -c master

Using v1

If 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:

bash
ccds https://github.com/drivendataorg/cookiecutter-data-science -c v1
# or equivalently
cookiecutter https://github.com/drivendataorg/cookiecutter-data-science -c v1

Contributing

We welcome contributions! See the docs for guidelines.

Installing development requirements

bash
pip install -r dev-requirements.txt

Running the tests

bash
pytest tests

Issues· 36 open

View all issuesOpen on GitHub
  • #494

    Add example projects to docs (for real this time)

    Updated Sep 23, 2026
  • #358

    Document conda-forge as a way to install make

    Updated Apr 1, 2026
  • #325

    Support user-supplied config files

    Updated Apr 1, 2026
  • #357

    Document how to use the Python source code scaffolding

    docsUpdated Mar 16, 2026
  • #475

    Broken link on opinions page

    Updated Mar 16, 2026
  • #385

    Is there an example project?

    Updated Sep 19, 2025
  • #384

    Add documentation about contributing and requesting tools

    docsUpdated Jun 9, 2025
  • #449

    The v2.2.0 branch not found

    Updated Apr 10, 2025
  • #432

    Windows runners fail sporadically during conda tests

    Updated Mar 10, 2025
  • #356

    Defend against broken paths from non-editable installs

    needs-discussionUpdated Mar 7, 2025

> Tags

Pythonaicookiecuttercookiecutter-data-sciencecookiecutter-template

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理