{ "info": { "author": "Andrey Popp", "author_email": "8mayday@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Plugins", "Framework :: Paste", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: HTTP Servers" ], "description": "PasteGevent\n===========\n\nWith pastegevent package you can run your WSGI applications on top of gevent's\nhigh performace HTTP server.\n\nConfiguration\n-------------\n\nJust use *egg:pastegevent#gevent* as use directive value of your server\nconfiguration section:\n\n::\n\n [server:main]\n use = egg:pastegevent#gevent\n\nIf you need to pastegevent to monkey patch stdlib modules for you, use\n*egg:pastegevent#gevent_patched*. This will monkey patch all, except DNS\nsubsystem:\n\n::\n\n [server:main]\n use = egg:pastegevent#gevent_patched\n\nBut no DNS patching is performed due to inability to reinitialize libevent's DNS\nsubsystem after forking.\n\nUsing of asynchronous DNS resolving with evdns\n----------------------------------------------\n\nIf your application relies heavy on asyncronous DNS resolving, you probably\nstill need to patch stdlib to use evdns to resolve domain names. Fortunately\nthere are few steps to workaround issue with evdns initialization.\n\nFirst thing to do is to be sure not not make any network interactions before\nserver startup, so libevent (and its DNS subsystem in particular) will be not\nbe initialized before daemonization. That means no network code in WSGI\napplication factory.\n\nThen you should configure server to use non-patched version of gevent server\nfactory:\n\n::\n\n [server:main]\n use = egg:pastegevent#gevent\n\nand patch DNS yourself in application factory:\n\n::\n\n def app(global_config, **settings):\n from gevent.monkey import patch_all\n patch_all()\n return wsgi_app\n \nNow your application can take the advantages of asyncronous DNS resolving.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "paste wsgi gevent", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pastegevent", "package_url": "https://pypi.org/project/pastegevent/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pastegevent/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/pastegevent/0.1/", "requires_dist": null, "requires_python": null, "summary": "Run WSGI applications with PasteDeploy and gevent.", "version": "0.1" }, "last_serial": 796052, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "49d2ef6ff7ff54e0bf66260bb6463d42", "sha256": "01c74da9a662151bb3b9aae9482566cbe540db4991762f1d7209774cf788126e" }, "downloads": -1, "filename": "pastegevent-0.1-py2.6.egg", "has_sig": false, "md5_digest": "49d2ef6ff7ff54e0bf66260bb6463d42", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 3035, "upload_time": "2010-02-14T23:01:49", "url": "https://files.pythonhosted.org/packages/10/ed/b1bdb56081fa9966f270adde00be7a5370a106096a6a1819a1b57175c4f1/pastegevent-0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "7b26fed0f31f9bc0865e5c648ad6e787", "sha256": "bbcfa32358e44d21607260073f8aa577978decc53e01c35558e384721fd2e76b" }, "downloads": -1, "filename": "pastegevent-0.1.tar.gz", "has_sig": false, "md5_digest": "7b26fed0f31f9bc0865e5c648ad6e787", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1790, "upload_time": "2010-02-14T23:01:40", "url": "https://files.pythonhosted.org/packages/e6/b8/e742b553f167ddfa0b05a04c6fbb18052e499560dab46fb3096ff9513133/pastegevent-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "49d2ef6ff7ff54e0bf66260bb6463d42", "sha256": "01c74da9a662151bb3b9aae9482566cbe540db4991762f1d7209774cf788126e" }, "downloads": -1, "filename": "pastegevent-0.1-py2.6.egg", "has_sig": false, "md5_digest": "49d2ef6ff7ff54e0bf66260bb6463d42", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 3035, "upload_time": "2010-02-14T23:01:49", "url": "https://files.pythonhosted.org/packages/10/ed/b1bdb56081fa9966f270adde00be7a5370a106096a6a1819a1b57175c4f1/pastegevent-0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "7b26fed0f31f9bc0865e5c648ad6e787", "sha256": "bbcfa32358e44d21607260073f8aa577978decc53e01c35558e384721fd2e76b" }, "downloads": -1, "filename": "pastegevent-0.1.tar.gz", "has_sig": false, "md5_digest": "7b26fed0f31f9bc0865e5c648ad6e787", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1790, "upload_time": "2010-02-14T23:01:40", "url": "https://files.pythonhosted.org/packages/e6/b8/e742b553f167ddfa0b05a04c6fbb18052e499560dab46fb3096ff9513133/pastegevent-0.1.tar.gz" } ] }