Skip to main content

Generate string using template

Project description

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.

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

tengen-0.1.6.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

tengen-0.1.6-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file tengen-0.1.6.tar.gz.

File metadata

  • Download URL: tengen-0.1.6.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for tengen-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b80f244516c9504f8caf42e3b427453742a3dc751801b1f979e62fe997396285
MD5 2f90fd8cc10e7b878cde45c61a069d30
BLAKE2b-256 91cb6a20d786235f906dfd2c082f4f9cb6001c77c3a830d1f94c3a1c3ee05d58

See more details on using hashes here.

File details

Details for the file tengen-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: tengen-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for tengen-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ad08ad0291e93a3260ce549bb90b2ca07ddc977336c80e38c87dfc24025d8c13
MD5 311a4e8ddd868101e002431452b45232
BLAKE2b-256 6f2f5dc6b5968918254459412e65fde160a40570077158644e49166e460ff66f

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