https://github.com/makukha/copier-python
Python Copier template and Just modules
https://github.com/makukha/copier-python
copier-template just python
Last synced: 3 months ago
JSON representation
Python Copier template and Just modules
- Host: GitHub
- URL: https://github.com/makukha/copier-python
- Owner: makukha
- License: mit
- Created: 2025-02-24T12:57:02.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-03T01:09:12.000Z (3 months ago)
- Last Synced: 2025-03-03T02:22:10.609Z (3 months ago)
- Topics: copier-template, just, python
- Language: Jinja
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md.j2
- License: LICENSE
Awesome Lists containing this project
README
# Just-based Copier template for Python
[](https://github.com/copier-org/copier)## Usage
### Install
```shell
uv tool install --with jinja2-shell-extension --with jinja2-time copier
```### Seed new project
```shell
uvx copier copy --trust --vcs-ref main gh:makukha/copier-python .
just init
just pre-merge
```### Test template locally
```shell
uvx copier copy --trust --vcs-ref $(git rev-parse --abbrev-ref HEAD) . .tmp
cd .tmp
just init
just sync
just pre-merge
```Update local testing instance:
```shell
uvx copier copy --trust --vcs-ref $(git rev-parse --abbrev-ref HEAD) --data-file .tmp/.copier-answers.yml --overwrite . .tmp
```