dmyersturnbull
science-notebook-template
Jupyter Notebook

๐Ÿงช A simple, elegant template for repositories with Jupyter notebooks supporting publications.

Last updated Nov 13, 2025
12
Stars
0
Forks
0
Issues
0
Stars/day
Attention Score
14
Language breakdown
Jupyter Notebook 54.5%
Python 45.5%
โ–ธ Files click to expand
README

Science notebook template

Binder DOI License template science_notebook

๐Ÿงช A simple, elegant template for repositories supporting publications. Scientific companion to the much more sophisticated code template Tyrannosaurus ๐Ÿฆ– No cookiecutter. Just click Use this Template above.

๐Ÿ‘‹ Citing

Just tell people how to cite your work.

Please reference the manuscript with this BibTeX:

@misc{sciencenotebooktemplate,
  doi = {10.5281/zenodo.4495745},
  url = {https://zenodo.org/record/4485186},
  author = {Myers-Turnbull, Douglas},
  title = {dmyersturnbull/science-notebook-template: v0.1.0},
  publisher = {Zenodo},
  year = {2021},
  copyright = {Open Access}
}

Or APA format:

Myers-Turnbull, D. (2021). dmyersturnbull/science-notebook-template (v0.1.0) [Computer software].
Zenodo. https://doi.org/10.5281/zenodo.4495745

๐ŸŽ About this repository

Whatโ€™s in this repo?

  • Automatic linting of Python, Markdown, config files, etc. using
pre-commit, Ruff, and Prettier.
  • IDE hints via EditorConfig with good defaults for most languages
  • Recommended readme organization, CITATION.cff, etc.
  • Nice gitignore, dockerignore, pull request and issue templates, etc.

๐Ÿ“œ Steps to reproduce

How to download needed data, run the code, etc.

  • Click Use this Template and create your repo.
  • Clone your repo, and run pip install pre-commit and pre-commit install.
  • Add your scripts or notebooks, write your readme, and modify anything as you see fit.
Note: When you run git commit, pre-commit will error if it made changes. Thatโ€™s normal. Just re-run to finish the commit.
  • In your repo settings, disable Discussions and Wiki.
Also disable Projects, if not needed.
  • Enable Vulnerability reporting under Code security.
  • Add a Branch protection rule for main.
Check these boxes: - Require a pull request before merging - Require status checks to pass before merging - Require branches to be up to date before merging - Require linear history

Development workflow

Use pull requests (PRs) instead of committing directly into main. Give PRs useful titles and descriptions. Use GitHub Releases to mark stable versions, and include release notes that document the changes. Follow a consistent versioning scheme, such as semantic versioning.

๐ŸŒณ Layout

Describe the layout of this repo.

โ”œโ”€โ”€ src/                     โŸต project source code
โ”œโ”€โ”€ data
โ”‚   โ”œโ”€โ”€ temp-output/         โŸต files generated per-run
โ”‚   โ”‚   โ”œโ”€โ”€ figures/         โŸต raw charts and graphs
โ”‚   โ”‚   โ”œโ”€โ”€ ...files
โ”‚   โ”‚   โ”œโ”€โ”€ csv/             โŸต raw tables
โ”‚   โ”‚   โ””โ”€โ”€ ...files
โ”‚   โ”œโ”€โ”€ living/              โŸต files we are actively curating
โ”‚   โ”‚   โ”œโ”€โ”€ figures/
โ”‚   โ”‚   โ”œโ”€โ”€ tables/
โ”‚   โ”‚   โ”œโ”€โ”€ manuscript/
โ”‚   โ”‚   โ””โ”€โ”€ ...files
โ”‚   โ””โ”€โ”€ frozen/              โŸต non-modifiable files
โ”‚       โ”œโ”€โ”€ raw/             โŸต experimental or downloaded data
โ”‚       โ””โ”€โ”€ ref/             โŸต frozen analyses and outputs
โ””โ”€โ”€ README.md

Some of or all your data might live somewhere external (as documented below) rather than data/frozen/. See research projects guide for more info.

๐Ÿ”Œ External resources

Describe any external resources needed (e.g., API keys).

๐Ÿ Contributing

Tell people how to report problems and ask questions.

The source code in this repository is licensed under the terms of the Apache License 2.0. Contributions and questions are welcome via issues. For reference, refer to the contributing guide and security policy.

Note: The source code headers (i.e., SPDX) are to protect you, the user. I donโ€™t expect you to retain them. Remove them or replace them with your own when you modify them.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท dmyersturnbull/science-notebook-template ยท Updated daily from GitHub