{ "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/shadow-cli.svg\n :target: https://pypi.python.org/pypi/shadow-cli\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 shadow-cli\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.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": "shadow-cli", "package_url": "https://pypi.org/project/shadow-cli/", "platform": "", "project_url": "https://pypi.org/project/shadow-cli/", "project_urls": { "Homepage": "https://github.com/karma0/shadow" }, "release_url": "https://pypi.org/project/shadow-cli/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "A comprehensive command line utility to render templates and ease code generation.", "version": "0.3.0" }, "last_serial": 4789212, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d514d689e034066f6ecf2ed487cc9b8d", "sha256": "9931826e7ba8fc2aeda0e71e4e24d4c432e34c8695e6186162c60bd108f9cfa1" }, "downloads": -1, "filename": "shadow-cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d514d689e034066f6ecf2ed487cc9b8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1965804, "upload_time": "2019-01-31T23:37:35", "url": "https://files.pythonhosted.org/packages/86/62/a1c1b1190b220e364d49e8dfd2a5824e3cd7210168437f3701a35bd6b420/shadow-cli-0.1.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d78ea8d25cd845517c63121c3e387d42", "sha256": "5d7733baa9ddae80ff8ee6ea75f22d698289a283f8a3ffbf0f05f863f4ed588c" }, "downloads": -1, "filename": "shadow-cli-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d78ea8d25cd845517c63121c3e387d42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 992414, "upload_time": "2019-01-31T23:49:00", "url": "https://files.pythonhosted.org/packages/2d/22/84e86bdd129a240468310239af79b17d1deb05cf1484c1cecf2517c2c3f1/shadow-cli-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "e707b977c937350694c26e0f2547070c", "sha256": "62cf244fc9c6921109bfe788d308d06287adeb4f6f19afccaedd1095d4a6209c" }, "downloads": -1, "filename": "shadow-cli-0.2.2.tar.gz", "has_sig": false, "md5_digest": "e707b977c937350694c26e0f2547070c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19963, "upload_time": "2019-02-01T00:04:49", "url": "https://files.pythonhosted.org/packages/97/6e/76853e1b34bfb4f50a813245c6ef6c0de54ab9894513eee45e83f6c5d040/shadow-cli-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "d75b5600395dde9706292053753d9183", "sha256": "961813ed2bc3903c85d83b9c6a476549fae19a027e88adbe8d5455e8c146a817" }, "downloads": -1, "filename": "shadow-cli-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d75b5600395dde9706292053753d9183", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21160, "upload_time": "2019-02-07T00:53:44", "url": "https://files.pythonhosted.org/packages/51/ff/d7f1b7c12e0729f820db54b3e81f7ade3c9161454f2c3704d4f073059357/shadow-cli-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d75b5600395dde9706292053753d9183", "sha256": "961813ed2bc3903c85d83b9c6a476549fae19a027e88adbe8d5455e8c146a817" }, "downloads": -1, "filename": "shadow-cli-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d75b5600395dde9706292053753d9183", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21160, "upload_time": "2019-02-07T00:53:44", "url": "https://files.pythonhosted.org/packages/51/ff/d7f1b7c12e0729f820db54b3e81f7ade3c9161454f2c3704d4f073059357/shadow-cli-0.3.0.tar.gz" } ] }