adamgayoso / cookiecutter-scverse

Cookiecutter template for scverse

Home Page:https://cookiecutter-scverse-instance.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scverse Cookiecutter Template

Test

The purpose of this template is to get you started quickly building a best-practice python library for a scverse ecosystem package. Ecosystem packages are independent software libraries that interact with scverse core packages and depend on anndata and mudata data structures.

Please check out the

that are automatically generated and kept in sync with this template.

Features

  • automated testing with pytest
  • continuous integration using GitHub actions.
  • documentation hosted by readthedocs
  • coverage tests with codecov
  • pre-commit checks for code style and consistency
  • tutorials with nbsphinx and jupyter notebooks
  • issue templates for better bug reports and feature requests
  • bump2version for managing releases

Getting started

In this section we will show you how to set-up your own repository from this template and how to customize it for your needs.

Install dependencies

You need git >=2.28 and python >=3.8. In addition you need to install the following Python dependencies:

pip install cookiecutter pre-commit

Create the project

Now create the project and follow the prompts:

cookiecutter https://github.com/scverse/cookiecutter-scverse

This will create a git repository generated from the template. Now cd into the newly created directory and make the initial commit! Don't forget to create a repository on GitHub and upload your project.

Set up online services

Your repository is now ready. However, to use all features of the template you will need to set up the following online services. Clicking on the links will take you to the respective sections of the developer documentation. The developer documentation is also shipped as part of the template in docs/developer_docs.md.

  1. pre-commit.ci to check for inconsistencies and to enforce a code style
  2. readthedocs.org to build and host documentation
  3. codecov to generate test coverage reports

All CI checks should pass, you are ready to start developing your new tool!

Customizations

Further instructions on using this template can be found in the contributing guide included in the project.

Committment

We expect developers of scverse ecosystem packages to

About

Cookiecutter template for scverse

https://cookiecutter-scverse-instance.readthedocs.io/en/latest/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 53.2%Language:Jupyter Notebook 16.5%Language:TeX 11.8%Language:Batchfile 8.9%Language:Makefile 7.4%Language:Shell 2.2%