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 - goord/python-template: Netherlands eScience Center Python Template

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

71 Commits
71 Commits

Folders and files

NameName
Last commit message
Last commit date
{{cookiecutter.project_slug}}
{{cookiecutter.project_slug}}
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
cookiecutter.json
cookiecutter.json
 
 

Repository files navigation

Netherlands eScience Center Python Template

DOI

Spend less time setting up and configuring your new Python packages and comply with the Netherlands eScience Center Software Development Guide from the start.

Use this Cookiecutter template to generate an empty Python package set up with documentation and testing. The project setup is documented extensively in the README.

How to use

We recommend developing your software in an isolated Python environment. You can use virtualenv + pip or conda.

For example, to create a virtual environment with Python 3, do:

$ virtualenv -p python3 env
$ . env/bin/activate

To do the same using conda, type:

$ conda create -n env python=3.4
$ source activate env

(On windows use activate env to activate the conda environment.)

If you don't have cookiecutter installed yet, install it with

pip install cookiecutter

If you use conda, you can also type:

conda install -c conda-forge cookiecutter

To generate the files and directory structure for a new Python project, type:

cookiecutter https://github.com/nlesc/python-template.git

You will be asked to supply the following information about your project:

Name Default value Explanation
full_name Your full name, e.g. 'John Smith'.
email [email protected] Your (work) email address
code_of_conduct_email [email protected] Email address of the person who should be contacted in case of violations of the Code of Conduct.
copyright_holder Name(s) of the organization(s) or person(s) who hold the copyright of the software (e.g., Netherlands eScience Center).
github_organization GitHub organization that will contain this project's repository. This can also be your github user name.
project_name My Python Project Full project/package name.
project_slug my_python_project This will be the name of the directory to be created and the git repository.
project_short_description The information that you enter here will end up in the README, documentation, license, and setup.py, so it may be a good idea to prepare something in advance.
version 0.1.0
open_source_license Apache 2.0 (1) The software license under which the code is made available.
apidoc no (1) Add support for automatically generating a module index from the docstrings in your Python package (look at the scriptcwl package for an example).

How to contribute

Suggestions/improvements/edits are most welcome. Please read the contribution guidelines before creating an issue or a pull request.

About

Netherlands eScience Center Python Template

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — 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.