44
55.. start-badges
66
7- | |build| |release_version| |wheel| |supported_versions| |gh-lic| |commits_since_specific_tag_on_master| |commits_since_latest_github_release|
7+ | |build| |docs| |coverage| |maintainability| |better_code_hub| |tech-debt|
8+ | |release_version| |wheel| |supported_versions| |gh-lic| |commits_since_specific_tag_on_master| |commits_since_latest_github_release|
89
9-
10- |
11- | **Source Code:** https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}
12- | **Pypi Package:** https://pypi.org/project/{{ cookiecutter.pkg_name }}/
1310|
11+ | **Code:** https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}
12+ | **Docs:** https://{{ cookiecutter.repo_name }}.readthedocs.io/en/master/
13+ | **PyPI:** https://pypi.org/project/{{ cookiecutter.pkg_name|replace('_', '-') }}/
14+ | **CI:** https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/actions/
1415
1516
1617Features
1718========
1819
19-
20201. **{{ cookiecutter.pkg_name }} ** `python package `
2121
22- a. TODO **Great Feature **
23- b. TODO **Nice Feature **
22+ a. TODO Document a **Great Feature **
23+ b. TODO Document another **Nice Feature **
24+ 2. Tested against multiple `platforms ` and `python ` versions
25+
26+
27+ Development
28+ -----------
29+ Here are some useful notes related to doing development on this project.
2430
25- 2. **Test Suite ** using `Pytest `
26- 3. **Parallel Execution ** of Unit Tests, on multiple cpu's
27- 4. **Automation **, using `tox `
31+ 1. **Test Suite **, using `pytest `_, located in `tests `_ dir
32+ 2. **Parallel Execution ** of Unit Tests, on multiple cpu's
33+ 3. **Documentation Pages **, hosted on `readthedocs ` server, located in `docs `_ dir
34+ 4. **Automation **, using `tox `_, driven by single `tox.ini `_ file
2835
2936 a. **Code Coverage ** measuring
30- b. **Build Command **, using the `build ` python package
31- c. **Pypi Deploy Command **, supporting upload to both `pypi.org ` and `test.pypi.org ` servers
32- d. **Type Check Command **, using `mypy `
37+ b. **Build Command **, using the `build `_ python package
38+ c. **Pypi Deploy Command **, supporting upload to both `pypi.org `_ and `test.pypi.org `_ servers
39+ d. **Type Check Command **, using `mypy `_
3340 e. **Lint ** *Check * and `Apply ` commands, using `isort `_ and `black `_
34- 5. **CI Pipeline **, running on `Github Actions `
41+ 5. **CI Pipeline **, running on `Github Actions `_, defined in ` .github/ `_
3542
3643 a. **Job Matrix **, spanning different `platform `'s and `python version `'s
3744
@@ -55,7 +62,7 @@ Using `pip` is the approved way for installing `{{ cookiecutter.pkg_name }}`.
5562 python3 -m pip install {{ cookiecutter.pkg_name }}
5663
5764
58- TODO demonstrate a use case
65+ TODO Document a use case
5966
6067
6168License
@@ -72,17 +79,53 @@ License
7279* Free software: GNU Affero General Public License v3.0
7380
7481
75- .. MACROS/ALIASES
7682
77- .. start-badges
83+ .. LINKS
84+
85+ .. _tox : https://tox.wiki/en/latest/
86+
87+ .. _pytest : https://docs.pytest.org/en/7.1.x/
88+
89+ .. _build : https://github.com/pypa/build
90+
91+ .. _pypi.org : https://pypi.org/
92+
93+ .. _test.pypi.org : https://test.pypi.org/
94+
95+ .. _mypy : https://mypy.readthedocs.io/en/stable/
96+
97+ .. _isort : https://pycqa.github.io/isort/
98+
99+ .. _black : https://black.readthedocs.io/en/stable/
100+
101+ .. _Github Actions : https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/actions
78102
79- .. Test Workflow Status on Github Actions for specific branch <branch>
103+ .. _GNU Affero General Public License v3.0 : https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/blob/master/LICENSE
104+
105+
106+ .. BADGE ALIASES
107+
108+ .. Build Status
109+ .. Github Actions: Test Workflow Status for specific branch <branch>
80110
81111 .. |build | image :: https://img.shields.io/github/workflow/status/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/Test%20Python%20Package/master?label=build&logo=github-actions&logoColor=%233392FF
82112 :alt: GitHub Workflow Status (branch)
83113 :target: https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/actions/workflows/test.yaml?query=branch%3Amaster
84114
85- .. above url to workflow runs, filtered by the specified branch
115+
116+ .. Documentation
117+
118+ .. |docs | image :: https://img.shields.io/readthedocs/python-package-generator/master?logo=readthedocs&logoColor=lightblue
119+ :alt: Read the Docs (version)
120+ :target: https://python-package-generator.readthedocs.io/en/master/
121+
122+ .. Code Coverage
123+
124+ .. |coverage | image :: https://img.shields.io/codecov/c/github/boromir674/cookiecutter-python-package/master?logo=codecov
125+ :alt: Codecov
126+ :target: https://app.codecov.io/gh/boromir674/cookiecutter-python-package
127+
128+ ..PyPI
86129
87130.. |release_version | image :: https://img.shields.io/pypi/v/{{ cookiecutter.pkg_name }}
88131 :alt: Production Version
@@ -96,23 +139,40 @@ License
96139 :alt: Supported Python versions
97140 :target: https://pypi.org/project/{{ cookiecutter.pkg_name }}
98141
142+ .. Github Releases & Tags
143+
99144 .. |commits_since_specific_tag_on_master | image :: https://img.shields.io/github/commits-since/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/v{{ cookiecutter.version }}/master?color=blue&logo=github
100145 :alt: GitHub commits since tagged version (branch)
101146 :target: https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/compare/v{{ cookiecutter.version }}..master
102147
103148.. |commits_since_latest_github_release | image :: https://img.shields.io/github/commits-since/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/latest?color=blue&logo=semver&sort=semver
104149 :alt: GitHub commits since latest release (by SemVer)
105150
106- .. Github License (eg AGPL, MIT)
151+ .. LICENSE (eg AGPL, MIT)
152+ .. Github License
153+
107154 .. |gh-lic | image :: https://img.shields.io/github/license/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}
108155 :alt: GitHub
109156 :target: https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/blob/master/LICENSE
110157
111158
112- .. LINKS
159+ .. CODE QUALITY
113160
114- .. _GNU Affero General Public License v3.0 : https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}/blob/master/LICENSE
161+ .. Better Code Hub
162+ .. Software Design Patterns
115163
116- .. _isort : https://pycqa.github.io/isort/
164+ .. |better_code_hub | image :: https://bettercodehub.com/edge/badge/boromir674/cookiecutter-python-package?branch=master
165+ :alt: Better Code Hub
166+ :target: https://bettercodehub.com/
117167
118- .. _black : https://black.readthedocs.io/en/stable/
168+
169+ .. Code Climate CI
170+ .. Code maintainability & Technical Debt
171+
172+ .. |maintainability | image :: https://img.shields.io/codeclimate/maintainability/boromir674/biskotaki
173+ :alt: Code Climate Maintainability
174+ :target: https://codeclimate.com/github/boromir674/cookiecutter-python-package/maintainability
175+
176+ .. |tech-debt | image :: https://img.shields.io/codeclimate/tech-debt/boromir674/cookiecutter-python-package
177+ :alt: Technical Debt
178+ :target: https://codeclimate.com/github/boromir674/cookiecutter-python-package/maintainability
0 commit comments