A simple template for research project repos. You can also use data science and reproducible science cookie cutters.
This template contains the following folders and files. See README.md
in each folder for more details and guidelines.
data
for raw & derived datasets.libs
for libraries for the project.models
for trained models.notebooks
for (timestamped) experiment notebooks.paper
for manuscripts.results
for results (figures, tables, etc.)workflow
for workflow files and scripts..gitignore
for temporary and binary files to be ignored by git (LaTeX, Python, Jupyter, data files, etc.)
Use uv
to create a virtual environment.
uv venv
.envrc
allows automatic activation of virtual environment. See direnv.
Create pyproject.toml
file and add necessary packages.
uv init
uv add PACKAGE_NAME
Once pyproject.toml
file is created, you can use uv sync
to synchronize the virtual environment.
uv sync
If you want to add the local project package and keep it editable, use uv add -e
command.
uv add . --editable