Metadata-Version: 2.1
Name: simple_template_toolkit
Version: 0.2.1
Summary: Simple templating for all your simple templating projects
Home-page: https://github.com/jai-python3/simple-template-toolkit
Author: Jaideep Sundaram
Author-email: jai.python3@gmail.com
Keywords: simple_template_toolkit
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.10
License-File: LICENSE
License-File: AUTHORS.rst
Requires-Dist: Click >=7.0
Requires-Dist: Rich
Requires-Dist: PyYAML

=======================
Simple Template Toolkit
=======================

Simple templating for all your simple templating projects


Features
--------

The following exported console script is available for use:

- make-substitutions
- insert-lines


Usage
-----

.. code-block:: python

    from simple_template_toolkit import STTManager

    tm = STTManager()

    tm.make_substitutions(
      template_file=template_file,  # the template file containing your placeholder keys (e.g.: $;PARAM1$;)
      outfile=outfile, # the file that should be written out
      lookup=lookup # a dictionary contain placeholders for keys (e.g.: $;PARAM1$;) and corresponding values (e.g.: xyz) replace with
    )


=======
History
=======

0.1.0 (2024-01-24)
------------------

* First release on PyPI.
