Skip to content

Project-OMOTES/template-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PythonTemplate

This is an example of a python package / collection of scripts for Nieuwe Warmte Nu teams. Use this as a template for starting your project.

Copying this template

The template is build using cookiecutter. This is a commandline utility which can initialize a template using a list of input variables. To copy this template:

pip install cookiecutter
cookiecutter https://github.com/Nieuwe-Warmte-Nu/template-python

Running this command it will ask a number of questions such as the name and e-mail of the main maintainer as well as the project name. After completing the survey, the repo is initialized locally and ready to be committed to Github.

First, create the Github repository. Then run the following locally:

cd <whatever your repo is called>
git init
git remote add origin git@github.com:Nieuwe-Warmte-Nu/<your repo name>.git  # Github will show this URL in your repo.
git add .
git commit -m "Initial commit."
git push origin main

Your repository should now be ready.