Skip to main content

Project templater

Project description

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 template
  • template_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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pursuit-newproject-0.1.1.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pursuit_newproject-0.1.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file pursuit-newproject-0.1.1.tar.gz.

File metadata

  • Download URL: pursuit-newproject-0.1.1.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pursuit-newproject-0.1.1.tar.gz
Algorithm Hash digest
SHA256 817d29f168bc4f15ee5fb8e3b3451ff29d1d6d1e8a71d1f58e8c7fa69639f869
MD5 74a3782768bfcae0e828b95f6fde3f5e
BLAKE2b-256 b9ab0f52604f73741b0411283e981462be771f254dcd0ec493bdd59057483608

See more details on using hashes here.

File details

Details for the file pursuit_newproject-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pursuit_newproject-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pursuit_newproject-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ede8185c184c231d9610532ae202090c826c8d61292dcc1755afefde02f4f8b
MD5 bb81b9712a3ca41874e39fb344b84ca3
BLAKE2b-256 d7d180839d9e3f3d3845db1a32e7f46696924f88775e3eb3936abc4460027f86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page