{ "info": { "author": "Bobby", "author_email": "karma0@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Utilities" ], "description": "======\nShadow\n======\n\n\n.. image:: https://img.shields.io/pypi/v/shadowgen.svg\n :target: https://pypi.python.org/pypi/shadowgen\n\n.. image:: https://img.shields.io/travis/karma0/shadow.svg\n :target: https://travis-ci.org/karma0/shadow\n\n.. image:: https://readthedocs.org/projects/shadow/badge/?version=latest\n :target: https://shadow.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\n.. image:: https://pyup.io/repos/github/karma0/shadow/shield.svg\n :target: https://pyup.io/repos/github/karma0/shadow/\n :alt: Updates\n\nA comprehensive command line utility to render templates and ease code generation.\n\n\n* Free software: GNU General Public License v3\n* Documentation: https://shadow.readthedocs.io.\n\n\n.. image:: https://github.com/karma0/shadow/raw/master/shadow-devil.gif\n\nFeatures\n--------\n\n* Incorporates a *convention over configuration* mentality.\n* Use the default ``*.tpl`` extension to find and render templates, or specify\n your own.\n* Use the template extension on a directory to render all files under it.\n* Specify the path(s) or let it default to searching for templates in the\n current working directory.\n* Use template variables in filenames to render scalar filename outputs.\n* Use hash/dict or list/array types in filenames to render multiple files.\n* Default configuration expects a file named ``shadowconf`` with any of the\n following extensions: ``.json``, ``.hcl``, ``.env``, ``.yml``, ``.ini``.\n* If no configuration file is specified, it will load and use the shell\n environment to render variables.\n* All defaults can be overriden.\n\nQuick Install\n-------------\n\nInstall from PyPi::\n\n pip install shadowgen\n\nInstall from GitHub::\n\n git clone https://github.com/karma0/shadow\n cd shadow\n pip install -U .\n\nExamples\n--------\n\nDisplay the help and exit::\n\n shadow --help\n\nDiscover templates to be generated::\n\n shadow sim\n\nFind all templates in the current working directory\nand generate them using the config file ``shadowconf.json`` as the\nvariables to build them::\n\n shadow fax\n\nFind all generated templates and remove them::\n\n shadow clean\n\nGenerate templates in the ``tests`` directory on files ending in ``*.j2``, using\nenvironment variables to fill and render the templates::\n\n shadow fax -e -t .j2 tests\n\nGenerate the single template file named ``test.txt`` using the HCL config file\n``test.txt.hcl``::\n\n shadow fax -c test.txt.hcl test.txt.tpl\n\n\n\nCredits\n-------\n\nCreated and maintained by karma0_.\n\nThis package was created with Cookiecutter_ and the `karma0/cookiecutter-pypackage`_ project template.\n\n.. _karma0: https://github.com/karma0\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`karma0/cookiecutter-pypackage`: https://github.com/karma0/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.3.2 (2019-04-01)\n------------------\n\n* Updated installation documentation.\n\n0.3.1 (2019-04-01)\n------------------\n\n* Renamed PyPi project to shadowgen.\n* Dependency upgrades.\n\n0.3.0 (2019-02-06)\n------------------\n\n* Added config passthrough from CLI.\n* Fixed yield bug in rendering of filenames.\n* Added some preliminary tests.\n* Fixed logging.\n* Added always fallback to loading the environment if no config file is present.\n* Added checks for shadowconf file using extensions: json, ini, env, etc.\n\n0.2.2 (2019-01-31)\n------------------\n\n* Documentation fixes.\n\n0.2.1 (2019-01-31)\n------------------\n\n* Version bump; getting everything working.\n\n0.2.0 (2019-01-31)\n------------------\n\n* First release on PyPI.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/karma0/shadow", "keywords": "shadow", "license": "GNU General Public License v3", "maintainer": "", "maintainer_email": "", "name": "shadowgen", "package_url": "https://pypi.org/project/shadowgen/", "platform": "", "project_url": "https://pypi.org/project/shadowgen/", "project_urls": { "Homepage": "https://github.com/karma0/shadow" }, "release_url": "https://pypi.org/project/shadowgen/0.3.2/", "requires_dist": null, "requires_python": "", "summary": "A comprehensive command line utility to render templates and ease code generation.", "version": "0.3.2" }, "last_serial": 5040548, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "29e32b94e2715122408a4c3eca1cb60c", "sha256": "877bc005d19275ab61452be5047cd6b632815053c403a7897d080967edbcc3e7" }, "downloads": -1, "filename": "shadowgen-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "29e32b94e2715122408a4c3eca1cb60c", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9139, "upload_time": "2019-04-01T18:44:32", "url": "https://files.pythonhosted.org/packages/dd/0d/2fc6d68d526ac3aaf64e9f8415bc9c65656079cd2601257dc320244f077d/shadowgen-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0e0ec9f8ec41b9f8f8d00aed7b96ff4d", "sha256": "0070bb8ad94e90f7a8dc9841facbdcaf399eebc743903e379f3966021368bf8d" }, "downloads": -1, "filename": "shadowgen-0.3.1.tar.gz", "has_sig": false, "md5_digest": "0e0ec9f8ec41b9f8f8d00aed7b96ff4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13998, "upload_time": "2019-04-01T18:44:06", "url": "https://files.pythonhosted.org/packages/51/31/8f835c7ef0d6833f5566d1751c03cd5d7e404ad9cd820dc80e674ce83b30/shadowgen-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "4f072205556f45199aa9f0a4b38af568", "sha256": "ff27cab9d7c5b14b42bf706f8ddc78c0f5aa8101ef40a81af4c7bf605f8d3ca6" }, "downloads": -1, "filename": "shadowgen-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4f072205556f45199aa9f0a4b38af568", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9155, "upload_time": "2019-04-01T18:52:56", "url": "https://files.pythonhosted.org/packages/f0/85/cba99cb58ca9f8f06a1e73097b4c1c7c4f333b2decca70fb0a890b86f7c9/shadowgen-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11f21564e3ffe726b09443eaa6fb53c3", "sha256": "efafccf19e698ae9f52c98da788e981d7ad0b07728ab45165d74d31bee1d63e4" }, "downloads": -1, "filename": "shadowgen-0.3.2.tar.gz", "has_sig": false, "md5_digest": "11f21564e3ffe726b09443eaa6fb53c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14031, "upload_time": "2019-04-01T18:52:59", "url": "https://files.pythonhosted.org/packages/eb/3f/23720da4a1ed2b52f3f07e52e8f830655e7b585677753a0c1aee63867c1f/shadowgen-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4f072205556f45199aa9f0a4b38af568", "sha256": "ff27cab9d7c5b14b42bf706f8ddc78c0f5aa8101ef40a81af4c7bf605f8d3ca6" }, "downloads": -1, "filename": "shadowgen-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4f072205556f45199aa9f0a4b38af568", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 9155, "upload_time": "2019-04-01T18:52:56", "url": "https://files.pythonhosted.org/packages/f0/85/cba99cb58ca9f8f06a1e73097b4c1c7c4f333b2decca70fb0a890b86f7c9/shadowgen-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11f21564e3ffe726b09443eaa6fb53c3", "sha256": "efafccf19e698ae9f52c98da788e981d7ad0b07728ab45165d74d31bee1d63e4" }, "downloads": -1, "filename": "shadowgen-0.3.2.tar.gz", "has_sig": false, "md5_digest": "11f21564e3ffe726b09443eaa6fb53c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14031, "upload_time": "2019-04-01T18:52:59", "url": "https://files.pythonhosted.org/packages/eb/3f/23720da4a1ed2b52f3f07e52e8f830655e7b585677753a0c1aee63867c1f/shadowgen-0.3.2.tar.gz" } ] }