An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# Just-based Copier template for Python
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-border.json)](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
```