{ "info": { "author": "Atsuo Ishimoto", "author_email": "ishimoto@gembook.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Topic :: Internet :: Proxy Servers", "Topic :: Software Development :: Debuggers" ], "description": "localproxy\n------------------\n\nHTTP proxy server in twisted. If there is a directory with same name as target host (e.g.: www.example.com), contents of the directory are returned instead of making a request to the target host.\n\n\nInstall\n=======================\n\n::\n\n $ pip install localproxy\n\n\nUsage\n======================\n\nThe following command invokes localproxy.\n\n::\n\n $ localproxy\n\n\nBy default, Localproxy listens for connections at port 8080. You can change the proxy setting of your Web browser to ``localhost:8080``.\n\nTo use HTTPS proxy with CONNECT command, you should create your private key and x509 certificate.\n\n::\n\n $ mkdir ~/my_dir\n $ cd ~/my_dir\n $ openssl genrsa > privkey.pem\n $ openssl req -new -x509 -key privkey.pem -out cacert.pem -days 365\n\n\nLocalproxy reads files from local directory if there is a directory with same name as target host name. Let's say you want to serve files of ``http://www.example.com``, you can create the directory and file as follow::\n\n $ mkdir www.example.com\n $ echo 'hello' > www.example.com/index.html\n\nthen the file above will be displayed if you open ``http://www.example.com`` with your browser.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/atsuoishimoto/localproxy", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "localproxy", "package_url": "https://pypi.org/project/localproxy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/localproxy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/atsuoishimoto/localproxy" }, "release_url": "https://pypi.org/project/localproxy/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "HTTP proxy server in twisted. If there is a directory with same name as target host (e.g.: www.example.com), contents of the directory are returned instead of making a request to the target host.", "version": "0.0.3" }, "last_serial": 1378202, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b0463c82e77f368a9913fb680164fd51", "sha256": "0b736034cc3d62af8d2b295c38415072752095dc9edfc25b69209e2369403eb6" }, "downloads": -1, "filename": "localproxy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b0463c82e77f368a9913fb680164fd51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3061, "upload_time": "2014-12-28T07:16:27", "url": "https://files.pythonhosted.org/packages/56/7d/54b9a20c2d0381dc885aee964fef7d88f50bee06137bdd65eb06a89ab33f/localproxy-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "1498b3131b2c6181b7588b431cf8639a", "sha256": "cc87b60e59900da725f79c2d20750ba7aa74da56bf5d69c04a2be4b1b5c80772" }, "downloads": -1, "filename": "localproxy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "1498b3131b2c6181b7588b431cf8639a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3166, "upload_time": "2015-01-10T19:23:02", "url": "https://files.pythonhosted.org/packages/65/a1/4f9f29f6df55eed071f16681b27ca55c898f241aa543271c22a5ebca3c1e/localproxy-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "9dbfb73cd45afae029aebb6c2a506879", "sha256": "ea298fb4892f8a088df4cb64b6e8d1c3149e1baf31c0c7ef75d90922e142d1c4" }, "downloads": -1, "filename": "localproxy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "9dbfb73cd45afae029aebb6c2a506879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3211, "upload_time": "2015-01-11T01:27:24", "url": "https://files.pythonhosted.org/packages/dc/f8/ea8bd9aebbb5bde6766d2e2d276e81b986a2bbcda8c52f7c38f6b37a089e/localproxy-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9dbfb73cd45afae029aebb6c2a506879", "sha256": "ea298fb4892f8a088df4cb64b6e8d1c3149e1baf31c0c7ef75d90922e142d1c4" }, "downloads": -1, "filename": "localproxy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "9dbfb73cd45afae029aebb6c2a506879", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3211, "upload_time": "2015-01-11T01:27:24", "url": "https://files.pythonhosted.org/packages/dc/f8/ea8bd9aebbb5bde6766d2e2d276e81b986a2bbcda8c52f7c38f6b37a089e/localproxy-0.0.3.tar.gz" } ] }