{ "info": { "author": "Pawe\u0142 Kacperski", "author_email": "screamingbox@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP :: HTTP Servers" ], "description": "============================\r\nIdeaPy (Idea for Python)\r\n============================\r\n\r\nIdeaPy is a simple WWW server built on top of CherryPy, with Python code execution feature.\r\n\r\n\r\nFeatures\r\n----------------------------------\r\n- ability to execute Python code\r\njust like Apache2 + mod_php\r\n- all static files are streamed\r\nby default\r\n- you can add unlimited\r\nnumber of virtual hosts\r\n- one dependency: CherryPy\r\n\r\n\r\nExample: \"Hello World\" in a IdeaPy\r\n----------------------------------\r\npython3 -m ideapy\r\n\r\ngo to http://localhost:8888/examples/default_page/\r\nor http://localhost:8888/ to view directory listing\r\n\r\n\r\nOwn usage\r\n----------------------------------\r\n\r\nimport ideapy\r\n\r\nIdeaPy.setup_cherrypy() #optional\r\nidea = IdeaPy()\r\n\r\nidea.start()\r\nidea.block()\r\n\r\n\r\nAdvanced usage\r\n----------------------------------\r\nimport ideapy\r\n\r\nIdeaPy.setup_cherrypy() #optional\r\nidea = IdeaPy()\r\n\r\n#change CherryPy config, like sessions, etc.\r\n\r\n#now add some virtual hosts\r\n\r\n#to serve content on http://localhost:8080\r\n#with directory index disabled\r\nidea.add_virtual_host(\r\n document_root='/',\r\n listen_ips=['127.0.0.1'],\r\n listen_port=8080,\r\n opt_indexes=False)\r\n\r\n#to serve content on\r\n#http://localhost:8080, http://api.localhost:8080, http://api:8080\r\n#with directory index disabled\r\nidea.add_virtual_host(\r\n document_root='/',\r\n listen_ips=['127.0.0.1'],\r\n listen_port=8080,\r\n server_name='localhost',\r\n server_aliases=['api'],\r\n opt_indexes=False)\r\n\r\n#to serve /jinja2_app/ directory on\r\n#http://virtualbox:8443, http://jinja2_app:8443, http://jinja2_app.virtualbox:8443\r\n#https://virtualbox:8443, https://jinja2_app:8443, https://jinja2_app.virtualbox:8443\r\n#with SSL enabled\r\nidea.add_virtual_host(\r\n document_root='/jinja2_app/',\r\n listen_ips=['0.0.0.0'],\r\n listen_port=8443,\r\n server_name='virtualbox',\r\n server_aliases=['jinja2_app'],\r\n ssl_certificate = '/bundle.crt',\r\n ssl_private_key = '/private_key.key')\r\n\r\nidea.start()\r\nidea.block()\r\n\r\n\r\nHomepage\r\n----------------------------------\r\nhttps://github.com/skazanyNaGlany/ideapy", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/skazanyNaGlany/ideapy", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ideapy", "package_url": "https://pypi.org/project/ideapy/", "platform": "", "project_url": "https://pypi.org/project/ideapy/", "project_urls": { "Homepage": "https://github.com/skazanyNaGlany/ideapy" }, "release_url": "https://pypi.org/project/ideapy/0.1.6/", "requires_dist": null, "requires_python": null, "summary": "IdeaPy is a simple WWW server built on top of CherryPy, with Python code execution feature", "version": "0.1.6" }, "last_serial": 2917926, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "05d74d3e9c630f5f0c736611cc0f9e50", "sha256": "49e1d98652249646ea17700962cda996bb00a1f91923cedc3f24a1cb90a2827c" }, "downloads": -1, "filename": "ideapy-0.1.3.tar.gz", "has_sig": false, "md5_digest": "05d74d3e9c630f5f0c736611cc0f9e50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11255, "upload_time": "2016-12-28T00:45:23", "url": "https://files.pythonhosted.org/packages/5d/f3/59ec89aa9423b348d6004608168e9c4157fee3bfbc0a8215c8b270ccaaa8/ideapy-0.1.3.tar.gz" } ], "0.1.4": [], "0.1.5": [ { "comment_text": "", "digests": { "md5": "4b541eb6e9f1a99fea28ed5d8d3081f5", "sha256": "82f4faa189727eb0237409d43927c70df5766cc53ef5df400f438d48b4a022d4" }, "downloads": -1, "filename": "ideapy-0.1.5.tar.gz", "has_sig": false, "md5_digest": "4b541eb6e9f1a99fea28ed5d8d3081f5", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 11849, "upload_time": "2017-06-01T20:11:02", "url": "https://files.pythonhosted.org/packages/59/f3/644f4d7d9d9db0ef74a02b6ada208ac1a6040a31fe3f1a43ac152e4805ca/ideapy-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "e94aca3c2ae57cb8ba6c30c024d29a64", "sha256": "1bb2bac80fc976a328d91dc88fe8dd4f759295bbefb2532183c10ba16b8d7ad9" }, "downloads": -1, "filename": "ideapy-0.1.6.tar.gz", "has_sig": false, "md5_digest": "e94aca3c2ae57cb8ba6c30c024d29a64", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 11854, "upload_time": "2017-06-01T20:19:41", "url": "https://files.pythonhosted.org/packages/80/48/fc049d8716e34f9a06d25bd944a425c062ca9fbdad9081531a0df6f09a03/ideapy-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e94aca3c2ae57cb8ba6c30c024d29a64", "sha256": "1bb2bac80fc976a328d91dc88fe8dd4f759295bbefb2532183c10ba16b8d7ad9" }, "downloads": -1, "filename": "ideapy-0.1.6.tar.gz", "has_sig": false, "md5_digest": "e94aca3c2ae57cb8ba6c30c024d29a64", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 11854, "upload_time": "2017-06-01T20:19:41", "url": "https://files.pythonhosted.org/packages/80/48/fc049d8716e34f9a06d25bd944a425c062ca9fbdad9081531a0df6f09a03/ideapy-0.1.6.tar.gz" } ] }