|
1 | 1 | # Index |
2 | 2 |
|
| 3 | +Quick Introduction for PDM Pythong Depencincy Manager,and how to use pdm to init project from a github repo. |
| 4 | + |
| 5 | +## PDM |
| 6 | + |
| 7 | +- [PDM](./pdm/0-setup.md) PDM setup |
| 8 | +- [PDM](./pdm/1-dependencies.md) PDM depenencies management |
| 9 | +- [PDM](./pdm/2-pdm-script.md) PDM scripts |
| 10 | + |
| 11 | +## Init Project Quickstart |
| 12 | +Two ways to create a new python project: |
| 13 | + |
| 14 | +- create project by copier: |
| 15 | + |
| 16 | +```sh |
| 17 | +copier copy --trust https://github.com/fluent-qa/fluentqa-pytpl.git my-project |
| 18 | +``` |
| 19 | + |
| 20 | +- create project by pdm |
| 21 | + |
| 22 | +```sh |
| 23 | +mkdir my-project && cd my-project |
| 24 | +pdm init https://github.com/fluent-qa/fluentqa-pytpl.git |
| 25 | +``` |
| 26 | + |
| 27 | +Two ways to create a new python project: |
| 28 | + |
| 29 | +- create project by copier: |
| 30 | + |
| 31 | +```sh |
| 32 | +copier copy --trust https://github.com/fluent-qa/fluentqa-pytpl.git my-project |
| 33 | +``` |
| 34 | + |
| 35 | +- create project by pdm |
| 36 | + |
| 37 | +```sh |
| 38 | +mkdir my-project && cd my-project |
| 39 | +pdm init https://github.com/fluent-qa/fluentqa-pytpl.git |
| 40 | +``` |
| 41 | + |
| 42 | + |
| 43 | +## PDM as Pythong Depencincy Manager |
| 44 | + |
| 45 | +- [PDM](https://pdm.fming.dev/) |
| 46 | +- [PDM 中文文档](https://pdm.fming.dev/zh_CN/latest/index.html) |
| 47 | + |
| 48 | +## Templates References |
| 49 | + |
| 50 | +templates: |
| 51 | + - https://github.com/serious-scaffold/ss-python.git |
| 52 | + - https://github.com/TezRomacH/python-package-template.git |
| 53 | + - https://github.com/leynier/python-template.git |
| 54 | + - https://github.com/fpgmaas/cookiecutter-poetry.git |
| 55 | + - https://github.com/zillionare/cookiecutter-pypackage.git |
| 56 | + - https://github.com/rnag/cookiecutter-pypackage.git |
| 57 | + - https://github.com/yxtay/python-project-template.git |
0 commit comments