{ "info": { "author": "Vasek Dohnal", "author_email": "vaclav.dohnal@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "================================================\nDjango Make App: *generate Django app from YAML*\n================================================\n\n.. image:: https://badge.fury.io/py/django_make_app.svg\n :target: https://pypi.python.org/pypi/django_make_app\n :alt: PyPi\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://pypi.python.org/pypi/django_make_app/\n :alt: MIT\n\n.. image:: https://api.travis-ci.org/illagrenan/django-make-app.svg\n :target: https://travis-ci.org/illagrenan/django-make-app\n :alt: TravisCI\n\n.. image:: https://coveralls.io/repos/github/illagrenan/django-make-app/badge.svg?branch=master\n :target: https://coveralls.io/github/illagrenan/django-make-app?branch=master\n :alt: Coverage\n\n.. image:: https://requires.io/github/illagrenan/django-make-app/requirements.svg?branch=master\n :target: https://requires.io/github/illagrenan/django-make-app/requirements/?branch=master\n :alt: Requirements Status\n\nIntroduction\n------------\n\nDjango-make-app will generate code of your Django app from a simple YAML schema. This is similar to ``manage.py startapp`` but much powerful.\n\nThis will be generated from models definitions:\n\n- Admin classes and admin forms\n- Django REST framework View Sets, Serializers and Router configuration\n- Django AppConfig\n- Django System Checks\n- Forms classes\n- Models classes\n- Detail/Delete/Update/Create/List views, urls and templates\n- Management command example\n- Dummy filter\n- Signals and receivers files\n- TODO tests\n\nInstallation\n------------\n\nSupported Python versions are: ``2.7``, ``3.4``, ``3.5``, ``3.6``, ``pypy`` and ``pypy3``.\n\n.. code:: shell\n\n pip install --upgrade django-make-app\n\nPython ``3.3`` is not supported due to incompatibility of yapf (see: https://github.com/google/yapf#python-versions). If you're on Python\n``3.3``, you can use this package with option ``django-make-app generate ... --no-optimize`` (this will skip yapf).\n\nUsage\n-----\n\nIf you want to generate app called ``library``, create a file ``app_schema.yaml`` in project's root and define models:\n\n.. code:: yaml\n\n apps:\n -\n name: library # all files will be generated into library/ directory (will be created)\n models:\n - User: # model name\n - name:char # model field \"name\" of type \"char\"\n - email:char # model field \"email\" of type \"char\"\n - Book: # another model\n - library:fk # model field \"library\" of type \"foreign key\" to \"library\"\n - Article # empty model without fields\n -\n name: my_another_awesome_app\n models:\n - City\n - Country\n\nYou can also print example configuration by executing (or check `templates/example.yaml `__):\n\n.. code:: shell\n\n django-make-app write_config > app_schema.yaml\n\nFinally to generate source code of your app, execute:\n\n.. code:: shell\n\n django-make-app generate library\n\nThis structure will be generated:\n\n.. code::\n\n LIBRARY\n | admin.py\n | api.py\n | apps.py\n | checks.py\n | forms.py\n | models.py\n | receivers.py\n | serializers.py\n | signals.py\n | urls.py\n | views.py\n | __init__.py\n |\n |---management\n | | __init__.py\n | |\n | \\---commands\n | library_command.py\n | __init__.py\n |\n |---migrations\n | __init__.py\n |\n |---templates\n | \\---web\n | book_delete.html\n | book_detail.html\n | book_form.html\n | book_list.html\n | article_delete.html\n | article_detail.html\n | article_form.html\n | article_list.html\n | user_delete.html\n | user_detail.html\n | user_form.html\n | user_list.html\n |\n |---templatetags\n | web_tags.py\n | __init__.py\n |\n \\---tests\n factories.py\n test_book.py\n test_article.py\n test_user.py\n __init__.py\n\n\nInspiration\n-----------\n\n- https://github.com/mmcardle/django_builder\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2016\u20132017 Va\u0161ek Dohnal\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\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/illagrenan/django-make-app", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django_make_app", "package_url": "https://pypi.org/project/django_make_app/", "platform": "", "project_url": "https://pypi.org/project/django_make_app/", "project_urls": { "Homepage": "https://github.com/illagrenan/django-make-app" }, "release_url": "https://pypi.org/project/django_make_app/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Define models and fields using YAML and generate app for Django with views, forms, templates etc.", "version": "0.1.3" }, "last_serial": 2757423, "releases": { "0.1.0": [], "0.1.0.1": [ { "comment_text": "", "digests": { "md5": "50f1632c2f8bfc9d27d22b5480c04bff", "sha256": "ad157276b6766632a3e6f74c3c5fcf49f21383eaee14d04ed5c5a19065cbc1d0" }, "downloads": -1, "filename": "django_make_app-0.1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "50f1632c2f8bfc9d27d22b5480c04bff", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 13470, "upload_time": "2016-04-27T18:01:00", "url": "https://files.pythonhosted.org/packages/1a/f1/ea6f55eaf046edb29b7725d1e41012adb87f49a6c79c880f265888b16f06/django_make_app-0.1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd07d35842379b532f1d9c87d746ac56", "sha256": "3db17b0d7425c48c145de63de6073eabc61b18526d71ecf992aa3b0adfe3f37b" }, "downloads": -1, "filename": "django_make_app-0.1.0.1.zip", "has_sig": false, "md5_digest": "cd07d35842379b532f1d9c87d746ac56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21889, "upload_time": "2016-04-27T18:00:50", "url": "https://files.pythonhosted.org/packages/12/55/937f54a55dc85b9fe7c9a29d5833178e8831a61096b2230f3e54545bc658/django_make_app-0.1.0.1.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "82d4a8eef769d5762d19e1044068ac5d", "sha256": "bcd6e53e764df1e050c3f1a3f825801932f39c6fd08252a3937c4f84c065ad8b" }, "downloads": -1, "filename": "django_make_app-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "82d4a8eef769d5762d19e1044068ac5d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14290, "upload_time": "2016-04-27T22:05:23", "url": "https://files.pythonhosted.org/packages/4a/88/91b5206740823134ddf8567299c44dd752c12161d0524454a9ec504f1ee5/django_make_app-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "176cb82a44b6c1bbc3ae267635481934", "sha256": "3ec72a2219e93bcfb0d567eec01e0c3c5c37763418ec2ef7e79bd7b901730038" }, "downloads": -1, "filename": "django_make_app-0.1.1.zip", "has_sig": false, "md5_digest": "176cb82a44b6c1bbc3ae267635481934", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24023, "upload_time": "2016-04-27T22:05:00", "url": "https://files.pythonhosted.org/packages/f2/34/0d61dfeccffe5904500019da4d6b30c5c0ff78c214cc59f78ef8db8fc4c5/django_make_app-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "828cfe1fbdc56cbe80027c2205588c12", "sha256": "c9425f3a53823b2f9052dd5b000abdc793dc81c419dc6f71655c6d382cceb23b" }, "downloads": -1, "filename": "django_make_app-0.1.2.zip", "has_sig": false, "md5_digest": "828cfe1fbdc56cbe80027c2205588c12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38115, "upload_time": "2016-04-28T09:28:53", "url": "https://files.pythonhosted.org/packages/1f/74/1938e61739ed8b470ead9b0e35d12f4d875fc577dac31634c525e6563d06/django_make_app-0.1.2.zip" } ], "0.1.2.1": [ { "comment_text": "", "digests": { "md5": "b1f182362383838236d8b85bff0ef3ec", "sha256": "8b13008a7b8c0354bc208f10240b257277b746674bed2e2003534c2e668584d4" }, "downloads": -1, "filename": "django_make_app-0.1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b1f182362383838236d8b85bff0ef3ec", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 26933, "upload_time": "2016-04-28T09:33:33", "url": "https://files.pythonhosted.org/packages/a2/ac/547b5bd6b20daeda10047ee8be7bf5c058a0b593e4d7e9f5c1627cbf0be5/django_make_app-0.1.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eeba651e1fd7e3551bc5c81516518a68", "sha256": "22babff599a26d36a4b471d09d871321343c39cee5711409e295dbc9c8e2f2ab" }, "downloads": -1, "filename": "django_make_app-0.1.2.1.zip", "has_sig": false, "md5_digest": "eeba651e1fd7e3551bc5c81516518a68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38266, "upload_time": "2016-04-28T09:33:20", "url": "https://files.pythonhosted.org/packages/f2/31/897baba35270ea5cde146c697f14c54544f82a4b4cd72006f8b0381b9b6a/django_make_app-0.1.2.1.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5ac40b6cb8fbdbc514911dc5966246b7", "sha256": "6ffe51a816d96032761785d7331a4f1df1dfc8b3a442c72cfeb6bda657dbf51f" }, "downloads": -1, "filename": "django_make_app-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5ac40b6cb8fbdbc514911dc5966246b7", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 26831, "upload_time": "2017-04-06T12:02:23", "url": "https://files.pythonhosted.org/packages/e7/55/7d567d8f10fe8f9af4edb0c1a01499d5b6b892767eae500ae71fa669d711/django_make_app-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5bd2ddc21f426545a9cc07dbe6575e40", "sha256": "a5234800405999927141b2fd279c8d0c33d169727ce9850e7daa83f2eb6d7f16" }, "downloads": -1, "filename": "django_make_app-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5bd2ddc21f426545a9cc07dbe6575e40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15807, "upload_time": "2017-04-06T12:02:18", "url": "https://files.pythonhosted.org/packages/7a/cd/30ae7a1ecf73301c5b3781d0d4e14f6c9415d9e3e97c8f522b636d59bad9/django_make_app-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5ac40b6cb8fbdbc514911dc5966246b7", "sha256": "6ffe51a816d96032761785d7331a4f1df1dfc8b3a442c72cfeb6bda657dbf51f" }, "downloads": -1, "filename": "django_make_app-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5ac40b6cb8fbdbc514911dc5966246b7", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 26831, "upload_time": "2017-04-06T12:02:23", "url": "https://files.pythonhosted.org/packages/e7/55/7d567d8f10fe8f9af4edb0c1a01499d5b6b892767eae500ae71fa669d711/django_make_app-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5bd2ddc21f426545a9cc07dbe6575e40", "sha256": "a5234800405999927141b2fd279c8d0c33d169727ce9850e7daa83f2eb6d7f16" }, "downloads": -1, "filename": "django_make_app-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5bd2ddc21f426545a9cc07dbe6575e40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15807, "upload_time": "2017-04-06T12:02:18", "url": "https://files.pythonhosted.org/packages/7a/cd/30ae7a1ecf73301c5b3781d0d4e14f6c9415d9e3e97c8f522b636d59bad9/django_make_app-0.1.3.tar.gz" } ] }