question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Subcommand like `pdm new`

See original GitHub issue

Is your feature request related to a problem? Please describe.

Describe the solution you’d like

Add a sub-command like pdm new to creat a new Python project with a default template (src/, .gitignore, etc).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
frostmingcommented, Jun 18, 2021

I created a curated “awesome list” containing some great projects and tools about pdm: https://github.com/pdm-project/awesome-pdm, it also contains two copier templates from me and @pawamoy

1reaction
pawamoycommented, Jun 18, 2021

@lazarillo I used Cookiecutter a lot in the past, and eventually switched to Copier which I found absolutely better than Cookiecutter, partly thanks to its built-in update feature. I’ll let you check its docs and README 🙂 I just read again PyScaffold’s README, and it seems to be way too “old-school” for me. It seems to offer only one template, while CookieCutter and Copier can be derived into an infinite number of templates, allowing you to define the perfect template for you. Sphinx, setupools, tox, pre-commit… I don’t use any of these tools, so PyScaffold is not for me 😕 EDIT: oh, and PyScaffold seems to target Python projects only, which to me is a step-back from the language agnosticity provided by CookieCutter and Copier.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Write a plugin - PDM
Develop a new command for PDM; Add additional options to existing PDM commands ... The second argument as the name of the subcommand...
Read more >
A command group to manage(install/list/remove) plugins #510
Describe the solution you'd like · pdm plugin list show what plugins are installed and their versions. · pdm plugin add add new...
Read more >
pdm.CLI package — PDM 1.0.0 documentation
Main CLI function. Reads configuration and adds subparsers. The order configuration file is searched for: -c/–config command line switch; PDM_CLIENT_CONF ...
Read more >
Change PDM Defaults (CHGPDMDFT) - IBM
The Change PDM Defaults (CHGPDMDFT) command enables you to assign Programming Development Manager (PDM) defaults for a specific user.
Read more >
PDM - The Blue Book - GitHub Pages
PDM is a modern Python package manager with PEP 582 support. It installs and manages packages in a similar way to npm that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found