{ "info": { "author": "Masashi Shibata ", "author_email": "contact@c-bata.link", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "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 :: 3 :: Only", "Topic :: Internet :: WWW/HTTP :: WSGI" ], "description": "=======\nWSGICLI\n=======\n\n.. image:: https://travis-ci.org/kobinpy/wsgicli.svg?branch=master\n :target: https://travis-ci.org/kobinpy/wsgicli\n\n.. image:: https://badge.fury.io/py/wsgicli.svg\n :target: https://badge.fury.io/py/wsgicli\n\nCommand Line Interface for developing WSGI application.\nThis library has following features.\n\n**Run WSGI Application in wsgiref**\n\n* Run wsgi application with specified host and port.\n* Serving Static files.\n* Live reloading.\n* line by line profiling.\n* Validating your WSGI application complying with PEP3333 compliance.\n\n**Run python interpreter**\n\n* Supported interpreters are python(plain), ipython, bpython, ptpython and ptipython.\n* Automatically import SQLAlchemy and peewee models when run the interpreter.\n\n\nCommands\n========\n\nRun command\n-----------\n\nSynopsis\n~~~~~~~~\n\n.. code-block:: console\n\n $ wsgicli run [FILEPATH] [WSGIAPP] [Options]\n\n== ========= ==================== ========================================================\nNo Arguments Environment Variable Description\n== ========= ==================== ========================================================\n 1 FILEPATH ``WSGICLI_FILE`` The file path for your WSGI application.\n 2 WSGIAPP ``WSGICLI_WSGI_APP`` The variable name of your wsgi application object.\n== ========= ==================== ========================================================\n\n================================== ========================= ================= ====================================================================\nOptions Environment Variable Default Description\n================================== ========================= ================= ====================================================================\n``-h`` ``--host`` ``WSGICLI_HOST`` ``127.0.0.1`` The hostname to bind to.\n``-p`` ``--port`` ``WSGICLI_PORT`` 8000 The port to bind to.\n``--reload`` / ``--no-reload`` ``WSGICLI_RELOAD`` False Enable live reloading.\n``--interval`` ``WSGICLI_INTERVAL`` 1 Interval time to check file changed for reloading (sec).\n``--static`` / ``--no-static`` ``WSGICLI_STATIC`` False Enable static file serving.\n``--static-root`` ``WSGICLI_STATIC_ROOT`` ``/static/`` URL path to static files.\n``--static-dirs`` ``WSGICLI_STATIC_DIRS`` ``['./static/']`` Directories to static files (multiple).\n``--lineprof`` / ``--no-lineprof`` ``WSGICLI_LINEPROF`` False Enable line profiler.\n``--lineprof-file`` ``WSGICLI_LINEPROF_FILE`` WSGIAPP(2nd arg) The filename profiled by line-profiler.\n``--validate`` / ``--no-validate`` ``WSGICLI_VALIDATE`` False Validating your WSGI application complying with PEP3333.\n``--help`` Show help text.\n================================== ========================= ================= ====================================================================\n\nExample\n~~~~~~~\n\n.. code-block:: console\n\n $ wsgicli run main.py app -p 8080 --reload\n\n.. image:: https://raw.githubusercontent.com/kobinpy/wsgicli/master/resources/wsgicli-live-reloading-demo.gif\n :alt: WSGICLI Run Command DEMO\n :align: center\n\n\nShell command\n-------------\n\nSynopsis\n~~~~~~~~\n\n.. code-block:: console\n\n $ wsgicli shell [FILEPATH] [WSGIAPP] [Options]\n\n== ========= ===================== ========================================================\nNo Arguments Environment Variable Description\n== ========= ===================== ========================================================\n 1 FILEPATH ``WSGICLI_FILE_PATH`` The file path for your WSGI application.\n 2 WSGIAPP ``WSGICLI_WSGI_APP`` The variable name of your wsgi application object.\n== ========= ===================== ========================================================\n\n================================== ======================== ============== ====================================================================\nOptions Environment Variable Default Description\n================================== ======================== ============== ====================================================================\n``-i`` ``--interpreter`` ``WSGICLI_INTERPRETER`` ``'python'`` Supported interpreters are ipython, bpython, ptpython and ptipython.\n``--models`` / ``--no-models`` ``WSGICLI_MODELS`` True Automatically import ORM table definition from your app.\n``--help`` Show help text.\n================================== ======================== ============== ====================================================================\n\n\nExample\n~~~~~~~\n\n.. code-block:: console\n\n $ wsgicli shell main.py app --interpreter ipython\n\n.. image:: https://raw.githubusercontent.com/kobinpy/wsgicli/master/resources/wsgicli-shell-demo.gif\n :alt: WSGICLI Run Command DEMO\n :align: center\n\n\nRequirements\n============\n\n- Python 3.3 or later\n- click\n- wsgi-static-middleware\n- wsgi-lineprof\n\n\nLicense\n=======\n\nThis software is licensed under the MIT License.\n\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/kobinpy/wsgicli", "keywords": "web framework wsgi", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "wsgicli", "package_url": "https://pypi.org/project/wsgicli/", "platform": "", "project_url": "https://pypi.org/project/wsgicli/", "project_urls": { "Homepage": "https://github.com/kobinpy/wsgicli" }, "release_url": "https://pypi.org/project/wsgicli/0.4.0/", "requires_dist": [ "click", "wsgi-lineprof", "wsgi-static-middleware" ], "requires_python": "", "summary": "Command Line Interface for developing WSGI application.", "version": "0.4.0" }, "last_serial": 2523421, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "70d63ad14b7d801f60b2e0be36f905cd", "sha256": "3da4d3e2cc06ab697e89b093cacefeea22558443534702e29d1081a426de7533" }, "downloads": -1, "filename": "wsgicli-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "70d63ad14b7d801f60b2e0be36f905cd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8516, "upload_time": "2016-11-30T03:04:36", "url": "https://files.pythonhosted.org/packages/1e/53/1c51660a2df19df88aa848ebe381faadcb0a63584f496f0583c2c6657731/wsgicli-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a60c2a80d17c35f46dde9aced467dcf", "sha256": "3bd073599f14fa4ef565667b762ba0e71ce625abb412be7d99cef15fd3cbbc87" }, "downloads": -1, "filename": "wsgicli-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4a60c2a80d17c35f46dde9aced467dcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6333, "upload_time": "2016-11-30T03:04:38", "url": "https://files.pythonhosted.org/packages/fd/d3/a1df803ea867514c446d9f5dd2e483e7da4359e2f2d47921ce5189215ac9/wsgicli-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "dcd3c1bd7b855ccacc08793f4f605e39", "sha256": "e1d3d08993fe397ada1aaf02a90d3c94398d8034b0ca9fb3e299648c436f0cc9" }, "downloads": -1, "filename": "wsgicli-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "dcd3c1bd7b855ccacc08793f4f605e39", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9549, "upload_time": "2016-11-30T17:07:03", "url": "https://files.pythonhosted.org/packages/f4/9e/de54df22e0455254eaee3922e9afc0224a7484e69d56fb5a114048911fa3/wsgicli-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "427d8500b63471eb6025e6b00bb64d6b", "sha256": "a2417802fc586deaf7020ba09bc6fd1a8ccebb527cc8e9aeaab78c257be2c81b" }, "downloads": -1, "filename": "wsgicli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "427d8500b63471eb6025e6b00bb64d6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7089, "upload_time": "2016-11-30T17:07:05", "url": "https://files.pythonhosted.org/packages/42/53/8037d2ef658795bcbb95642e248bb29149782cb6e839cd3c5ef67d01fe22/wsgicli-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "19b59a958185d9280f3738fe6716e856", "sha256": "6fcd4443c8ae5b928b2b0cfaf07de80e7c1a243d632cc2f5bb08afd0981723fd" }, "downloads": -1, "filename": "wsgicli-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "19b59a958185d9280f3738fe6716e856", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10186, "upload_time": "2016-12-02T18:53:46", "url": "https://files.pythonhosted.org/packages/0c/a0/21a573daa9d7c1b9265c686625038c0d88f14cc635dda7cb28d4ef1d32df/wsgicli-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "874a14326d51dd0af53309b688904a60", "sha256": "6780fb854c46aea68a4a3120111128566831b6434b146ac3ce4fa47bda1c0840" }, "downloads": -1, "filename": "wsgicli-0.2.0.tar.gz", "has_sig": false, "md5_digest": "874a14326d51dd0af53309b688904a60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7708, "upload_time": "2016-12-02T18:53:50", "url": "https://files.pythonhosted.org/packages/4c/5e/b150a12c127abf5ae4a11e06911511f06ed7c9cb286cca8bae2225643a6e/wsgicli-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "f8a380b94dc9f2326b44c63604070943", "sha256": "8b58614f3a8e2b35e007f2dc7d9a6d0d8aaa074c47ad19cfa10756dd6a6733b8" }, "downloads": -1, "filename": "wsgicli-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f8a380b94dc9f2326b44c63604070943", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10894, "upload_time": "2016-12-03T15:21:41", "url": "https://files.pythonhosted.org/packages/64/45/f8311a7ae96f87132841a1bcd5ea87c27e47482195d637c67180ef324b7f/wsgicli-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1bdb5e90a1bab2aee90c8a1f8e73f684", "sha256": "36fa010a3c31c21f845b313ecf0f26e50638474a2e1b0555d3dca9f3ac1a9f67" }, "downloads": -1, "filename": "wsgicli-0.2.1.tar.gz", "has_sig": false, "md5_digest": "1bdb5e90a1bab2aee90c8a1f8e73f684", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8396, "upload_time": "2016-12-03T15:21:43", "url": "https://files.pythonhosted.org/packages/25/ba/61599f5508011d5e796f6975d815225662bc2ef614f11b5af111e0a45021/wsgicli-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "35bee8b8a37b34fef16e4b478fb16487", "sha256": "a09df679e5c820979b8ab8fc0a8f2e7244920a6ebd4c10948dcda0a02582695c" }, "downloads": -1, "filename": "wsgicli-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "35bee8b8a37b34fef16e4b478fb16487", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11333, "upload_time": "2016-12-04T03:31:17", "url": "https://files.pythonhosted.org/packages/15/9a/1998e7a26ecea1cc50f833db7025391eba9daee158cb6f1865b2326d3e6a/wsgicli-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b9fab169547ace8402a12c8914de09a4", "sha256": "b646de3ec33d18952ce89f8318463f9cc09ba9d619c15249dc4a0a5bd58bb56c" }, "downloads": -1, "filename": "wsgicli-0.2.2.tar.gz", "has_sig": false, "md5_digest": "b9fab169547ace8402a12c8914de09a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8685, "upload_time": "2016-12-04T03:31:19", "url": "https://files.pythonhosted.org/packages/c0/56/97d2be373ad71684158cc79c498f24a9d9c6132436224f311c36b2c22785/wsgicli-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "eca6096cc62cf2a87c5628c6f36bff0c", "sha256": "f7d5a43f0432a4a6c7c7de11223fa486025c636ad8b455cbe3ecddb663144fe7" }, "downloads": -1, "filename": "wsgicli-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "eca6096cc62cf2a87c5628c6f36bff0c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11505, "upload_time": "2016-12-05T04:11:00", "url": "https://files.pythonhosted.org/packages/c2/5f/286ef35224cba06fc9287e256a6a79264964344d48d20004232301fe5d28/wsgicli-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee6a625a83273648eb95678afa13410c", "sha256": "379cfa34e47ed051a10306a73ce80b8774e460b2b7f39becf87e6ab3f5eeeaa7" }, "downloads": -1, "filename": "wsgicli-0.2.3.tar.gz", "has_sig": false, "md5_digest": "ee6a625a83273648eb95678afa13410c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8794, "upload_time": "2016-12-05T04:11:01", "url": "https://files.pythonhosted.org/packages/6c/14/b5b60fe85f12f50e228a268d1bcef366ba88b9c8d83872328390ac19b37e/wsgicli-0.2.3.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "843d6a22f321a1cc734a92db6a82464d", "sha256": "cd6a5bb5f7e363b796ba0c394affe26459c84a947ca606ec8ebbd3c5aaee974d" }, "downloads": -1, "filename": "wsgicli-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "843d6a22f321a1cc734a92db6a82464d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8852, "upload_time": "2016-12-05T16:58:55", "url": "https://files.pythonhosted.org/packages/2b/5e/80af74fdad622c53045a84d18550708efe56135ca9b5fc2330faf9fb85fa/wsgicli-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e438ce6365b305f59218ea0a2a215494", "sha256": "b41da229f5569876ad2c4f166f8ffd0342828909e6d731672657a398b06cfab2" }, "downloads": -1, "filename": "wsgicli-0.3.0.tar.gz", "has_sig": false, "md5_digest": "e438ce6365b305f59218ea0a2a215494", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7077, "upload_time": "2016-12-05T16:58:56", "url": "https://files.pythonhosted.org/packages/0f/95/50d06eee936742662e4878385af28bdaf90aa412672f682ca32b3ad91be8/wsgicli-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "12827406bec52a44a950e0502be0b150", "sha256": "fce5ca5d982c17910f7fbd2b4e577d3aaa48770759aab9f917fc1051c6f8ed34" }, "downloads": -1, "filename": "wsgicli-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "12827406bec52a44a950e0502be0b150", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9014, "upload_time": "2016-12-16T16:19:51", "url": "https://files.pythonhosted.org/packages/e6/66/d020321d4b2185ba40c1e89f22b10d66b38dba50f2d5d06972430d8bb5d1/wsgicli-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "887e85ec7214aad28762e4a1c68dadfe", "sha256": "e57298ebcf7859a5e07d6b65f61764c3ef9ab6806bc9ea5ed1bf8c63ac91a663" }, "downloads": -1, "filename": "wsgicli-0.4.0.tar.gz", "has_sig": false, "md5_digest": "887e85ec7214aad28762e4a1c68dadfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7193, "upload_time": "2016-12-16T16:19:52", "url": "https://files.pythonhosted.org/packages/aa/47/46a201c94642225cde0239377d037e3e0bdd0ce7891233fe48cfbfac4203/wsgicli-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "12827406bec52a44a950e0502be0b150", "sha256": "fce5ca5d982c17910f7fbd2b4e577d3aaa48770759aab9f917fc1051c6f8ed34" }, "downloads": -1, "filename": "wsgicli-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "12827406bec52a44a950e0502be0b150", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9014, "upload_time": "2016-12-16T16:19:51", "url": "https://files.pythonhosted.org/packages/e6/66/d020321d4b2185ba40c1e89f22b10d66b38dba50f2d5d06972430d8bb5d1/wsgicli-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "887e85ec7214aad28762e4a1c68dadfe", "sha256": "e57298ebcf7859a5e07d6b65f61764c3ef9ab6806bc9ea5ed1bf8c63ac91a663" }, "downloads": -1, "filename": "wsgicli-0.4.0.tar.gz", "has_sig": false, "md5_digest": "887e85ec7214aad28762e4a1c68dadfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7193, "upload_time": "2016-12-16T16:19:52", "url": "https://files.pythonhosted.org/packages/aa/47/46a201c94642225cde0239377d037e3e0bdd0ce7891233fe48cfbfac4203/wsgicli-0.4.0.tar.gz" } ] }