Template repo for a new python project, using poetry for dependency management and snakemake for workflow management.
Steps:
- Clone this repo to your local work station
- In pyproject.toml, change name, description, homepage, and repository
- Rename 'new_project' directory to the new package name
- Change the docstring in new_project/__init__.py
- Change all occurences of 'new_project' in .github/workflows/main.yml to the new project name
- Go to codecov.io, add this repo, then click setting->badge and copy the markdown code for the badge. Paste that above.
- Also change the build badge link above so that 'new-project' is the name of this repo
- You can then install this package by running
poetry install
in the root directory - If you want to add a Jupyter kernel run the following:
poetry run python -m ipykernel install --user --name kernel-name
Note many of the directories in this repo are filled with place-holder files to make sure that git copies all the directories. You may want to delete many of these and their corresponding directories.