Skip to content

DHI-GRAS/template-python-library

This branch is 5 commits ahead of, 26 commits behind DHI/template-python-library:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9c7fdcf Â· Aug 16, 2023

History

14 Commits
Aug 16, 2023
Oct 5, 2022
Aug 16, 2023
Sep 9, 2021
Sep 9, 2021
Sep 9, 2021
Aug 16, 2023
Sep 9, 2021
Aug 16, 2023
Sep 9, 2021
Aug 16, 2023
Oct 5, 2022
Aug 16, 2023
Aug 16, 2023

Repository files navigation

my_library: Template Python repository

This repository serves as a template for creating a Python library

How do I use this?

  1. Create a new repository in GitHub with this repo as a starting point

  2. Change all occurences of my_library to match the name of your new library

  3. Consider if the license should be modified.

Devcontainer setup

The devcontainer.json specification provided in the .devcontainer folder provides a reference environment for development and testing. The dev container needs to be installed in order to use the setup. The devcontainer is based on the repo-wide Dockerfile provided, but a devcontainer specific Dockerfile can also be created if the development and productions needs diverge. If development of the library requires multiple services, consider using a docker-compose based devcontainer setup.

Ruff configuration

Ruff is the linter of choice, and the default provided setup is currently used. For configuration of Ruff for specific project needs directly in the pyproject.toml, see here.

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 57.0%
  • Python 43.0%