New Project templater
This tool can be used to create a new project based on a project template, with the following syntax:
newproject <template path / Git URL> <project name> [output]
When the output isn't specified, the project name is used instead.
Installing
This tool can be installed with the following command:
pip install pursuit-newproject
Project manifest
The template must contain a project.yml template with the following sections:
template_name: The name of the project templatetemplate_files: A list of files that will be treated as Jinja2 templates. These files can reference the project name using the{{ project_name }}syntax.template_paths: A list of files or directories that need to be moved to Jinja2-compatible paths
---
template_name: Template name
template_files:
- "templated_file"
template_paths:
"templated_dir": "{{ project_name }}"
License
This project is licensed under the GNU GPLv3 license.
Metadata
Release files for pursuit-newproject 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pursuit-newproject-0.1.1.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pursuit_newproject-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.4 kB
Release files / pursuit-newproject-0.1.1.tar.gz
| Download URL | pursuit-newproject-0.1.1.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
817d29f168bc4f15ee5fb8e3b3451ff29d1d6d1e8a71d1f58e8c7fa69639f869
|
|
BLAKE2b-256 checksum How to use checksums |
b9ab0f52604f73741b0411283e981462be771f254dcd0ec493bdd59057483608
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / pursuit_newproject-0.1.1-py3-none-any.whl
| Download URL | pursuit_newproject-0.1.1-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ede8185c184c231d9610532ae202090c826c8d61292dcc1755afefde02f4f8b
|
|
BLAKE2b-256 checksum How to use checksums |
d7d180839d9e3f3d3845db1a32e7f46696924f88775e3eb3936abc4460027f86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|