Skip to content

snakeframe

A cookiecutter template for accessible, reproducible Python packages

Documentation

Black style License License License

TL;DR

All you need is cookiecutter.

cookiecutter gl:oasci/snakeframe

Features

In this cookiecutter 🍪 template we combine state-of-the-art libraries and best development practices for Python.

Development

Deployment

Community

  • Pull Request and several Issue templates.
  • Files such as: LICENSE, CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md are generated automatically.
  • Stale action that closes abandoned issues after a period of inactivity.
  • Sphinx documentation automatically built with deploy-docs.yml. You just need to activate pages and set source to GitHub Actions.

Deploying

A note to maintainers.

We use bump-my-version to release a new version. This will create a git tag that is used by poetry-dynamic-version to generate version strings and update CHANGELOG.md.

For example, to bump the minor version you would run the following command.

poetry run bump-my-version bump minor

After releasing a new version, you need to push and include all tags.

git push --follow-tags

License

Code contained in this project is released under the MIT License as specified in LICENSE.md. This license grants you the freedom to use, modify, and distribute it as long as you include the original copyright notice contained in LICENSE.md and the following disclaimer.

Portions of this code were incorporated and adapted with permission from snakeframe by OASCI under the MIT License.