11---
2- hide :
3- - toc
2+ icon : lucide/house
43---
54
65# modern-python
@@ -16,32 +15,55 @@ hide:
1615
1716[ Copier] ( https://copier.readthedocs.io/ ) template for modern Python packages.
1817
19- This Copier template requires:
18+ !!! note "Prerequisites"
2019
21- - [ Git] ( https://git-scm.com/ ) version 2.
22- - [ Python] ( https://www.python.org/ ) 3.9 or more.
23- - [ Copier] ( https://copier.readthedocs.io/ ) version 9.6 or more.
24- - [ Copier Template-Extensions] ( https://github.com/copier-org/copier-template-extensions ) version 0.3.2 or more.
20+ This Copier template requires:
2521
26- To install Git, [ download and install it from the official website] ( https://git-scm.com/downloads ) .
22+ - [Git](https://git-scm.com/) version 2.
23+ - [Python](https://www.python.org/) 3.9 or more.
24+ - [Copier](https://copier.readthedocs.io/) version 9.6 or more.
25+ - [Copier Template-Extensions](https://github.com/copier-org/copier-template-extensions) version 0.3.2 or more.
2726
28- To install Python, [ download and install it from the official website] ( https://www.python.org/downloads/ ) ,
29- or [ install uv] ( https://docs.astral.sh/uv/getting-started/installation/ ) to install it.
27+ To install Git, [download and install it from git-scm.com](https://git-scm.com/downloads).
3028
31- To install Copier and Copier Template-Extensions, use [ uv] ( https://docs.astral.sh/uv/ ) :
29+ To install Python, [download and install it from python.org](https://www.python.org/downloads/),
30+ or [install uv](https://docs.astral.sh/uv/getting-started/installation/) to install it.
3231
33- <!-- termynal -->
32+ To install Copier and Copier Template-Extensions, use [ uv] ( https://docs.astral.sh/uv/ )
33+ or [ pipx] ( https://pipx.pypa.io/ ) :
3434
35- ```
36- $ uv tool install copier --with copier-template-extensions
37- ---> 100%
38- Installed 1 executable: copier
39- ```
35+ === "uv"
36+
37+ ```
38+
39+ uv tool install copier --with copier-template-extensions
40+ ```
41+
42+ === "pipx"
43+
44+ ```
45+ pipx install copier
46+ pipx inject copier copier-template-extensions
47+ ```
48+
49+ ## Usage
4050
4151Run ` copier copy ` to generate your Python package:
4252
43- <!-- termynal -->
53+ === "HTTPS"
54+
55+ ```
56+ copier copy --trust gh:leodevian/modern-python ./path/to/directory
57+ ```
58+
59+ === "SSH"
60+
61+ ```
62+ copier copy --trust git@github.com:leodevian/modern-python ./path/to/directory
63+ ```
64+
65+ Run ` copier update ` to update your Python package to the latest version:
4466
4567```
46- $ copier copy --trust gh:leodevian/modern-python ./path/to/directory
68+ copier update --trust
4769```
0 commit comments