=======================
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/jai-python3/simple-template-toolkit",
"name": "simple-template-toolkit",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "simple_template_toolkit",
"author": "Jaideep Sundaram",
"author_email": "jai.python3@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/25/20/198a1d00e91bb370b5984b0b813b585369ba2c2bcb406973570f4d3e7bfe/simple_template_toolkit-0.2.1.tar.gz",
"platform": null,
"description": "=======================\nSimple Template Toolkit\n=======================\n\nSimple templating for all your simple templating projects\n\n\nFeatures\n--------\n\nThe following exported console script is available for use:\n\n- make-substitutions\n- insert-lines\n\n\nUsage\n-----\n\n.. code-block:: python\n\n from simple_template_toolkit import STTManager\n\n tm = STTManager()\n\n tm.make_substitutions(\n template_file=template_file, # the template file containing your placeholder keys (e.g.: $;PARAM1$;)\n outfile=outfile, # the file that should be written out\n lookup=lookup # a dictionary contain placeholders for keys (e.g.: $;PARAM1$;) and corresponding values (e.g.: xyz) replace with\n )\n\n\n=======\nHistory\n=======\n\n0.1.0 (2024-01-24)\n------------------\n\n* First release on PyPI.\n",
"bugtrack_url": null,
"license": null,
"summary": "Simple templating for all your simple templating projects",
"version": "0.2.1",
"project_urls": {
"Homepage": "https://github.com/jai-python3/simple-template-toolkit"
},
"split_keywords": [
"simple_template_toolkit"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b7d37a76f4293732224b88ef2ef6cf9fb66d5e252aa809d9d93202a5315fdc8e",
"md5": "485b4081c562530c50e8ff12388ee7c2",
"sha256": "d902efccbee0ffe4bf5d02c7ebd1d03345f1aa94812c872a834f0702ca6701ff"
},
"downloads": -1,
"filename": "simple_template_toolkit-0.2.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "485b4081c562530c50e8ff12388ee7c2",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.10",
"size": 24420,
"upload_time": "2025-02-15T15:38:07",
"upload_time_iso_8601": "2025-02-15T15:38:07.170764Z",
"url": "https://files.pythonhosted.org/packages/b7/d3/7a76f4293732224b88ef2ef6cf9fb66d5e252aa809d9d93202a5315fdc8e/simple_template_toolkit-0.2.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2520198a1d00e91bb370b5984b0b813b585369ba2c2bcb406973570f4d3e7bfe",
"md5": "23df827eda69b105fa74d3fdb51d2c63",
"sha256": "0b5d4ba9b25f28c064167e99620b1170e0ee28ba6562a6cb7af362a2e7cda3a1"
},
"downloads": -1,
"filename": "simple_template_toolkit-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "23df827eda69b105fa74d3fdb51d2c63",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 26810,
"upload_time": "2025-02-15T15:38:08",
"upload_time_iso_8601": "2025-02-15T15:38:08.928096Z",
"url": "https://files.pythonhosted.org/packages/25/20/198a1d00e91bb370b5984b0b813b585369ba2c2bcb406973570f4d3e7bfe/simple_template_toolkit-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-15 15:38:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jai-python3",
"github_project": "simple-template-toolkit",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "click",
"specs": []
},
{
"name": "colorama",
"specs": []
}
],
"tox": true,
"lcname": "simple-template-toolkit"
}