{ "info": { "author": "Yun Xu", "author_email": "yunxu1992@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: System :: Software Distribution" ], "description": "sanic-devtools\n==============\n\n.. start-badges\n\n.. list-table::\n :stub-columns: 1\n\n * - Build\n - | |travis| |codecov|\n * - Package\n - | |version| |wheel| |supported-versions| |supported-implementations|\n\n.. |travis| image:: https://travis-ci.org/yunstanford/sanic-devtools.svg?branch=master\n :alt: Travis-CI Build Status\n :target: https://travis-ci.org/yunstanford/sanic-devtools\n\n.. |codecov| image:: https://codecov.io/gh/yunstanford/sanic-devtools/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/yunstanford/sanic-devtools\n\n.. |version| image:: https://img.shields.io/pypi/v/sanic-devtools.svg\n :alt: PyPI Package latest release\n :target: https://pypi.python.org/pypi/sanic-devtools\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/sanic-devtools.svg\n :alt: PyPI Wheel\n :target: https://pypi.python.org/pypi/sanic-devtools\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/sanic-devtools.svg\n :alt: Supported versions\n :target: https://pypi.python.org/pypi/sanic-devtools\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/sanic-devtools.svg\n :alt: Supported implementations\n :target: https://pypi.python.org/pypi/sanic-devtools\n\n.. end-badges\n\n\nDev tools for Sanic.\n\nThis tool is highly inspired by `aiohttp-devtools `_, `aio-libs `_.\n\n\nInstallation\n------------\n\n.. code:: shell\n\n pip install sanic-devtools\n\n\nQuick Start\n-----------\n\n.. code:: shell\n\n \u22ca> ~ sdev --help\n\n Usage: sdev [OPTIONS] COMMAND [ARGS]...\n\n Options:\n -V, --version Show the version and exit.\n --help Show this message and exit.\n\n Commands:\n new Creates a new sanic project with batteries included.\n runserver Run a development server for an Sanic app.\n\n\nUsage\n-----\n\n``sanic-devtools`` provides several commands to help you develop Sanic Application easily.\n\n\nrunserver\n~~~~~~~~~\n\nProvides a simple local server for running your application while you're developing, it helps you live reload your Sanic\napplication automatically while developing and having any code change.\n\n.. code:: shell\n\n sdev runserver \n\n\n``app-path`` can be a path to either a directory containing a recognized default file (app.py or main.py) or to a specific file.\nThe ``--app-factory`` option can be used to define which method is called from the app path file,\nif not supplied some default method names are tried (``app/app_factory/get_app/create_app``).\n\nAll runserver arguments can be set via environment variables.\n\n\nFor more details, try:\n\n.. code:: shell\n\n sdev runserver --help\n\nnew\n~~~\n\nCreates a new sanic project with batteries included in seconds.\n\n.. code:: shell\n\n sdev new --output-dir \n\n\nBy default, ``sdev`` uses `cookiecutter-sanic `_ as default template under the hood.\nYou may override it by passing ``--template-src`` option.\n\nFor more details, try:\n\n.. code:: shell\n\n sdev new --help\n\n\nAlso feel free to add any tool/command that helps developing ``Sanic`` application smoothly, just create a PR/issue and let us know !\n\n\nContributing\n------------\n\n``sanic-devtools`` accepts contributions on GitHub, in the form of issues or pull requests.\n\nRun unit tests.\n\n.. code:: shell\n\n tox -e py36\n\nor \n\n.. code:: shell\n\n ./uranium test\n\nTest command locally.\n\n.. code:: shell\n\n ./uranium\n ./bin/sdev runserver ./example/app.py\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yunstanford/sanic-devtools/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "sanic-devtools", "package_url": "https://pypi.org/project/sanic-devtools/", "platform": "", "project_url": "https://pypi.org/project/sanic-devtools/", "project_urls": { "Homepage": "https://github.com/yunstanford/sanic-devtools/" }, "release_url": "https://pypi.org/project/sanic-devtools/0.1.0/", "requires_dist": [ "aiohttp (>=3.5.0)", "cookiecutter", "click (>=6.6)", "devtools (>=0.5)", "Pygments (>=2.2.0)", "watchgod (>=0.2)", "sanic" ], "requires_python": "", "summary": "dev tools for Sanic", "version": "0.1.0" }, "last_serial": 5772980, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e8eae507e41ac307525b23d805dc5754", "sha256": "270c5394d94f4c4c64711fa931a31431e1bca9e067a564fd025cc66d563ac25a" }, "downloads": -1, "filename": "sanic_devtools-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e8eae507e41ac307525b23d805dc5754", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20795, "upload_time": "2019-09-02T22:44:24", "url": "https://files.pythonhosted.org/packages/77/cb/8e02090cfd85730f159991d241fd7d9ef276da5a57cc76184a31b1209959/sanic_devtools-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "99834efd11dc17b6f3db139bb9337ace", "sha256": "edabe133c551257a86434b5aaa67b45bd260c7fdba086ce46f352314961d5b39" }, "downloads": -1, "filename": "sanic-devtools-0.1.0.tar.gz", "has_sig": false, "md5_digest": "99834efd11dc17b6f3db139bb9337ace", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16290, "upload_time": "2019-09-02T22:44:27", "url": "https://files.pythonhosted.org/packages/6c/19/130815d88f6de270f13979d3af0f29868e290ea3cbb3fb5cf4b3d81c8372/sanic-devtools-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8eae507e41ac307525b23d805dc5754", "sha256": "270c5394d94f4c4c64711fa931a31431e1bca9e067a564fd025cc66d563ac25a" }, "downloads": -1, "filename": "sanic_devtools-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e8eae507e41ac307525b23d805dc5754", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20795, "upload_time": "2019-09-02T22:44:24", "url": "https://files.pythonhosted.org/packages/77/cb/8e02090cfd85730f159991d241fd7d9ef276da5a57cc76184a31b1209959/sanic_devtools-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "99834efd11dc17b6f3db139bb9337ace", "sha256": "edabe133c551257a86434b5aaa67b45bd260c7fdba086ce46f352314961d5b39" }, "downloads": -1, "filename": "sanic-devtools-0.1.0.tar.gz", "has_sig": false, "md5_digest": "99834efd11dc17b6f3db139bb9337ace", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16290, "upload_time": "2019-09-02T22:44:27", "url": "https://files.pythonhosted.org/packages/6c/19/130815d88f6de270f13979d3af0f29868e290ea3cbb3fb5cf4b3d81c8372/sanic-devtools-0.1.0.tar.gz" } ] }