Skip to content

structuredscience/ModuleTemplate

Repository files navigation

Module Template

A template for a repository that contains a Python module.

Overview

As well as the template structure, this repository contains some notes, resources, and standards for developing and structuring Python modules.

This template assumes that sphinx is being used for documentation.

Other Resources

The following are other available resources for developing a Python module:

Repository Structure

The folders in this template are organized as follows:

  • doc: configuration and content files for making the documentation website
  • modcode: the source code of the module (renamed to reflect the module name)
  • examples and/or tutorials: examples and tutorials for using the module

Individual files have notes within them detailing what they are for.

README Outline

The repository should include a descriptive README in the base folder.

Suggested sections in the README are as follows:

Overview

A brief description of the project.

This can / should include a list of the sub-modules.

Documentation

Links to and brief descriptions of the available documentation.

This can / should include a list of the available pages on the documentation website.

Dependencies

Notes on the requirements for installing and using this module.

This should include programming language, major version required, and a list of dependencies.

Installation

Notes and instructions on installing the module.

Reference

Links to the reference for the project, such as a preprint or paper.

Contribute

Notes on how to interact with and potentially contribute to the project.

This section should link to the CONTRIBUTING page, and note the CODE_OF_CONDUCT.

About

Template structure and resources for structure Python modules.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published