GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - UCL-ARC/python-tooling: Python package template for new research software projects

BranchesTags
Open more actions menu

Latest commit

 

History

588 Commits
588 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
hooks
hooks
 
 
images
images
 
 
tests
tests
 
 
{{cookiecutter.project_slug}}
{{cookiecutter.project_slug}}
 
 
.all-contributorsrc
.all-contributorsrc
 
 
.gitignore
.gitignore
 
 
.markdownlint.yaml
.markdownlint.yaml
 
 
.prekignore
.prekignore
 
 
.prettierignore
.prettierignore
 
 
.renovaterc.json5
.renovaterc.json5
 
 
.vale.ini
.vale.ini
 
 
CITATION.cff
CITATION.cff
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
cookiecutter.json
cookiecutter.json
 
 
prek.toml
prek.toml
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

UCL ARC Python tooling logo

UCL ARC Python Recommendations

This repository collects our recommendations for a research software project in Python. We have a website if you need some advice for what tools to use, and a template if you're starting a project from scratch.

πŸͺ Our template uses cookiecutter to set up a new package with our preferred tools ready to go.

Note

If you're making a package in a research community that already has a template, use theirs instead!

How to use our template

Here are some quick start steps. We also have a more detailed tutorial and some talks about this that have been presented in workshops for researchers at UCL.

If you have uv installed, run:

uvx cookiecutter gh:ucl-arc/python-tooling --checkout latest

If you don't want to use uv you can install cookiecutter, then run without uvx:

cookiecutter gh:ucl-arc/python-tooling --checkout latest

cookiecutter will ask you questions to set up your project. Type your answer, or hit return without typing anything to use the defaults.

When finished, it prints some information to the terminal. These are tips for next steps like creating a repository and making a website for your package.

It will have created a directory for your project:

ls -lt --reverse | tail --lines=1  # Show the last directory that was created

You can see the structure with the tree command. In our example we've called our project example-research-software-project:

tree example-research-software-project

To start working on your project:

  1. change directory to your project directory,
  2. initialise a git repository,
  3. and install your new package editable mode.

You probably want to do this in a virtual environment. The comments show how to do this in uv with uv venv:

cd example-research-software-project
git init
# uv venv
# source .venv/bin/activate
uv sync

Need help?

You can ask questions in discussions or in the #helpme channel on UCL's Research Programming Hub Slack.

Contributors

Patrick J. Roddy
Patrick J. Roddy

πŸ€” πŸ› πŸ’» πŸ–‹ πŸ“– πŸ“‹ πŸ“† πŸ’¬ πŸ‘€ πŸ“’ ⚠️
Sam Cunliffe
Sam Cunliffe

πŸ€” πŸ› πŸ’» πŸ–‹ πŸ“– πŸ“‹ πŸ“† πŸ’¬ πŸ‘€ πŸ“’ ⚠️ βœ…
David Stansby
David Stansby

πŸ€” πŸ› πŸ’» πŸ–‹ πŸ“– πŸ“‹ πŸ“† πŸ‘€ ⚠️
Matt Graham
Matt Graham

πŸ› πŸ’» πŸ–‹ πŸ“– 🎨 πŸ“‹ πŸ‘€ πŸ“’ ⚠️ βœ…
sfmig
sfmig

πŸ› πŸ’» πŸ–‹ πŸ‘€ ⚠️
Paul Smith
Paul Smith

πŸ› πŸ’» πŸ–‹ πŸ“– πŸ’¬ πŸ‘€ ⚠️ βœ…
Renovate Bot
Renovate Bot

🚧
ruaridhg
ruaridhg

πŸ› πŸ’» πŸ–‹ πŸ‘€
Miguel Xochicale, PhD
Miguel Xochicale, PhD

πŸ› πŸ’» πŸ–‹ 🎨 πŸ“– πŸ‘€
yidilozdemir
yidilozdemir

πŸ“– ⚠️
Mosè Giordano
Mosè Giordano

πŸ› πŸ“– πŸ‘€
Tom Young
Tom Young

πŸ› πŸ–‹ πŸ‘€
Alessandro Felder
Alessandro Felder

πŸ› πŸ–‹
Adam Tyson
Adam Tyson

πŸ–‹
Will Graham
Will Graham

πŸ–‹ πŸ‘€ πŸ’»
nikk-nikaznan
nikk-nikaznan

πŸ–‹
Katie Buntic
Katie Buntic

πŸ–‹
Robert Vickerstaff
Robert Vickerstaff

πŸ“–
David PΓ©rez-SuΓ‘rez
David PΓ©rez-SuΓ‘rez

πŸ’» πŸ’¬ πŸ›
llapira
llapira

πŸ›
pre-commit.ci
pre-commit.ci

🚧
Saransh Chopra
Saransh Chopra

πŸ“– πŸ–‹ 🚧 πŸ‘€ πŸ“’ βœ… πŸ“‹
Andrew Mitchell
Andrew Mitchell

πŸ›
Kimberly Meechan
Kimberly Meechan

πŸ› ️️️️♿️ πŸ‘€ βœ… πŸ–‹ πŸ“–
James Prime
James Prime

️️️️♿️ πŸ€”
Andrii Tsapko
Andrii Tsapko

️️️️♿️ πŸ’»
James Briant
James Briant

πŸ›
Stella Prins
Stella Prins

πŸ› πŸ“–
Connor Aird
Connor Aird

πŸ‘€

About

Python package template for new research software projects

github-pages.arc.ucl.ac.uk/python-tooling/

Topics

cookiecutterhacktoberfestpythonpython-templatepython-templatespython3research-softwareresearch-software-engineeringucl

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

62 stars

Watchers

15 watching

Forks

10 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.