{ "info": { "author": "Gerold Penz", "author_email": "gerold@halvar.at", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: CherryPy", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", "Topic :: Internet :: WWW/HTTP :: WSGI :: Server" ], "description": "########################\nCherryPy CGI-Server Tool\n########################\n\nMit dem CherryPy Tool *cherrypy-cgiserver* kann man aus CherryPy einen\nvollwertigen CGI-Server (Common Gateway Interface) machen.\nDamit lassen sich sogar PHP-Dateien ausf\u00fchren und ausliefern.\nEs muss nur der PHP-Interpreter auf dem Computer installiert sein.\nEin zus\u00e4tzlicher Apache-Server ist nicht n\u00f6tig.\n\nSo einfach l\u00e4sst sich aus CherryPy ein vollwertiger PHP-Server machen:\n\n.. code:: python\n\n #!/usr/bin/env python\n # coding: utf-8\n\n import os\n import cherrypy\n import cpcgiserver\n\n THISDIR = os.path.dirname(os.path.abspath(__file__))\n\n def main():\n config = {\n \"global\": {\n \"server.socket_host\": \"0.0.0.0\",\n \"server.socket_port\": 8080,\n },\n \"/\": {\n \"tools.cgiserver.on\": True,\n \"tools.cgiserver.dir\": THISDIR,\n \"tools.cgiserver.base_url\": \"/\",\n \"tools.cgiserver.handlers\": {\".php\": \"/usr/bin/php-cgi\"},\n }\n }\n app = cherrypy.Application(None, config = config)\n cherrypy.quickstart(app, config = config)\n\n if __name__ == \"__main__\":\n main()\n\n\n============\nInstallation\n============\n\n `pip install cherrypy-cgiserver`\n or\n `easy_install cherrypy-cgiserver`\n\n\n=====\nLinks\n=====\n\n- Homepage: http://gerold-penz.github.com/cherrypy-cgiserver/\n- Sourcecode: https://github.com/gerold-penz/cherrypy-cgiserver\n\n\n========\nLizenzen\n========\n\n- http://gerold-penz.github.com/cherrypy-cgiserver/#lizenzen", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/gerold-penz/cherrypy-cgiserver/raw/master/dist/cherrypy-cgiserver-0.3.6.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://gerold-penz.github.com/cherrypy-cgiserver/", "keywords": "CherryPy Web CGI Tool", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "cherrypy-cgiserver", "package_url": "https://pypi.org/project/cherrypy-cgiserver/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cherrypy-cgiserver/", "project_urls": { "Download": "https://github.com/gerold-penz/cherrypy-cgiserver/raw/master/dist/cherrypy-cgiserver-0.3.6.tar.gz", "Homepage": "http://gerold-penz.github.com/cherrypy-cgiserver/" }, "release_url": "https://pypi.org/project/cherrypy-cgiserver/0.3.6/", "requires_dist": null, "requires_python": null, "summary": "Python CGI Server - Perfect To Deliver PHP Files Within A Python CherryPy Application", "version": "0.3.6" }, "last_serial": 2302569, "releases": { "0.2.4": [], "0.2.4.a": [], "0.2.5": [], "0.2.6": [], "0.2.7": [], "0.2.9": [], "0.3.1": [], "0.3.2": [], "0.3.3": [], "0.3.4": [], "0.3.5": [ { "comment_text": "", "digests": { "md5": "18883d3ffc8ad6bd46522dd0521de43a", "sha256": "db5ca4aedc02197eaf6276b3c6cc7b1eb5ffa831a6319c56acd6084bbaaa9cbb" }, "downloads": -1, "filename": "cherrypy-cgiserver-0.3.5.tar.gz", "has_sig": false, "md5_digest": "18883d3ffc8ad6bd46522dd0521de43a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50391, "upload_time": "2014-06-29T13:02:00", "url": "https://files.pythonhosted.org/packages/05/66/58ae4c86fcf3dce6c2eeefa8c1f36335afd64528545a60c144065123d3bf/cherrypy-cgiserver-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "fa94f1a68843021a887af7c989d82d6e", "sha256": "c98a57597bb461d02ae71d9a41e1756dc5bb36298dc917e71c84363c72275ce9" }, "downloads": -1, "filename": "cherrypy-cgiserver-0.3.6.tar.gz", "has_sig": false, "md5_digest": "fa94f1a68843021a887af7c989d82d6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50453, "upload_time": "2016-08-25T13:57:28", "url": "https://files.pythonhosted.org/packages/fd/c1/ee6a93f55b301ad190859c48a1269cd448673ba75ec501afb4fd6741f569/cherrypy-cgiserver-0.3.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fa94f1a68843021a887af7c989d82d6e", "sha256": "c98a57597bb461d02ae71d9a41e1756dc5bb36298dc917e71c84363c72275ce9" }, "downloads": -1, "filename": "cherrypy-cgiserver-0.3.6.tar.gz", "has_sig": false, "md5_digest": "fa94f1a68843021a887af7c989d82d6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50453, "upload_time": "2016-08-25T13:57:28", "url": "https://files.pythonhosted.org/packages/fd/c1/ee6a93f55b301ad190859c48a1269cd448673ba75ec501afb4fd6741f569/cherrypy-cgiserver-0.3.6.tar.gz" } ] }