{ "info": { "author": "Bogdan Mustiata", "author_email": "bogdan.mustiata@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "ars(onist)\n==========\n\nPoor man's yo for quick project generation.\n\nInstallation\n------------\n\n.. code:: sh\n\n pip install arst\n\nCreating a new project\n----------------------\n\nTwo shortcuts are installed: ``ars``, and ``arst``\n\n.. code:: sh\n\n ars project-type\n\nor if a project is already created, and we want to reaply the templates,\nbut with a tree diff for all the conflicting files. This will use the\nprogram specified in the ``ARS_DIFF_TOOL`` or in case the variable is\nnot defined ``vimdiff``:\n\n.. code:: sh\n\n arst project-type\n\nThis will copy all the resources from the ``~/.projects/project-type``\ninto the current folder. Files that have the ``.hbs`` extension will be\nused as templates, and copied with the extension removed.\n\nThe project type is sent as ``NAME`` into the handlebars templates.\n\nThus if you have a structure such as:\n\n.. code:: text\n\n .projects/project-type\n \u251c\u2500\u2500 package.json.hbs\n \u2514\u2500\u2500 static\n \u2514\u2500\u2500 index.html\n\nAfter the ``ars project-type`` command you will have in your current\nfolder:\n\n.. code:: text\n\n .\n \u251c\u2500\u2500 package.json\n \u2514\u2500\u2500 static\n \u00a0\u00a0 \u2514\u2500\u2500 index.html\n\nThe package.json file will be parsed as expected.\n\nIf the file name from the project ends with ``.KEEP`` on subsequent\ncalls from the same folder, it won't be overwritten.\n\nParameters\n----------\n\nParameters can be also passed to the templates themselves. In case a\nparameter does not have a value, ``true`` will be set instead.\n\n::\n\n ars package-type name1=value name2 name3=3\n\nThis will generate a ``package-type`` project with the following\nparameters sent into the handlebars template:\n\n.. code:: json\n\n {\n \"NAME\" : \"package-type\",\n \"name1\" : \"value\",\n \"name2\" : true,\n \"name3\" : \"3\",\n \"arg0\": \"name1\",\n \"arg1\": \"name2\",\n \"arg2\": \"name3\"\n }\n\nSince the templating also happens to the file names themselves, so a\nfile named ``{{name1}}.txt`` will be installed as ``value.txt``. This is\nparticularily useful in conjunction with the positional argument names,\nmaking possible scenarios such as:\n\n.. code:: sh\n\n ars new-model User\n\nIf in our project we have: ``{{arg0}}.html.hbs`` and\n``{{arg0}}.js.hbs``, they will be expanded as: ``User.html`` and\n``User.js``.\n\nConfiguration\n-------------\n\nIf you store your project files into a different folder, you can use the\n``ARS_PROJECTS_FOLDER`` environment variable to point to the absolute\npath of it.\n\nImplicitly when creating a new project, an ``.ars`` file will be created\nwith the current settings, so if the project is changed, you can reaplly\nyour project template. If you want not to have this file created, just\nadd a ``.noars`` file in the project template.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "arst", "package_url": "https://pypi.org/project/arst/", "platform": "", "project_url": "https://pypi.org/project/arst/", "project_urls": null, "release_url": "https://pypi.org/project/arst/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "Poor man's yo generator.", "version": "1.1.0" }, "last_serial": 5980891, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c832cdcfb2d0986fbf6bb4319e7436a1", "sha256": "590936b10a3fb097c6c9756b6e23f6ffa33ba9f2948aa160dff41bd3f58a876c" }, "downloads": -1, "filename": "arst-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c832cdcfb2d0986fbf6bb4319e7436a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4550, "upload_time": "2018-07-08T07:01:36", "url": "https://files.pythonhosted.org/packages/83/19/99e3d5f003032fa40ebffd8f523036354377188456c7e1008c1ef048c687/arst-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "bd9b71bea41f0be87bd63eb7941da0fc", "sha256": "41e353069c8869c547350831a73bbdb022bcbec742fd7118e317ee15484e806e" }, "downloads": -1, "filename": "arst-1.0.1.tar.gz", "has_sig": false, "md5_digest": "bd9b71bea41f0be87bd63eb7941da0fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4576, "upload_time": "2018-07-08T08:19:32", "url": "https://files.pythonhosted.org/packages/b9/68/840506075f23ca8836193a0fec931f42db0e5a4059eaa58def4ecd2ecd4e/arst-1.0.1.tar.gz" } ], "1.0.15": [ { "comment_text": "", "digests": { "md5": "e0b7ebbbc01728641c344288748d27ef", "sha256": "64584938f937aed0dd95e97d88e1f06cf45b1e30cab2926caf8caeb674360a15" }, "downloads": -1, "filename": "arst-1.0.15.tar.gz", "has_sig": false, "md5_digest": "e0b7ebbbc01728641c344288748d27ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9166, "upload_time": "2018-07-25T21:24:52", "url": "https://files.pythonhosted.org/packages/69/aa/bb38f0a8b35df191ec15f6605f6bd1d2def0f12b308dd8b6af90434c1b10/arst-1.0.15.tar.gz" } ], "1.0.16": [ { "comment_text": "", "digests": { "md5": "eb2e290118ef5651b6bd6c22442d846e", "sha256": "6040f69b7bd9fc31397d1b74851815d2afabd9ac3db045448f7a4c04bd05fb2e" }, "downloads": -1, "filename": "arst-1.0.16.tar.gz", "has_sig": false, "md5_digest": "eb2e290118ef5651b6bd6c22442d846e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9380, "upload_time": "2018-07-31T20:31:45", "url": "https://files.pythonhosted.org/packages/1e/98/94101555f5ce8219ba77141ed5f4b3e0b4d758c471ff5897ad520983510e/arst-1.0.16.tar.gz" } ], "1.0.17": [ { "comment_text": "", "digests": { "md5": "5af29214f907cb1e02ceec31ee1e3344", "sha256": "ae0e68c74936d13cd26b85a534978bc61aa9627ac715ff495548025bcbf57be8" }, "downloads": -1, "filename": "arst-1.0.17.tar.gz", "has_sig": false, "md5_digest": "5af29214f907cb1e02ceec31ee1e3344", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9443, "upload_time": "2018-10-03T08:38:38", "url": "https://files.pythonhosted.org/packages/c1/90/c003a1f9a7410a31dc610bcc9924fbf3dacbae96f477e83cf039551dab8d/arst-1.0.17.tar.gz" } ], "1.0.18": [ { "comment_text": "", "digests": { "md5": "26b5f95ecd730c727aa70785e0d5227f", "sha256": "04c7d738f63db2988ff9c34d6134615f43ea06f537f9f2971712fe344045a091" }, "downloads": -1, "filename": "arst-1.0.18.tar.gz", "has_sig": false, "md5_digest": "26b5f95ecd730c727aa70785e0d5227f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9363, "upload_time": "2018-10-19T07:11:15", "url": "https://files.pythonhosted.org/packages/1d/4c/a451041ea2f15f2c47d8a78c2b257e6423cd3caf8700e2488dcf505b3cc9/arst-1.0.18.tar.gz" } ], "1.0.19": [ { "comment_text": "", "digests": { "md5": "24b01797a9cf00f3702358d348ceb4e2", "sha256": "e11e42ef9643e6daf4e835e7c3c33b62b597ae242f75df89f1f0f4af7f8a78b0" }, "downloads": -1, "filename": "arst-1.0.19.tar.gz", "has_sig": false, "md5_digest": "24b01797a9cf00f3702358d348ceb4e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9543, "upload_time": "2018-10-24T02:48:31", "url": "https://files.pythonhosted.org/packages/3d/3b/d0fe2b156021bc15c7e7d5067a4081139afd97c5de36a216fb7c23ca7c78/arst-1.0.19.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "93c1d1532d12cd33bff48cca40747833", "sha256": "f2cbe3b0294162e6ba462e4999c990421d930131688647f8ab090559878a65c5" }, "downloads": -1, "filename": "arst-1.0.2.tar.gz", "has_sig": false, "md5_digest": "93c1d1532d12cd33bff48cca40747833", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4581, "upload_time": "2018-07-08T20:09:32", "url": "https://files.pythonhosted.org/packages/07/03/952cab8119dade602fffae1b86395db10bd4abeece4de31b3e80dec3d7a0/arst-1.0.2.tar.gz" } ], "1.0.20": [ { "comment_text": "", "digests": { "md5": "1b8ffe579accbf00a34c7ce829e2371a", "sha256": "2a97ba4e76bc8321fdeccd2a90faf2f7925ca3d88225be207cc54b0731fc8f12" }, "downloads": -1, "filename": "arst-1.0.20.tar.gz", "has_sig": false, "md5_digest": "1b8ffe579accbf00a34c7ce829e2371a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9677, "upload_time": "2018-10-25T04:42:45", "url": "https://files.pythonhosted.org/packages/21/e4/381697e9826e89564a23f8113c8cf3a6071a8de49db3de374a3d05411fce/arst-1.0.20.tar.gz" } ], "1.0.21": [ { "comment_text": "", "digests": { "md5": "25326c0b05328797bffb6c2a21257df3", "sha256": "b75a0fc1ad3c5b8050b05864d1376bbb0372beb5a9291c5c8fd4bc3cb05c85f3" }, "downloads": -1, "filename": "arst-1.0.21.tar.gz", "has_sig": false, "md5_digest": "25326c0b05328797bffb6c2a21257df3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8487, "upload_time": "2019-10-04T04:26:07", "url": "https://files.pythonhosted.org/packages/a0/77/b6aa43410ca6df14195c8f981a81e3e84f1931bf26d85821cdb27aba559a/arst-1.0.21.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "ced25b4e111006cc6e79cc4f8a71c72a", "sha256": "b6eb731560f35eb063071f461b56dd70ae9172a4b1e13c5be8502fb25ba9b71b" }, "downloads": -1, "filename": "arst-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ced25b4e111006cc6e79cc4f8a71c72a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7776, "upload_time": "2018-07-10T20:56:28", "url": "https://files.pythonhosted.org/packages/7e/90/7f3903f68b8cab5122d3c10ae5c94b9297c4e4dd775bebe9007bc6c4aa3a/arst-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "d419a0bfec7f3466949271d02801828f", "sha256": "43f027c26487f3563bbc592a0643a864844dc52ad58a350af1c2e4b2034b4996" }, "downloads": -1, "filename": "arst-1.0.4.tar.gz", "has_sig": false, "md5_digest": "d419a0bfec7f3466949271d02801828f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7796, "upload_time": "2018-07-10T21:01:53", "url": "https://files.pythonhosted.org/packages/04/3c/ad4804355e7f8adf363464d48803277388c94fdf1b69305eeafe80a92975/arst-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "1e8faff8cde4655aa98ea62598892ad4", "sha256": "8d498e23ca636879dd6abf05b42bbe206aa7849c0a4b99eb0f85989a7d673803" }, "downloads": -1, "filename": "arst-1.0.5.tar.gz", "has_sig": false, "md5_digest": "1e8faff8cde4655aa98ea62598892ad4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7925, "upload_time": "2018-07-10T21:50:19", "url": "https://files.pythonhosted.org/packages/bf/bc/9a2e2c8e67c7e9266bbed90c9932d11949f355808001e285e8b38ea4911a/arst-1.0.5.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "1d0c3385f331deb9ee9eaa54609eb95c", "sha256": "3fed2bb60a96b3be8b3613f60c1404c2b6dac653164b13f22819687c9315cc2f" }, "downloads": -1, "filename": "arst-1.1.0.tar.gz", "has_sig": false, "md5_digest": "1d0c3385f331deb9ee9eaa54609eb95c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8738, "upload_time": "2019-10-16T02:45:49", "url": "https://files.pythonhosted.org/packages/24/3e/a602722b0ad1db280a8de6398827f90da6cf424138b9d43ae42c6879e562/arst-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1d0c3385f331deb9ee9eaa54609eb95c", "sha256": "3fed2bb60a96b3be8b3613f60c1404c2b6dac653164b13f22819687c9315cc2f" }, "downloads": -1, "filename": "arst-1.1.0.tar.gz", "has_sig": false, "md5_digest": "1d0c3385f331deb9ee9eaa54609eb95c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8738, "upload_time": "2019-10-16T02:45:49", "url": "https://files.pythonhosted.org/packages/24/3e/a602722b0ad1db280a8de6398827f90da6cf424138b9d43ae42c6879e562/arst-1.1.0.tar.gz" } ] }