{ "info": { "author": "Randall Leeds", "author_email": "randall@meebo-inc.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Other Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "About\n-----\n\nGreins is a Gunicorn_ application which makes it easy to configure and\nmanage any number of WSGI_ apps in one server daemon. It aims to simplify\nthe process of setting up any number of system-wide Gunicorn_ daemons.\n\nInstallation\n------------\n\nGreins requires a working version of Gunicorn_. It is recommended to read and\nunderstand the Gunicorn_ installation instructions before using Greins.\n\nInstall from sources::\n\n $ python setup.py install\n\nInstall as an rpm::\n\n $ make rpm\n\nWhatever was here before was wrong. There is no place in PyPI for Greins.\nThe most useful aspects of Greins are in the packaging, since it aims to\nfacilitate deployment of Gunicorn and adds no particular functionality itself.\n\nThere's an init script in etc/init aims to be LSB-compliant and packaging\nfor other distributions and systems is an ongoing effort.\n\nThose wishing to deploy Greins for their own infrastructure are encouraged\nto contribute to the development.\n\nBasic Usage\n-----------\n\nGreins installs one command line script invoked as ``greins``.\n\ngreins\n+++++++++\n\nOptions are the same as for Gunicorn_ with one exception: the single\nAPP_MODULE argument is replaced by APP_DIR, a directory containing python\nsource files as described in the following section.\n\nApplication Configuration\n+++++++++++++++++++++++++\n\nApplications should be configured by placing a python source file in the\nconfiguration directory. This file should populate a dictionary in the global\nscope called ``mounts`` which maps address prefixes (or 'mount points') to\nWSGI handler functions.\n\nThese files are evaluated just like a Gunicorn_ `config file`_. Server hooks\nare valid in these configuration files and work as in Gunicorn_. Other options,\nsuch as logging and worker configuration, are ignored and should be configured\nglobally for the Greins application.\n\nAs a convenience, a file name ``myapp`` which does not define any ``mounts``\nwill try to import ``myapp:application`` and mount it underneath the path\n``/myapp``.\n\nIt should be possible to write an application for Gunicorn_ and then place\na Gunicorn_ configuration file inside the configuration directory for Greins\nto begin using it within Greins immediately, provided that the config file name\nmatches a module in the python path which exports ``application`` as a WSGI_\ncallable.\n\nExamples\n++++++++\n\nThe examples directory runs a single ``greins`` application from the file\n``test.py`` which demonstrates loading several routes as well as using the\n``gunicorn`` server hooks. To run the examples, launch ``greins`` from the\ndirectory above ``examples`` with:\n\n $ greins examples\n\nThe ``greins`` command accepts ``gunicorn`` options. For example:\n\n $ greins -kgevent -b0.0.0.0:8080 examples\n\nLICENSE\n-------\n\nGreins is released under the MIT License. See the LICENSE_ file for more\ndetails.\n\n.. _Gunicorn: http://gunicorn.org/\n.. _WSGI: http://wsgi.org/\n.. _`config file`: http://gunicorn.org/configuration.html\n.. _LICENSE: https://github.com/meebo/greins/blob/master/LICENSE", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/meebo/greins", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "greins", "package_url": "https://pypi.org/project/greins/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/greins/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/meebo/greins" }, "release_url": "https://pypi.org/project/greins/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Greins is tack for Gunicorn.", "version": "0.2.1" }, "last_serial": 792695, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "95fc82b27cc94aa7e859701fbf697e62", "sha256": "0189d2c0757ce802fb8759c42135e12e39b44d7820ca62e3f893344a9f973eb8" }, "downloads": -1, "filename": "greins-0.2.0.tar.gz", "has_sig": true, "md5_digest": "95fc82b27cc94aa7e859701fbf697e62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8269, "upload_time": "2011-09-20T01:57:39", "url": "https://files.pythonhosted.org/packages/2e/6c/71d2649a09aa86499fee0ac196442ce26872a904225b5f825b0c223bb86b/greins-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "built for Linux-3.0.0-12-generic-x86_64-with-glibc2.4", "digests": { "md5": "cdb70817058091253dbd2fbf95afa99e", "sha256": "53e287cb31059baeccb6afe666b516b3eca2006ee2b6bd29d6cfbecc619a689f" }, "downloads": -1, "filename": "greins-0.2.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "cdb70817058091253dbd2fbf95afa99e", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 11057, "upload_time": "2011-10-19T02:31:40", "url": "https://files.pythonhosted.org/packages/58/0e/e744f282aa325a40b58605d2af06b1d657da69aaccc7bc23fb345cb1a67f/greins-0.2.1.linux-x86_64.tar.gz" } ] }, "urls": [ { "comment_text": "built for Linux-3.0.0-12-generic-x86_64-with-glibc2.4", "digests": { "md5": "cdb70817058091253dbd2fbf95afa99e", "sha256": "53e287cb31059baeccb6afe666b516b3eca2006ee2b6bd29d6cfbecc619a689f" }, "downloads": -1, "filename": "greins-0.2.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "cdb70817058091253dbd2fbf95afa99e", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 11057, "upload_time": "2011-10-19T02:31:40", "url": "https://files.pythonhosted.org/packages/58/0e/e744f282aa325a40b58605d2af06b1d657da69aaccc7bc23fb345cb1a67f/greins-0.2.1.linux-x86_64.tar.gz" } ] }