Skip to main content

tengen

Generate string using template

Concept

Use templates to simplify string replacement

[done.tngn]

{0} is done.

What is possible

  1. String replacement using templates

Reason for development

  • I want to make string replacement easier using templates

Versions

Version Summary
0.1.6 Release tengen

Installation

tengen

pip install tengen

CLI

render

Rendering using templates

1. Prepare template file(done.tngn)

[done.tngn]

{0} is done.

2. Rendering templates by CLI execution

render # <template name> <args>
  [With value]
    -o|--output  # Output file path

tengen render done TENGEN

TENGEN is done.

Release files for tengen 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tengen 0.1.6
File Size Uploaded
tengen-0.1.6.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tengen 0.1.6
File Interpreter ABI Platform
tengen-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / tengen-0.1.6.tar.gz

Download URL tengen-0.1.6.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b80f244516c9504f8caf42e3b427453742a3dc751801b1f979e62fe997396285
BLAKE2b-256 checksum
How to use checksums
91cb6a20d786235f906dfd2c082f4f9cb6001c77c3a830d1f94c3a1c3ee05d58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release files / tengen-0.1.6-py3-none-any.whl

Download URL tengen-0.1.6-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad08ad0291e93a3260ce549bb90b2ca07ddc977336c80e38c87dfc24025d8c13
BLAKE2b-256 checksum
How to use checksums
6f2f5dc6b5968918254459412e65fde160a40570077158644e49166e460ff66f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page