{ "info": { "author": "Giacomo Bagnoli", "author_email": "g.bagnoli@asidev.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Paste", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Internet :: WWW/HTTP :: WSGI :: Server", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Terminals" ], "description": ".. -*- restructuredtext -*-\n\npasteuwsgi\n===========\n\n*pasteuwsgi* is a simple python paste (http://pythonpaste.org/) plugin\nwhich adds a command that serve the application for using uWSGI\n(http://projects.unbit.it/uwsgi/) integrated HTTP server. It can monitor python\nfiles and automatically reload uWSGI on file change. It's focused for local\ndevelopment to easily test uWSGI specific features.\n\ninstall\n=======\n\nFirst, to use *pasteuwsgi* you need uWSGI installed, both sistem wide or\nin the virtualenv. Check the uWSGI documentation on how to install uWSGI\n(http://projects.unbit.it/uwsgi/wiki/Install). The simplest way is to install\nuwsgi in the virtualenv, using pip::\n\n # pip install uwsgi\n\nThen, you can install *pasteuwsgi* via pypi::\n\n # pip install pasteuwsgi\n\nOr, if you want the last unstable version, directly from bitbucket (again, using pip)::\n \n # pip install -e hg+https://bitbucket.org/gbagnoli/pasteuwsgi#egg=pasteuwsgi\n\nOr you can clone the hg repo and then install::\n\n # hg clone https://gbagnoli@bitbucket.org/gbagnoli/pasteuwsgi\n # pip install -e ./\n\nusage\n=====\n\nOnce installed, simply add this line to setup.py of your paste app::\n\n uwsgi = pasteuwsgi.serve:ServeCommand\n\nin the \"[paste.paster_command]\" section of the entry_point\nargument.\n\ni.e. for a pylons-1.0 application::\n\n entry_points=\"\"\"\n [paste.app_factory]\n main = aybu.cms.config.middleware:make_app\n\n [paste.app_install]\n main = pylons.util:PylonsInstaller\n\n [paste.paster_command]\n uwsgi = pasteuwsgi.serve:ServeCommand\n \"\"\",\n\nYou may need to re-run setuptools egg_info after adding the new entry_point::\n \n # cd my-project\n # python setup.py egg_info\n\noptions\n=======\n\n--address\n Override the http server listening address.\n--port\n Override the http server listening port.\n--reload\n Setup a monitor (using pyinotify) to watch application code to reload on changes. It also monitors code installed in the virtualenv.\n--uwsgi\n Pass additional options to uWSGI directly. Remember that you neeed to wrap uWSGI options with quotes.\n--plugins\n Load uWSGI plugins (for uWSGI >= 0.9.7)\n\n\nexamples\n========\n\nTo simply run it as you did with paster serve::\n\n paster uwsgi development.ini --reload\n\nYou can add uwsgi options using the -w switch ::\n\n # run with 2 workers with two threads each\n paster uwsgi development.ini --reload -w \"-workers 2 --threads 2\"\n\nYou can even add common options (such the threads or the process one, or\nothers) to a [uwsgi] section inside the paste ini (development.ini in the above\nexample)::\n \n [...]\n [uwsgi]\n threads = 2\n workers = 2\n\nThis works as *pasteuwsgi* passes --ini option to uwsgi with the same ini it\nuses.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/pasteuwsgi/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pasteuwsgi", "package_url": "https://pypi.org/project/pasteuwsgi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pasteuwsgi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/pasteuwsgi/" }, "release_url": "https://pypi.org/project/pasteuwsgi/0.1.8/", "requires_dist": null, "requires_python": null, "summary": "Paster command to use uwsgi as server for local development", "version": "0.1.8" }, "last_serial": 796054, "releases": { "0.1.4": [], "0.1.5": [ { "comment_text": "", "digests": { "md5": "9b5f722c982f46d9197121ca8a0aae82", "sha256": "e7745d352da46a155138eaae9528d9f52e25b78722c4b92d10f1ad1b0a7b2ad0" }, "downloads": -1, "filename": "pasteuwsgi-0.1.5.tar.gz", "has_sig": false, "md5_digest": "9b5f722c982f46d9197121ca8a0aae82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5495, "upload_time": "2011-07-09T14:13:08", "url": "https://files.pythonhosted.org/packages/59/3d/cc94baa30e3f93f2d5ee601b29027d49b920ad8be79ba97add86bcf94eef/pasteuwsgi-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "a887841da7e8904fc30c46560dea97ae", "sha256": "7b6cb249ba8dee8e8e802875f6d8167d6f0d831d12d0cb0e732ac0c10ae98f72" }, "downloads": -1, "filename": "pasteuwsgi-0.1.6.tar.gz", "has_sig": false, "md5_digest": "a887841da7e8904fc30c46560dea97ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6154, "upload_time": "2011-07-09T14:21:52", "url": "https://files.pythonhosted.org/packages/c9/7f/53cfdb67e144273ada3135631b70dab462d716dea30f0aba3faa215a5171/pasteuwsgi-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "3d88ea90482f96378224f9d2c113c8a1", "sha256": "857a54f4c8fa886be0d1d50c978bc8c3d4ce8f1544a9e2ebd07406f397ecd16b" }, "downloads": -1, "filename": "pasteuwsgi-0.1.7.tar.gz", "has_sig": false, "md5_digest": "3d88ea90482f96378224f9d2c113c8a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6242, "upload_time": "2011-07-10T12:18:48", "url": "https://files.pythonhosted.org/packages/78/39/0339e3aa6292f2f82cd2de06143a52a6ba7cb3d2680d5851241b6768d732/pasteuwsgi-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "34f2535aaa24843a0cb903adac53b2f0", "sha256": "23cc1e4f63991a16a69745f013805d0ee562abd00344ea8a8391102b560fecdf" }, "downloads": -1, "filename": "pasteuwsgi-0.1.8.tar.gz", "has_sig": false, "md5_digest": "34f2535aaa24843a0cb903adac53b2f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5579, "upload_time": "2011-07-15T21:30:57", "url": "https://files.pythonhosted.org/packages/9f/ff/322ec31f1b82e7029d81a3226b945d57374e55a2fee41ec2b85439fa135e/pasteuwsgi-0.1.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34f2535aaa24843a0cb903adac53b2f0", "sha256": "23cc1e4f63991a16a69745f013805d0ee562abd00344ea8a8391102b560fecdf" }, "downloads": -1, "filename": "pasteuwsgi-0.1.8.tar.gz", "has_sig": false, "md5_digest": "34f2535aaa24843a0cb903adac53b2f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5579, "upload_time": "2011-07-15T21:30:57", "url": "https://files.pythonhosted.org/packages/9f/ff/322ec31f1b82e7029d81a3226b945d57374e55a2fee41ec2b85439fa135e/pasteuwsgi-0.1.8.tar.gz" } ] }