Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
---
github: [vkottler]
patreon: vkottler
custom: ["https://www.buymeacoffee.com/vkottler"]
github: [libre-embedded]
2 changes: 1 addition & 1 deletion .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
system:
- macos-latest
- windows-latest
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Vaughn Kottler
Copyright (c) 2025 Libre Embedded

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!--
=====================================
generator=datazen
version=3.1.4
hash=ef9ccb0067eda7c7e9ec642305fbd978
version=3.2.1
hash=95ed0566e72beb345013babd63cfa8a0
=====================================
-->

# python-package-template

![Build Status](https://github.com/vkottler/python-package-template/workflows/Build%20Template/badge.svg)
![Build Status](https://github.com/libre-embedded/python-package-template/workflows/Build%20Template/badge.svg)

*This is a template intended to be used with
[Cookiecutter](https://github.com/cookiecutter/cookiecutter).*
Expand All @@ -18,14 +18,14 @@
Invoke `cookiecutter` and fill out information about your project:

```
cookiecutter git@github.com:vkottler/python-package-template.git
cookiecutter git@github.com:libre-embedded/python-package-template.git
```

Example output (interactive):

```
name [Vaughn Kottler]: <Your Name>
email [vaughnkottler@gmail.com]: <your@email.com>
name [Libre Embedded]: <Your Name>
email [vaughn@libre-embedded.com]: <your@email.com>
...
```

Expand All @@ -39,8 +39,8 @@ This template is tested on the following platforms:

and Python versions:

* `python3.11`
* `python3.12`
* `python3.13`

## Structure

Expand All @@ -49,11 +49,11 @@ The resulting template is a [git](https://git-scm.com/) repository with a
[submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules).

Once the base template is generated,
[datazen](https://github.com/vkottler/datazen) runs because this package uses
[datazen](https://github.com/libre-embedded/datazen) runs because this package uses
it for many useful code generation and other static file generation tasks.

The package is then linted, statically analyzed, tested and built into
a distribution using [vmklib](https://github.com/vkottler/vmklib). These are
a distribution using [vmklib](https://github.com/libre-embedded/vmklib). These are
the core tasks that will be performed regularly during the package's
life-cycle, so their initial success demonstrates that the package is already
in a clean state and doesn't require additional boilerplate or setup. Simply
Expand Down
2 changes: 1 addition & 1 deletion config
Submodule config updated 42 files
+1 −1 funding/configs/funding.yaml
+0 −2 funding/templates/FUNDING.yml.j2
+1 −1 license/configs/license.yaml
+2 −2 python/configs/package.yaml
+0 −104 python/mklocal/conntextual/__init__.py
+0 −60 python/mklocal/docs/__init__.py
+0 −72 python/mklocal/docs/templates/conf.py_t
+0 −129 python/mklocal/edit.py
+0 −48 python/mklocal/env.py
+0 −105 python/mklocal/prompts.py
+45 −35 python/mklocal/python.py
+0 −40 python/mklocal/runtimepy/__init__.py
+7 −5 python/mklocal/yambs/__init__.py
+3 −3 python/mklocal/yambs/base.py
+0 −72 python/mklocal/yambs/common.py
+2 −1 python/mklocal/yambs/coverage.py
+0 −25 python/mklocal/yambs/gcov.py
+0 −107 python/mklocal/yambs/jlink/__init__.py
+0 −51 python/mklocal/yambs/jlink/gdbserver.py
+2 −2 python/mklocal/yambs/pico.py
+1 −3 python/mklocal/yambs/test.py
+7 −4 python/mklocal/yambs/toolchains.py
+0 −27 python/mklocal/yambs/udev.py
+3 −3 python/templates/pyproject.toml.j2
+7 −4 python/templates/python-package.yml.j2
+1 −8 python/templates/python_readme_header.md.j2
+4 −3 python/userfs/hooks/alacritty_hooks.py
+3 −3 python/userfs/hooks/ansible_hooks.py
+4 −3 python/userfs/hooks/crosstool_ng_hooks.py
+4 −3 python/userfs/hooks/ctags_hooks.py
+4 −3 python/userfs/hooks/dtc_hooks.py
+0 −38 python/userfs/hooks/hooks_common.py
+4 −3 python/userfs/hooks/kicad_hooks.py
+4 −3 python/userfs/hooks/lcov_hooks.py
+3 −3 python/userfs/hooks/octo_print_hooks.py
+4 −4 python/userfs/hooks/picamera2_hooks.py
+3 −3 python/userfs/hooks/uf2_hooks.py
+0 −2 python/yambs/configs/project.yaml
+35 −8 python/yambs/pico-sdk.yaml
+3 −3 python/yambs/templates/README.md.j2
+11 −5 python/yambs/templates/yambs-project.yml.j2
+1 −1 python/yambs/templates/yambs_constants.j2
2 changes: 1 addition & 1 deletion local/configs/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
python_versions: ["3.11", "3.12"]
python_versions: ["3.12", "3.13"]

systems:
- macos-latest
Expand Down
2 changes: 1 addition & 1 deletion local/configs/license.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
name: "Vaughn Kottler"
name: Libre Embedded
12 changes: 6 additions & 6 deletions local/templates/README.md.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# python-package-template

![Build Status](https://github.com/vkottler/python-package-template/workflows/Build%20Template/badge.svg)
![Build Status](https://github.com/libre-embedded/python-package-template/workflows/Build%20Template/badge.svg)

*This is a template intended to be used with
[Cookiecutter](https://github.com/cookiecutter/cookiecutter).*
Expand All @@ -10,14 +10,14 @@
Invoke `cookiecutter` and fill out information about your project:

```
cookiecutter git@github.com:vkottler/python-package-template.git
cookiecutter git@github.com:libre-embedded/python-package-template.git
```

Example output (interactive):

```
name [Vaughn Kottler]: <Your Name>
email [vaughnkottler@gmail.com]: <your@email.com>
name [Libre Embedded]: <Your Name>
email [vaughn@libre-embedded.com]: <your@email.com>
...
```

Expand All @@ -42,11 +42,11 @@ The resulting template is a [git](https://git-scm.com/) repository with a
[submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules).

Once the base template is generated,
[datazen](https://github.com/vkottler/datazen) runs because this package uses
[datazen](https://github.com/libre-embedded/datazen) runs because this package uses
it for many useful code generation and other static file generation tasks.

The package is then linted, statically analyzed, tested and built into
a distribution using [vmklib](https://github.com/vkottler/vmklib). These are
a distribution using [vmklib](https://github.com/libre-embedded/vmklib). These are
the core tasks that will be performed regularly during the package's
life-cycle, so their initial success demonstrates that the package is already
in a clean state and doesn't require additional boilerplate or setup. Simply
Expand Down