py-templater
About this Project
Python utility tool that generates code files from user-defined templates. Save files/directories and user-defined templates, and load them on the fly whenever you need access to your boilerplate templates.
Getting Started
Prerequisites
You will need typer and rich in order to use py-templater. These should install as dependencies by default.
pip install py-templater typer rich
⚠️ Warning
py-templateronly works on Linux and macOS machines
Usage
templater --help
Usage: templater [OPTIONS] COMMAND [ARGS]...
Options
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to copy it or customize the installation.
--help Show this message and exit.
Commands
add Add a new template
gen Generates file(s) from templates
list List current current templates
rm Delete a template
view View template head
add
Allows user to define a file/directory as new template
templater add --help
Usage: templater add [OPTIONS] NAME PATH
Arguments
name template name
path path to original file/directory
gen
Generates any user defined templates in the current working directory
templater gen --help
Usage: templater gen [OPTIONS] NAME
Arguments
name template name
list
Lists all user-defined templates and corresponding metadata
templater list --help
Usage: templater list [OPTIONS]
rm
Allows user to delete any user-defined templates
templater rm --help
Usage: templater rm [OPTIONS]
view
Views head snippet of template
templater view --help
Usage: templater view [OPTIONS] NAME [N]
Arguments
name template name
n (default: 5) numbers of lines to show
Metadata
Release files for py-templater 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-templater-0.1.10.tar.gz | 4.2 kB | Without provenance | Details for py-templater-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_templater-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for py_templater-0.1.10-py3-none-any.whl |
Total release size: 8.9 kB
Release files / py-templater-0.1.10.tar.gz
| Download URL | py-templater-0.1.10.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18135d57a1fb7f75f49372c7aa65c8793381cecbc8d58b6d93a631e128a661cb
|
|
BLAKE2b-256 checksum How to use checksums |
aa0df171516d141226656c4f9e01afda9c1330ee7c37cb62b32bbc244ca77078
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / py_templater-0.1.10-py3-none-any.whl
| Download URL | py_templater-0.1.10-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4762cedfd4cfe6f4fd7507ba3dfe4ab47676ae57ca4e5efd54621d58204255f6
|
|
BLAKE2b-256 checksum How to use checksums |
91d328781af4e6d65bb8b1bc48ebf763b48cf7d98f9006c1a84636bdf96c6a20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for py-templater 0.1.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.