templatepy 0.2.3__tar.gz → 0.2.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {templatepy-0.2.3 → templatepy-0.2.6}/.bumpversion.cfg +1 -1
- {templatepy-0.2.3 → templatepy-0.2.6}/PKG-INFO +24 -6
- {templatepy-0.2.3 → templatepy-0.2.6}/README.md +21 -4
- {templatepy-0.2.3 → templatepy-0.2.6}/pyproject.toml +3 -2
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy/__init__.py +1 -1
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy.egg-info/PKG-INFO +24 -6
- {templatepy-0.2.3 → templatepy-0.2.6}/.gitignore +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/.pre-commit-config.yaml +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/.secrets.baseline +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/CODE_OF_CONDUCT.md +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/CONTRIBUTING.md +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/LICENSE +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/MANIFEST.in +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/setup.cfg +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/setup.py +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy/example.data.file.config +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy/example.data.file.test-extension-yu48 +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy.egg-info/SOURCES.txt +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy.egg-info/dependency_links.txt +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy.egg-info/entry_points.txt +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy.egg-info/not-zip-safe +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy.egg-info/requires.txt +0 -0
- {templatepy-0.2.3 → templatepy-0.2.6}/templatepy.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: templatepy
|
|
3
|
-
Version: 0.2.
|
|
4
|
-
Summary: templatepy:
|
|
3
|
+
Version: 0.2.6
|
|
4
|
+
Summary: templatepy: Template repo for python repositories & PyPi integration
|
|
5
5
|
Author-email: "Lars B. Rollik" <L.B.Rollik@protonmail.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
7
7
|
|
|
@@ -38,6 +38,7 @@ Project-URL: Issue Tracker, https://github.com/larsrollik/templatepy/issues
|
|
|
38
38
|
Classifier: Intended Audience :: Developers
|
|
39
39
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
40
40
|
Classifier: License :: OSI Approved :: BSD License
|
|
41
|
+
Classifier: Operating System :: OS Independent
|
|
41
42
|
Classifier: Programming Language :: Python
|
|
42
43
|
Classifier: Programming Language :: Python :: 3
|
|
43
44
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -91,7 +92,7 @@ Requires-Dist: toml; extra == "dev"
|
|
|
91
92
|
# templatepy
|
|
92
93
|
Template repo for python repositories & PyPi integration
|
|
93
94
|
---
|
|
94
|
-
**Version: "0.2.
|
|
95
|
+
**Version: "0.2.6"**
|
|
95
96
|
|
|
96
97
|
|
|
97
98
|
## Usage
|
|
@@ -264,7 +265,6 @@ The package will then be automatically uploaded to [PyPI](https://pypi.org/) or
|
|
|
264
265
|
|
|
265
266
|
## Github Flow overview
|
|
266
267
|
|
|
267
|
-
|
|
268
268
|
1) Create a new feature branch from main using git checkout -b.
|
|
269
269
|
2) Make and commit a dummy change (e.g., adding a file).
|
|
270
270
|
3) Use bumpversion to bump the version (you can adjust patch, minor, or major based on what change you want), and create a release tag.
|
|
@@ -272,6 +272,7 @@ The package will then be automatically uploaded to [PyPI](https://pypi.org/) or
|
|
|
272
272
|
5) Open a pull request using GitHub CLI (gh pr create) or the GitHub UI to merge the feature branch into main.
|
|
273
273
|
6) After the PR is merged, delete the feature branch both locally and remotely.
|
|
274
274
|
|
|
275
|
+
|
|
275
276
|
### Example commands for the workflow:
|
|
276
277
|
|
|
277
278
|
```bash
|
|
@@ -295,7 +296,11 @@ git push origin --tags # Push the new tag(s) created by bumpversion
|
|
|
295
296
|
|
|
296
297
|
# 5. Open a pull request from the feature branch to the main branch
|
|
297
298
|
# This can be done via GitHub UI, or using GitHub CLI
|
|
298
|
-
gh pr create
|
|
299
|
+
gh pr create \
|
|
300
|
+
--base main \
|
|
301
|
+
--head feature/my-new-feature \
|
|
302
|
+
--title "pr_title" \
|
|
303
|
+
--body "pr_body"
|
|
299
304
|
|
|
300
305
|
# 6. After the PR is accepted and merged, delete the feature branch locally and remotely
|
|
301
306
|
git checkout main # Switch back to main branch
|
|
@@ -331,6 +336,19 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
331
336
|
- [PEP-518](https://peps.python.org/pep-0518/)
|
|
332
337
|
- [Discussion on Setup.cfg Deprecation](https://stackoverflow.com/questions/44878600/is-setup-cfg-deprecated)
|
|
333
338
|
|
|
339
|
+
#### Using GitHub CLI in Workflow Actions
|
|
340
|
+
|
|
341
|
+
Easily integrate GitHub CLI into workflows to perform repository tasks. See the [GitHub CLI in workflows documentation](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows).
|
|
342
|
+
|
|
343
|
+
**Example: Create a pull request**
|
|
344
|
+
|
|
345
|
+
```yaml
|
|
346
|
+
- name: Create a pull request
|
|
347
|
+
run: gh pr create --title "My pull request" --body "This is an amazing PR" --label bug
|
|
348
|
+
env:
|
|
349
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
350
|
+
```
|
|
351
|
+
|
|
334
352
|
|
|
335
353
|
## Common issues
|
|
336
354
|
|
|
@@ -352,7 +370,7 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
352
370
|
|
|
353
371
|
Which one is the key id you might ask?
|
|
354
372
|
```
|
|
355
|
-
/home
|
|
373
|
+
/home/$USER/.gnupg/secring.gpg
|
|
356
374
|
------------------------------
|
|
357
375
|
sec 4096R/<KEY_ID> 2024-11-22 [expires: 2025-11-22]
|
|
358
376
|
uid Your Name <youremail@example.com>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
# templatepy
|
|
36
36
|
Template repo for python repositories & PyPi integration
|
|
37
37
|
---
|
|
38
|
-
**Version: "0.2.
|
|
38
|
+
**Version: "0.2.6"**
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
## Usage
|
|
@@ -208,7 +208,6 @@ The package will then be automatically uploaded to [PyPI](https://pypi.org/) or
|
|
|
208
208
|
|
|
209
209
|
## Github Flow overview
|
|
210
210
|
|
|
211
|
-
|
|
212
211
|
1) Create a new feature branch from main using git checkout -b.
|
|
213
212
|
2) Make and commit a dummy change (e.g., adding a file).
|
|
214
213
|
3) Use bumpversion to bump the version (you can adjust patch, minor, or major based on what change you want), and create a release tag.
|
|
@@ -216,6 +215,7 @@ The package will then be automatically uploaded to [PyPI](https://pypi.org/) or
|
|
|
216
215
|
5) Open a pull request using GitHub CLI (gh pr create) or the GitHub UI to merge the feature branch into main.
|
|
217
216
|
6) After the PR is merged, delete the feature branch both locally and remotely.
|
|
218
217
|
|
|
218
|
+
|
|
219
219
|
### Example commands for the workflow:
|
|
220
220
|
|
|
221
221
|
```bash
|
|
@@ -239,7 +239,11 @@ git push origin --tags # Push the new tag(s) created by bumpversion
|
|
|
239
239
|
|
|
240
240
|
# 5. Open a pull request from the feature branch to the main branch
|
|
241
241
|
# This can be done via GitHub UI, or using GitHub CLI
|
|
242
|
-
gh pr create
|
|
242
|
+
gh pr create \
|
|
243
|
+
--base main \
|
|
244
|
+
--head feature/my-new-feature \
|
|
245
|
+
--title "pr_title" \
|
|
246
|
+
--body "pr_body"
|
|
243
247
|
|
|
244
248
|
# 6. After the PR is accepted and merged, delete the feature branch locally and remotely
|
|
245
249
|
git checkout main # Switch back to main branch
|
|
@@ -275,6 +279,19 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
275
279
|
- [PEP-518](https://peps.python.org/pep-0518/)
|
|
276
280
|
- [Discussion on Setup.cfg Deprecation](https://stackoverflow.com/questions/44878600/is-setup-cfg-deprecated)
|
|
277
281
|
|
|
282
|
+
#### Using GitHub CLI in Workflow Actions
|
|
283
|
+
|
|
284
|
+
Easily integrate GitHub CLI into workflows to perform repository tasks. See the [GitHub CLI in workflows documentation](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows).
|
|
285
|
+
|
|
286
|
+
**Example: Create a pull request**
|
|
287
|
+
|
|
288
|
+
```yaml
|
|
289
|
+
- name: Create a pull request
|
|
290
|
+
run: gh pr create --title "My pull request" --body "This is an amazing PR" --label bug
|
|
291
|
+
env:
|
|
292
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
293
|
+
```
|
|
294
|
+
|
|
278
295
|
|
|
279
296
|
## Common issues
|
|
280
297
|
|
|
@@ -296,7 +313,7 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
296
313
|
|
|
297
314
|
Which one is the key id you might ask?
|
|
298
315
|
```
|
|
299
|
-
/home
|
|
316
|
+
/home/$USER/.gnupg/secring.gpg
|
|
300
317
|
------------------------------
|
|
301
318
|
sec 4096R/<KEY_ID> 2024-11-22 [expires: 2025-11-22]
|
|
302
319
|
uid Your Name <youremail@example.com>
|
|
@@ -4,17 +4,18 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "templatepy"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.6"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name = "Lars B. Rollik", email = "L.B.Rollik@protonmail.com" }
|
|
10
10
|
]
|
|
11
11
|
license = { file = "LICENSE" }
|
|
12
|
-
description = "templatepy:
|
|
12
|
+
description = "templatepy: Template repo for python repositories & PyPi integration"
|
|
13
13
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
14
14
|
classifiers = [
|
|
15
15
|
"Intended Audience :: Developers",
|
|
16
16
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
17
17
|
"License :: OSI Approved :: BSD License",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
18
19
|
"Programming Language :: Python",
|
|
19
20
|
"Programming Language :: Python :: 3",
|
|
20
21
|
"Programming Language :: Python :: 3.10",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: templatepy
|
|
3
|
-
Version: 0.2.
|
|
4
|
-
Summary: templatepy:
|
|
3
|
+
Version: 0.2.6
|
|
4
|
+
Summary: templatepy: Template repo for python repositories & PyPi integration
|
|
5
5
|
Author-email: "Lars B. Rollik" <L.B.Rollik@protonmail.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
7
7
|
|
|
@@ -38,6 +38,7 @@ Project-URL: Issue Tracker, https://github.com/larsrollik/templatepy/issues
|
|
|
38
38
|
Classifier: Intended Audience :: Developers
|
|
39
39
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
40
40
|
Classifier: License :: OSI Approved :: BSD License
|
|
41
|
+
Classifier: Operating System :: OS Independent
|
|
41
42
|
Classifier: Programming Language :: Python
|
|
42
43
|
Classifier: Programming Language :: Python :: 3
|
|
43
44
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -91,7 +92,7 @@ Requires-Dist: toml; extra == "dev"
|
|
|
91
92
|
# templatepy
|
|
92
93
|
Template repo for python repositories & PyPi integration
|
|
93
94
|
---
|
|
94
|
-
**Version: "0.2.
|
|
95
|
+
**Version: "0.2.6"**
|
|
95
96
|
|
|
96
97
|
|
|
97
98
|
## Usage
|
|
@@ -264,7 +265,6 @@ The package will then be automatically uploaded to [PyPI](https://pypi.org/) or
|
|
|
264
265
|
|
|
265
266
|
## Github Flow overview
|
|
266
267
|
|
|
267
|
-
|
|
268
268
|
1) Create a new feature branch from main using git checkout -b.
|
|
269
269
|
2) Make and commit a dummy change (e.g., adding a file).
|
|
270
270
|
3) Use bumpversion to bump the version (you can adjust patch, minor, or major based on what change you want), and create a release tag.
|
|
@@ -272,6 +272,7 @@ The package will then be automatically uploaded to [PyPI](https://pypi.org/) or
|
|
|
272
272
|
5) Open a pull request using GitHub CLI (gh pr create) or the GitHub UI to merge the feature branch into main.
|
|
273
273
|
6) After the PR is merged, delete the feature branch both locally and remotely.
|
|
274
274
|
|
|
275
|
+
|
|
275
276
|
### Example commands for the workflow:
|
|
276
277
|
|
|
277
278
|
```bash
|
|
@@ -295,7 +296,11 @@ git push origin --tags # Push the new tag(s) created by bumpversion
|
|
|
295
296
|
|
|
296
297
|
# 5. Open a pull request from the feature branch to the main branch
|
|
297
298
|
# This can be done via GitHub UI, or using GitHub CLI
|
|
298
|
-
gh pr create
|
|
299
|
+
gh pr create \
|
|
300
|
+
--base main \
|
|
301
|
+
--head feature/my-new-feature \
|
|
302
|
+
--title "pr_title" \
|
|
303
|
+
--body "pr_body"
|
|
299
304
|
|
|
300
305
|
# 6. After the PR is accepted and merged, delete the feature branch locally and remotely
|
|
301
306
|
git checkout main # Switch back to main branch
|
|
@@ -331,6 +336,19 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
331
336
|
- [PEP-518](https://peps.python.org/pep-0518/)
|
|
332
337
|
- [Discussion on Setup.cfg Deprecation](https://stackoverflow.com/questions/44878600/is-setup-cfg-deprecated)
|
|
333
338
|
|
|
339
|
+
#### Using GitHub CLI in Workflow Actions
|
|
340
|
+
|
|
341
|
+
Easily integrate GitHub CLI into workflows to perform repository tasks. See the [GitHub CLI in workflows documentation](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-github-cli-in-workflows).
|
|
342
|
+
|
|
343
|
+
**Example: Create a pull request**
|
|
344
|
+
|
|
345
|
+
```yaml
|
|
346
|
+
- name: Create a pull request
|
|
347
|
+
run: gh pr create --title "My pull request" --body "This is an amazing PR" --label bug
|
|
348
|
+
env:
|
|
349
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
350
|
+
```
|
|
351
|
+
|
|
334
352
|
|
|
335
353
|
## Common issues
|
|
336
354
|
|
|
@@ -352,7 +370,7 @@ For further reading on the transition to `pyproject.toml` and the removal of `se
|
|
|
352
370
|
|
|
353
371
|
Which one is the key id you might ask?
|
|
354
372
|
```
|
|
355
|
-
/home
|
|
373
|
+
/home/$USER/.gnupg/secring.gpg
|
|
356
374
|
------------------------------
|
|
357
375
|
sec 4096R/<KEY_ID> 2024-11-22 [expires: 2025-11-22]
|
|
358
376
|
uid Your Name <youremail@example.com>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|