{ "info": { "author": "Jim Fulton", "author_email": "jim@zope.com", "bugtrack_url": null, "classifiers": [], "description": "Run WSGI applications defined by paste.deploy configurations\n**************************************************************\n\n.. contents::\n\nA script, ``run-wsgi`` is provided that runs WSGI applications defined\nin `Paste Deployment `_ configuration\nfiles. For example, given a configuration file, ``paste.ini``::\n\n [app:main]\n use = egg:bobo\n bobo_resources = myapp\n\n [pipeline:debug]\n pipeline = debug reload main\n\n [filter:reload]\n use = egg:bobo#reload\n modules = zc.wsgirunner.tests\n\n [filter:debug]\n use = egg:bobo#debug\n\n [server:main]\n use = egg:waitress\n host = localhost\n port = 8080\n\n [configure:main]\n use = call:myapp:config\n key = 42\n\n [logging:main]\n log = INFO\n\nWe can run the applicaton with [#run]_::\n\n run-wsgi paste.ini\n\nIf we want to run the debug pipeline::\n\n run-wsgi -a debug paste.ini\n\nLogging and configuration\n=========================\n\n``zc.wsgirunner`` extends the Paste Deploy vocabulary of sections with\n``logging`` and ``configuration`` sections.\n\nAs with the other sections, you can have multiple sections and select\nwhich one you want with command-line options.\n\nLogging sections\n----------------\n\nLogging sections come in 2 flavors, ZConfig, and basic. If a logging\nsection has a ``config`` option, its value is passed `ZConfig's\n`_ [#zconfig]_ ``configureLoggers``\nmethod. Otherwise, the options in the logging section are passed to\n``logging.basicConfig``.\n\nConfiguration sections\n----------------------\n\nConfiguration sections identify a configuration function with a\n``use`` option, as with other Paste Deploy sections. The\nconfiguration object is called with global defaults and with options\nfrom the configuration section.\n\nChanges\n*******\n\n0.1.0 (2014-04-12)\n==================\n\nInitial release\n\n.. [#run]\n You should use a tool like `ZDaemon `_\n or `supervisord `_ with ``run-wsgi`` in production.\n ``run-wsgi`` doesn't daemonize itself.\n\n.. [#zconfig]\n ZConfig provides the easiest way to create non-trivial logger\n configurations.\n\n Note, however, that ZConfig isn't a dependency of\n ``zc.wsgirunner``, so if you want to use ZConfig to configure\n logging, you need to install it separately.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "zc.wsgirunner", "package_url": "https://pypi.org/project/zc.wsgirunner/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zc.wsgirunner/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/zc.wsgirunner/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "**************************************************************", "version": "0.1.0" }, "last_serial": 1059197, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2877a7bc663e4a175253f5a3a717e5f7", "sha256": "431a89382746eeb33451db33881b330fd6558885ed8fe9be48d8a0b84c2083e6" }, "downloads": -1, "filename": "zc.wsgirunner-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2877a7bc663e4a175253f5a3a717e5f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4912, "upload_time": "2014-04-12T21:13:48", "url": "https://files.pythonhosted.org/packages/9e/fe/7fcd09aad8760441a1ba941d3642249578e047b5771c2656f2f0ae4fe7c6/zc.wsgirunner-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2877a7bc663e4a175253f5a3a717e5f7", "sha256": "431a89382746eeb33451db33881b330fd6558885ed8fe9be48d8a0b84c2083e6" }, "downloads": -1, "filename": "zc.wsgirunner-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2877a7bc663e4a175253f5a3a717e5f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4912, "upload_time": "2014-04-12T21:13:48", "url": "https://files.pythonhosted.org/packages/9e/fe/7fcd09aad8760441a1ba941d3642249578e047b5771c2656f2f0ae4fe7c6/zc.wsgirunner-0.1.0.tar.gz" } ] }