This template is a data science project setup that provides a structured and organized starting point for your data science projects. It includes Cookiecutter for project templating, Pyenv for managing Python versions, and Poetry for dependency management. With this template, you can easily set up and manage your data science projects in a reproducible and efficient manner.
Inspired by Cookiecutter Data Science A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.
Explain briefly what this project is about and what problem it aims to solve.
Explain the purpose of each directory in the project.
Describe how to set up the project and get it running on a local machine.
List the main dependencies required for the project and how to install them.
-
Install
pyenv
https://github.com/pyenv/pyenv andpoetry
https://python-poetry.org/docs/#installation on your machine. -
Install the appropriate Python version:
cd ./project-name pyenv install 3.9.16 pyenv local 3.9.16
-
Configure Poetry to create the virtual environment in the project root:
poetry config virtualenvs.in-project true
-
Install all the dependencies with a single command:
poetry install
-
Activate the virtual environment
poetry shell
Provide instructions on how to use the project, including example code and scripts.
Specify how others can contribute to the project. Mention guidelines for pull requests and contributions.
Mention the license under which the project is distributed.