|
1 | 1 |
|
2 | 2 |
|
3 |
| -# Template for Seedcase Python packages |
| 3 | +# Template Python Package: An opinionated setup for making Python packages |
4 | 4 |
|
5 |
| -This repository contains a template for setting up new Python package |
6 |
| -projects in Seedcase. The first step is to create a new repository using |
7 |
| -this template. This can easily be done by clicking the “Use this |
8 |
| -template” button on the repository page or by using the GitHub CLI: |
| 5 | +<!-- [![DOI]()]() --> |
9 | 6 |
|
10 |
| -``` bash |
11 |
| -# NAME is the name to give the new repository |
12 |
| -gh repo create NAME --template seedcase-project/template-python-project |
13 |
| -``` |
| 7 | +[](https://github.com/copier-org/copier) |
| 8 | +[](https://github.com/seedcase-project/template-python-package/blob/main/LICENSE.md) |
| 10 | +[](https://github.com/seedcase-project/template-python-package/releases/latest) |
| 12 | +[](https://github.com/seedcase-project/template-python-package/actions/workflows/build-website.yml) |
| 14 | +[](https://github.com/seedcase-project/template-python-package/actions/workflows/github-code-scanning/codeql) |
| 15 | +[](https://results.pre-commit.ci/latest/github/seedcase-project/template-python-package/main) |
| 17 | +[](https://lifecycle.r-lib.org/articles/stages.html#experimental) |
| 18 | +[](https://www.repostatus.org/#active) |
14 | 21 |
|
15 |
| -## Setting things up after cloning |
| 22 | +This repository contains a [copier](https://copier.readthedocs.io/) |
| 23 | +template for setting up a new repository for a Python package. Along |
| 24 | +with a structured directory layout, this template includes configured |
| 25 | +development tools, CI configuration, and supporting files for package |
| 26 | +setup, publishing, and maintenance. |
16 | 27 |
|
17 |
| -Search for `NAME` and `REPO` and replace them with the name of your |
18 |
| -project and the repository name. Then look for any `TODO` items. |
| 28 | +Check out our |
| 29 | +[website](https://template-python-package.seedcase-project.org/) for |
| 30 | +more information, such as the features it provides and a |
| 31 | +[guide](https://template-python-package.seedcase-project.org/docs/guide/) |
| 32 | +to using the template. For a list of changes, see our |
| 33 | +[changelog](https://template-python-package.seedcase-project.org/docs/releases/) |
| 34 | +page. |
19 | 35 |
|
20 |
| -## Setting things up |
| 36 | +## Contributing |
21 | 37 |
|
22 |
| -Use the commands found in |
23 |
| -[`spaid`](https://github.com/seedcase-project/spaid) repo to run the |
24 |
| -next setup steps. |
| 38 | +Check out our [contributing |
| 39 | +page](https://template-python-package.seedcase-project.org/contributing/) |
| 40 | +for information on how to contribute to the project, including how to |
| 41 | +set up your development environment. |
25 | 42 |
|
26 |
| -Need to install these packages after: |
| 43 | +Please note that this project is released with a [Contributor Code of |
| 44 | +Conduct](https://github.com/seedcase-project/.github/blob/main/CODE_OF_CONDUCT.md). |
| 45 | +By participating in this project you agree to abide by its terms. |
27 | 46 |
|
28 |
| -``` bash |
29 |
| -uv add --dev pre-commit ruff typos pytest bandit commitizen \ |
30 |
| - genbadge jupyter pytest-cov quartodoc |
31 |
| -``` |
| 47 | +## Licensing |
| 48 | + |
| 49 | +This project is licensed under the [MIT |
| 50 | +License](https://github.com/seedcase-project/template-python-package/blob/main/LICENSE.md). |
| 51 | + |
| 52 | +## Citing |
| 53 | + |
| 54 | +This project is part of the Seedcase Project, which is a collaborative |
| 55 | +effort to create a framework for data management and analysis in |
| 56 | +research. If you use this project in your work, please cite it as |
| 57 | +follows: |
| 58 | + |
| 59 | +Johnston L.W., Brødbæk S.K., Beicher K., Vago M. Template Python |
| 60 | +Package: An opinionated setup for making Python packages URL: |
| 61 | +https://template-python-package.seedcase-project.org |
| 62 | + |
| 63 | +Or as a BibTeX entry: |
| 64 | + |
| 65 | + @misc{YourReferenceHere, |
| 66 | + author = {Johnston, Luke William and Brødbæk, Signe Kirk and Beicher, Kristiane and Vago, Marton}, |
| 67 | + title = {Template Python Package: An opinionated setup for making Python packages}, |
| 68 | + url = {https://template-python-package.seedcase-project.org} |
| 69 | + } |
0 commit comments