{ "info": { "author": "Brian Abelson", "author_email": "brian@newslynx.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "fig-py\n======\n\n``fig-py`` is a command line tool for generating skeletons of python\npackages from a directory of ``jinja`` templates.\n\nThe interface is easy:\n\n::\n\n fig -p my-new-project -g my-github-user-name\n\nThis will initialize a highly-opinionated github repository, with your\ncommand line args inserted in relevant places throughout the following\ndirectory tree:\n\n::\n\n my-new-project\n \u251c\u2500\u2500 README.md\n \u251c\u2500\u2500 build_docs.sh\n \u251c\u2500\u2500 docs\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 Makefile\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 _static\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 logo.png\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 _themes\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 flask_theme_support.py\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 kr\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 autotoc.html\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 layout.html\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 relations.html\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 sidebarlogo.html\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u251c\u2500\u2500 static\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 flasky.css_t\n \u2502\u00a0\u00a0 \u2502\u00a0\u00a0 \u2514\u2500\u2500 theme.conf\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 conf.py\n \u2502\u00a0\u00a0 \u251c\u2500\u2500 index.rst\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 install.rst\n \u251c\u2500\u2500 requirements.txt\n \u251c\u2500\u2500 setup.py\n \u251c\u2500\u2500 src\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 __init__.py\n \u2514\u2500\u2500 tests\n \u251c\u2500\u2500 README.md\n \u251c\u2500\u2500 __init__.py\n \u251c\u2500\u2500 fixtures\n \u2502\u00a0\u00a0 \u2514\u2500\u2500 README.md\n \u2514\u2500\u2500 tests.py\n\nThis default template comes with ``nose`` for testing, ``sphinx`` for\ndocs (with Kenneth Reitz's Template), ``travis-ci`` for continuous\nintegration and ``pandoc`` for rendering your markdown README.md on\npy-pi.\n\nYou can build and serve the docs by running ``build.sh``.\n\nCustomizing\n-----------\n\nIf you'd like, you can also create your own folder of ``jinja``\ntemplates and pass it in as follows:\n\n::\n\n fig -p my-new-project -g my-github-user-name -t path/to/my-template/\n\nYou can also pass in a series of custom json key-value pairs if you want\nto add extra context:\n\n::\n\n fig -p my-new-project -g my-github-user-name -t my-template/ -k \"{'key1':'value1', 'key2':'value2'}\"\n\nThese values can be inserted anywhere in your custom templates using\nstandard ``jinja`` syntax:\n\n::\n\n {{ key1 }}, {{ key2 }}\n\nHeres the full cli specification:\n\n::\n\n usage: fig [-h] [-p PROJECT_NAME] [-g GITHUB_USER] [-a AUTHOR] [-e EMAIL]\n [-d DESCRIPTION] [-t TEMPLATE_PATH] [-k KWARGS]\n\n Initialize a python repository.\n\n optional arguments:\n -h, --help show this help message and exit\n -p PROJECT_NAME, --project-name PROJECT_NAME\n The name of your project.\n -g GITHUB_USER, --github-user GITHUB_USER\n Your github user name.\n -a AUTHOR, --author AUTHOR\n Your name.\n -e EMAIL, --email EMAIL\n Your email.\n -d DESCRIPTION, --description DESCRIPTION\n The projects' description.\n -t TEMPLATE_PATH, --template TEMPLATE_PATH\n A directory of custom templates\n -k KWARGS, --kwargs KWARGS\n A json string or a .json / .yml filepath of custom\n kwargs\n\nInstallation\n------------\n\n::\n\n pip install fig-py\n\nTODO: \\* Don't rely on ``os.system()`` \\* create repository on\n``github`` \\* activate virtualenv \\* webhooks for read the docs / s3\nupload for data / binaries.", "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/newslynx/fig-py", "keywords": "", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "fig-py", "package_url": "https://pypi.org/project/fig-py/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fig-py/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/newslynx/fig-py" }, "release_url": "https://pypi.org/project/fig-py/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "An utility for configuring python projects from jinja templates.", "version": "0.0.4" }, "last_serial": 1118352, "releases": { "0.0.2": [], "0.0.3": [ { "comment_text": "", "digests": { "md5": "564a98c0e80c4ddeb820720bc500937e", "sha256": "4065a3a51ac3b7092e48909cd77e936fae0ca805a121da6e642569d1d0c8a50e" }, "downloads": -1, "filename": "fig-py-0.0.3.macosx-10.9-intel.exe", "has_sig": false, "md5_digest": "564a98c0e80c4ddeb820720bc500937e", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 131509, "upload_time": "2014-06-08T15:29:41", "url": "https://files.pythonhosted.org/packages/14/39/3c02df7761a6fd3281cdddfd649fbdc5836940fed86329fb1283c5fc38c3/fig-py-0.0.3.macosx-10.9-intel.exe" }, { "comment_text": "", "digests": { "md5": "8b59000bf5c9d2ed51feae97ecbde9e1", "sha256": "80c939b66cb9fc7c74a9d2dec87f12892d1d1c281899171d2dc6c672cd27be09" }, "downloads": -1, "filename": "fig-py-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8b59000bf5c9d2ed51feae97ecbde9e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5426, "upload_time": "2014-06-08T15:29:38", "url": "https://files.pythonhosted.org/packages/80/bd/0983c9229c8284cfbb2f6b548a253709848e9fcc15e0a0692227240e8baa/fig-py-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "296c3401ccf8082537682c450e3017da", "sha256": "2411849001d601ca49f568ad41d7f3c205a82630935b686a9f8aff8638a21052" }, "downloads": -1, "filename": "fig-py-0.0.4.macosx-10.9-intel.exe", "has_sig": false, "md5_digest": "296c3401ccf8082537682c450e3017da", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 127694, "upload_time": "2014-06-08T15:31:36", "url": "https://files.pythonhosted.org/packages/ca/3f/6a012bcc649eb8712190f8113265da9be25100d5a8c83354acd6af03f5af/fig-py-0.0.4.macosx-10.9-intel.exe" }, { "comment_text": "", "digests": { "md5": "80bc809a1f1991c3733717dda97825cf", "sha256": "71511b6c6237198a4385f3d6560a4552b03853bde1b015f3c1f1120f9b4a8d2e" }, "downloads": -1, "filename": "fig-py-0.0.4.tar.gz", "has_sig": false, "md5_digest": "80bc809a1f1991c3733717dda97825cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5426, "upload_time": "2014-06-08T15:31:31", "url": "https://files.pythonhosted.org/packages/38/0b/15f7eeae21e9040ec1312456437d9176c0579196563413e6260538b3c0f5/fig-py-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "296c3401ccf8082537682c450e3017da", "sha256": "2411849001d601ca49f568ad41d7f3c205a82630935b686a9f8aff8638a21052" }, "downloads": -1, "filename": "fig-py-0.0.4.macosx-10.9-intel.exe", "has_sig": false, "md5_digest": "296c3401ccf8082537682c450e3017da", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 127694, "upload_time": "2014-06-08T15:31:36", "url": "https://files.pythonhosted.org/packages/ca/3f/6a012bcc649eb8712190f8113265da9be25100d5a8c83354acd6af03f5af/fig-py-0.0.4.macosx-10.9-intel.exe" }, { "comment_text": "", "digests": { "md5": "80bc809a1f1991c3733717dda97825cf", "sha256": "71511b6c6237198a4385f3d6560a4552b03853bde1b015f3c1f1120f9b4a8d2e" }, "downloads": -1, "filename": "fig-py-0.0.4.tar.gz", "has_sig": false, "md5_digest": "80bc809a1f1991c3733717dda97825cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5426, "upload_time": "2014-06-08T15:31:31", "url": "https://files.pythonhosted.org/packages/38/0b/15f7eeae21e9040ec1312456437d9176c0579196563413e6260538b3c0f5/fig-py-0.0.4.tar.gz" } ] }