{ "info": { "author": "Pierre de Buyl ", "author_email": "pdebuyl at sign pdebuyl dot be", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "=====================\nSingle file templater\n=====================\n\nsftmpl takes a single file as input and uses the built-in string format method\nto replace the occurences of brace-enclosed variables by values given on the\ncommand-line.\n\nThe aim of sftmpl is to simplify the generation of configuration file in\ncomputing protocols by providing a command-line enabled customization of these\nconfiguration files.\n\nInstall\n-------\n\nObtain the distribution file and use\n\n python setup.py install\n\nThe source repository is https://github.com/pdebuyl/sftmpl.git and the code may\nbe obtained via the command\n\n git clone https://github.com/pdebuyl/sftmpl.git\n\nUse\n---\n\nsftmpl uses the curly brace named fields defined in `PEP 3101\n`_.\n\nFor the following input file `myconfig.txt`, you must provide the command-line\noptions `-N`, `--parameter` and `--N_steps`::\n\n # Config for \"myprog\"\n N = {N}\n parameter = {parameter}\n \n run {N_steps} steps\n\nThe invocation is as follows when sftmpl is installed\n\n sftmpl myconfig.txt -N 10 --parameter 0.1 --N_steps 500\n\nand the following result is output to the standard output::\n\n # Config for \"myprog\"\n N = 10\n parameter = 0.1\n\n run 500 steps\n\nMisc\n----\n\nAuthor: Pierre de Buyl\n\nLicense: Modified BSD (see `LICENSE`).", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/pdebuyl/sftmpl", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "sftmpl", "package_url": "https://pypi.org/project/sftmpl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sftmpl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/pdebuyl/sftmpl" }, "release_url": "https://pypi.org/project/sftmpl/0.1/", "requires_dist": null, "requires_python": null, "summary": "Single file templater", "version": "0.1" }, "last_serial": 1332021, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "3ec940710ded14691ff741d1697e7034", "sha256": "1f63e1da3d9f3e9918ce8c66eddb28047b97f3ed25c5b33ca4db1055b63624d6" }, "downloads": -1, "filename": "sftmpl-0.1.tar.gz", "has_sig": false, "md5_digest": "3ec940710ded14691ff741d1697e7034", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3618, "upload_time": "2014-12-05T12:54:13", "url": "https://files.pythonhosted.org/packages/b3/93/5de514d83a3920e2d82058895c6bf091b98062e1fd500926f05a94bc15e3/sftmpl-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3ec940710ded14691ff741d1697e7034", "sha256": "1f63e1da3d9f3e9918ce8c66eddb28047b97f3ed25c5b33ca4db1055b63624d6" }, "downloads": -1, "filename": "sftmpl-0.1.tar.gz", "has_sig": false, "md5_digest": "3ec940710ded14691ff741d1697e7034", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3618, "upload_time": "2014-12-05T12:54:13", "url": "https://files.pythonhosted.org/packages/b3/93/5de514d83a3920e2d82058895c6bf091b98062e1fd500926f05a94bc15e3/sftmpl-0.1.tar.gz" } ] }