{ "info": { "author": "Caleb Hattingh", "author_email": "caleb.hattingh@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": ".. image:: https://travis-ci.org/cjrh/templitz.svg?branch=master\n :target: https://travis-ci.org/cjrh/templitz\n\n.. image:: https://coveralls.io/repos/github/cjrh/templitz/badge.svg?branch=master\n :target: https://coveralls.io/github/cjrh/templitz?branch=master\n\n.. image:: https://img.shields.io/pypi/pyversions/templitz.svg\n :target: https://pypi.python.org/pypi/templitz\n\n.. image:: https://img.shields.io/github/tag/cjrh/templitz.svg\n :target: https://img.shields.io/github/tag/cjrh/templitz.svg\n\n.. image:: https://img.shields.io/badge/install-pip%20install%20templitz-ff69b4.svg\n :target: https://img.shields.io/badge/install-pip%20install%20templitz-ff69b4.svg\n\n.. image:: https://img.shields.io/pypi/v/templitz.svg\n :target: https://img.shields.io/pypi/v/templitz.svg\n\n.. image:: https://img.shields.io/badge/calver-YYYY.MM.MINOR-22bfda.svg\n :target: http://calver.org/\n\n**ALPHA**\n\ntemplitz\n========\n\nFile templates for faster project bootstrap\n\nOverview\n--------\n\nSo you're making another Python project and there are a bunch of\nboilerplate files you need (use cookiecutter), **or** you have an\nexisting project that you want to add some stuff to (cookiecutter\ndoesn't help). ``templitz`` offers a very lightweight way to add\nsome typical files to a project.\n\nFor example:\n\n.. code-block:: bash\n\n $ templitz -t travis\n $ templitz -t appveyor\n\nThese two commands will dump a typical ``.travis.yml`` and a\n``appveyor.yml`` into your current directory (which should probably\nbe the root of a Python project for any of this to make sense).\n\nThis program does nothing other than look up a file with a ``.templitz``\nextension, and if found, copies that into your target folder. It's just\nan easy way to add standard, boilerplate files to projects. Examples\nare CI configs, ``setup.py``, ``flit.ini``, ``README.rst``, ``pytest.ini``\nand so on. This tools just does the same copy-from-a-previous-project\nfile copying that you would normally do by hand.\n\nHere are a few more examples:\n\n.. code-block:: bash\n\n $ templitz -t asyncio\n\nThis one dumps a typical starter ``main.py`` for an ``asyncio``-based\napplication.\n\nHow about a C/C++? This one will dump a generic ``Makefile`` that will\nwork out-of-the-box for most typical C/C++ projects:\n\n.. code-block:: bash\n\n $ templitz -t Makefile\n\nBYO templitz\n------------\n\n``templitz`` includes a few example templates (in the ``/library``\ndirectory), but you can also add your own quite easily: just set\nthe ``TEMPLITZ_PATH`` env var to configure your own search path for\ntemplates:\n\n.. code-block:: bash\n\n $ export TEMPLITZ_PATH=$HOME/.mytemplitz:$HOME/.myothertemplitz\n\nThen your own templitz will be found automatically. Note that the first\ntemplit found that matches the given ``-t`` parameter is the one that\nhits, and the ``TEMPLITZ_PATH`` setting is checked first.\n\nReference\n---------\n\n.. code-block:: bash\n\n $ templitz --help\n usage: templitz.py [-h] [-t TEMPLATE] [-i] [-l] [-s] [-o OUTDIR]\n [-p PARAMS [PARAMS ...]]\n\n optional arguments:\n -h, --help show this help message and exit\n -t TEMPLATE, --template TEMPLATE\n -i, --info Information about the templit.\n -l, --list List all available templitz.\n -s, --stdout Write to stdout instead of file.\n -o OUTDIR, --outdir OUTDIR\n Output directory.\n -p PARAMS [PARAMS ...], --params PARAMS [PARAMS ...]\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cjrh/templitz", "keywords": "template bootstrap", "license": "", "maintainer": "", "maintainer_email": "", "name": "templitz", "package_url": "https://pypi.org/project/templitz/", "platform": "", "project_url": "https://pypi.org/project/templitz/", "project_urls": { "Homepage": "https://github.com/cjrh/templitz" }, "release_url": "https://pypi.org/project/templitz/2017.10.3/", "requires_dist": [ "cjrh_template", "biodome" ], "requires_python": "", "summary": "Generate new files from templates. ", "version": "2017.10.3" }, "last_serial": 3270927, "releases": { "2017.10.2": [ { "comment_text": "", "digests": { "md5": "ca4c782e2394294a7aaed437e19e7c3f", "sha256": "4af4f93e032f9f94e1b9a2aa21730cbb38adc5bb2bb9acaf149b862a7180a381" }, "downloads": -1, "filename": "templitz-2017.10.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ca4c782e2394294a7aaed437e19e7c3f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16475, "upload_time": "2017-10-20T01:50:08", "url": "https://files.pythonhosted.org/packages/6a/12/ec56d86e63af333d5de3212b3be9b18929c68d12c0408a9ae89ca633f0c7/templitz-2017.10.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee6fb09dd1f3f03213373545cfad986b", "sha256": "dc9da6e00a4159f56b5e071e823fe06f791ac872854a34e974f79765590ffc5c" }, "downloads": -1, "filename": "templitz-2017.10.2.tar.gz", "has_sig": false, "md5_digest": "ee6fb09dd1f3f03213373545cfad986b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8470, "upload_time": "2017-10-20T01:50:19", "url": "https://files.pythonhosted.org/packages/de/8d/e33ad83eb643f6d63f3b2f3fda1db143322cc3d11f3bfdacc20febd7994a/templitz-2017.10.2.tar.gz" } ], "2017.10.3": [ { "comment_text": "", "digests": { "md5": "373fb04cdb3289c9732dd3dc9d943418", "sha256": "c062b79d96b2b333bddb3495820c6add9b14d0729aee65c4dde1662b48508c60" }, "downloads": -1, "filename": "templitz-2017.10.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "373fb04cdb3289c9732dd3dc9d943418", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18305, "upload_time": "2017-10-23T03:33:03", "url": "https://files.pythonhosted.org/packages/69/d7/2d45f8b47d69cc3b24f33a3eaf2cf9fb43bad4b82ca7104a3926007a7fdf/templitz-2017.10.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "45df848e056ccdba350569d14cb321ba", "sha256": "33b358b459768cb02471c71cb955cc0a1064ffdac8f99e8b30be477b513eb45a" }, "downloads": -1, "filename": "templitz-2017.10.3.tar.gz", "has_sig": false, "md5_digest": "45df848e056ccdba350569d14cb321ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11337, "upload_time": "2017-10-23T03:33:19", "url": "https://files.pythonhosted.org/packages/12/f5/9e7f1b48a933170a2d91b419384854861675011b04e4b3e8c4d7910c9974/templitz-2017.10.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "373fb04cdb3289c9732dd3dc9d943418", "sha256": "c062b79d96b2b333bddb3495820c6add9b14d0729aee65c4dde1662b48508c60" }, "downloads": -1, "filename": "templitz-2017.10.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "373fb04cdb3289c9732dd3dc9d943418", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18305, "upload_time": "2017-10-23T03:33:03", "url": "https://files.pythonhosted.org/packages/69/d7/2d45f8b47d69cc3b24f33a3eaf2cf9fb43bad4b82ca7104a3926007a7fdf/templitz-2017.10.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "45df848e056ccdba350569d14cb321ba", "sha256": "33b358b459768cb02471c71cb955cc0a1064ffdac8f99e8b30be477b513eb45a" }, "downloads": -1, "filename": "templitz-2017.10.3.tar.gz", "has_sig": false, "md5_digest": "45df848e056ccdba350569d14cb321ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11337, "upload_time": "2017-10-23T03:33:19", "url": "https://files.pythonhosted.org/packages/12/f5/9e7f1b48a933170a2d91b419384854861675011b04e4b3e8c4d7910c9974/templitz-2017.10.3.tar.gz" } ] }