{ "info": { "author": "Sumin Byeon", "author_email": "suminb@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Travis CI\n---------\n\n.. image:: https://travis-ci.org/suminb/hallucination.png?branch=master :target: https://travis-ci.org/suminb/hallucination\n\n\nPrerequisites\n-------------\n\n- `python-requests `_\n- SQLAlchemy_\n\n.. _SQLAlchemy: http://www.sqlalchemy.org/\n\nUsage\n-----\n\nPython invocation\n`````````````````\n\nTo create database tables:\n\n.. code-block:: python\n\n proxy_factory = ProxyFactory(config=dict(db_uri='sqlite:///test.db'))\n proxy_factory.create_db()\n\nTo import a text file containing a proxy server list:\n\n.. code-block:: python\n\n proxy_factory = ProxyFactory(config=dict(db_uri='sqlite:///test.db'))\n proxy_factory.import_proxies('proxylist.txt')\n\nHallucination supports multiple database backends, as long as supported by SQLAlchemy_.\n\n.. code-block:: python\n\n proxy_factory = ProxyFactory(config=dict(db_uri='postgres://user:password@host/database'))\n\nTo make a request:\n\n.. code-block:: python\n\n r = proxy_factory.make_request('http://github.com/suminb/hallucination')\n print r.text\n\nYou may specify timeout in seconds:\n\n.. code-block:: python\n\n r = proxy_factory.make_request('http://github.com/suminb/hallucination', timeout=5)\n print r.text\n\n\nShell frontend\n``````````````\n\nTo create an SQLite database file:\n\n.. code-block:: console\n\n python frontend.py -d proxy.db -c\n\nTo import a text file containing a proxy server list:\n\n.. code-block:: console\n\n python frontend.py -d proxy.db -i proxylist.txt\n\n\nTo export the proxy server list to a text file:\n\n.. code-block:: console\n\n python frontend.py -d proxy.db -x proxylist.txt\n\nAn exported file may look like the following:\n\n.. code-block:: text\n\n http://84.42.3.3:3128\n http://77.94.48.5:80\n http://209.62.12.130:8118\n http://159.255.160.23:8080\n http://50.57.170.105:80", "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/suminb/hallucination", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "hallucination", "package_url": "https://pypi.org/project/hallucination/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hallucination/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/suminb/hallucination" }, "release_url": "https://pypi.org/project/hallucination/0.2.16/", "requires_dist": null, "requires_python": null, "summary": "A Python library for proxy server list management", "version": "0.2.16" }, "last_serial": 917168, "releases": { "0.1.0": [], "0.2.0": [ { "comment_text": "", "digests": { "md5": "94e1c897c9b54b59de1cbc1713fccd4e", "sha256": "386c3539df38ba814941aa58a23bc2a1fc67579f895ed0a79b1f41a7243ec4e2" }, "downloads": -1, "filename": "hallucination-0.2.0.tar.gz", "has_sig": false, "md5_digest": "94e1c897c9b54b59de1cbc1713fccd4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4704, "upload_time": "2013-07-15T13:51:52", "url": "https://files.pythonhosted.org/packages/fb/d8/8383d423c8059aa786798fdecc744b2c6278bb2ca9d5dc6b40ab89e38de4/hallucination-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4a3530e4b3a0ff150ba08b76a7c6bacc", "sha256": "5b4dbe97e33deab1f510b06f2752d29bc8ac90842cebcddd9ff69241886f2280" }, "downloads": -1, "filename": "hallucination-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4a3530e4b3a0ff150ba08b76a7c6bacc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4778, "upload_time": "2013-07-15T14:30:15", "url": "https://files.pythonhosted.org/packages/53/58/f6ac61033af0df72b200a1304431f9c39f5db49568a894c39604fd9de989/hallucination-0.2.1.tar.gz" } ], "0.2.10": [ { "comment_text": "", "digests": { "md5": "9c621df9a48b22239bc34711fd3a4c66", "sha256": "38500befa79d878d41d71228a7e78aac8d225ebf4d11864ce6ec722a274da6b2" }, "downloads": -1, "filename": "hallucination-0.2.10.tar.gz", "has_sig": false, "md5_digest": "9c621df9a48b22239bc34711fd3a4c66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4695, "upload_time": "2013-08-12T04:27:24", "url": "https://files.pythonhosted.org/packages/94/3b/116c778d2228bf7d7afe9838c1321d16168d2cedb3c1c35ac5c49ed202eb/hallucination-0.2.10.tar.gz" } ], "0.2.11": [ { "comment_text": "", "digests": { "md5": "7f6ffc2a50f87b29a006ef273b96f809", "sha256": "cce7d37e0d05357fe7f6ebc98b2d6ea0831546f91576113dd4b88d0f44a0102d" }, "downloads": -1, "filename": "hallucination-0.2.11.tar.gz", "has_sig": false, "md5_digest": "7f6ffc2a50f87b29a006ef273b96f809", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4808, "upload_time": "2013-09-28T05:30:31", "url": "https://files.pythonhosted.org/packages/db/0d/54823b8a50e17df5bc580446ab9b2b19a480757a66609c7530b663fcf251/hallucination-0.2.11.tar.gz" } ], "0.2.12": [ { "comment_text": "", "digests": { "md5": "bbc813f9f810d46c93c265f692b017c0", "sha256": "007e547da3de2f63fa6564beffada25d968f6415491c53f17403979a8cc82e91" }, "downloads": -1, "filename": "hallucination-0.2.12.tar.gz", "has_sig": false, "md5_digest": "bbc813f9f810d46c93c265f692b017c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4805, "upload_time": "2013-09-29T06:08:52", "url": "https://files.pythonhosted.org/packages/bb/7c/9fad44e701a341016673f1c62d865ffdd36053b70d6befdc95e24d4cbcbf/hallucination-0.2.12.tar.gz" } ], "0.2.13": [ { "comment_text": "", "digests": { "md5": "05a3416c26404810c175da66aa4cdfad", "sha256": "cc1d5d9e86d9d0b4f3cd14ff2b717900738f54a36bd19c37c4c997ad55de6143" }, "downloads": -1, "filename": "hallucination-0.2.13.tar.gz", "has_sig": false, "md5_digest": "05a3416c26404810c175da66aa4cdfad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4848, "upload_time": "2013-09-29T09:48:42", "url": "https://files.pythonhosted.org/packages/c9/18/b20d0b6da513dc197beef138d820728d37ab81bd009888a48c6c5431dc7d/hallucination-0.2.13.tar.gz" } ], "0.2.14": [ { "comment_text": "", "digests": { "md5": "066a73c48490e5bdb8cb54d57de9fcae", "sha256": "8aa0838101e8067e969a85bbf8cc93a429eaa0ae89ddebfd8299f2f7d5094972" }, "downloads": -1, "filename": "hallucination-0.2.14.tar.gz", "has_sig": false, "md5_digest": "066a73c48490e5bdb8cb54d57de9fcae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4882, "upload_time": "2013-09-29T10:24:23", "url": "https://files.pythonhosted.org/packages/35/96/6df972e7c16007f7b90da2aeb2de0bf716bed4dc01c857e24e6a3a94cd49/hallucination-0.2.14.tar.gz" } ], "0.2.15": [ { "comment_text": "", "digests": { "md5": "5ff4739d6d7d9666d21a5282176438f7", "sha256": "2dad949ade92dd4ed82f083db1d82d6a60af4e4f484b744b199adebb8e3a555f" }, "downloads": -1, "filename": "hallucination-0.2.15.tar.gz", "has_sig": false, "md5_digest": "5ff4739d6d7d9666d21a5282176438f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4895, "upload_time": "2013-10-11T10:04:00", "url": "https://files.pythonhosted.org/packages/75/2e/959ca3bf035d388ce7b39aa083eeebc3cd4c9ab14c949024041ededa7d57/hallucination-0.2.15.tar.gz" } ], "0.2.16": [ { "comment_text": "", "digests": { "md5": "4a878dba8c960762e6cde2c83c55e354", "sha256": "18324143b22c92ef1f32513f2c4906e9e4d1092f9086d049e4740d187b2490fd" }, "downloads": -1, "filename": "hallucination-0.2.16.tar.gz", "has_sig": false, "md5_digest": "4a878dba8c960762e6cde2c83c55e354", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4949, "upload_time": "2013-11-12T10:56:28", "url": "https://files.pythonhosted.org/packages/ea/10/48c9a1b052c4c75d4784ff76da56f6f7209493b35c1ec10d1141fb29af7a/hallucination-0.2.16.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "a24acad1ffae6a8d2fd4b393eaee0b49", "sha256": "55e5bf8ab0c6a0860e4476cf9a53403cabf6ad7e3d889b13c8af816bed166b3f" }, "downloads": -1, "filename": "hallucination-0.2.2.tar.gz", "has_sig": false, "md5_digest": "a24acad1ffae6a8d2fd4b393eaee0b49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4167, "upload_time": "2013-07-15T16:28:46", "url": "https://files.pythonhosted.org/packages/38/11/96adc96b564168c9c57c61dcca4060349acb571a38b287aad779687aa2cd/hallucination-0.2.2.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "05ece3a5d63ed79187317e0f609b69cb", "sha256": "24b9674d315886c66d5c746ef9d08ecc343e5fbfd1a6e338961b611c364b7b81" }, "downloads": -1, "filename": "hallucination-0.2.4.tar.gz", "has_sig": false, "md5_digest": "05ece3a5d63ed79187317e0f609b69cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4160, "upload_time": "2013-07-16T00:34:26", "url": "https://files.pythonhosted.org/packages/62/4f/aa68829882b52ac9af99e4798932ea2e5553151b8e4413432db10cf063f2/hallucination-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "f2198779d1e585e809c692c19826889b", "sha256": "0fdce8b74b2d13a3e9f037ba636db806ee1f39f25f1e41d52f573136d8beef79" }, "downloads": -1, "filename": "hallucination-0.2.5.tar.gz", "has_sig": false, "md5_digest": "f2198779d1e585e809c692c19826889b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4222, "upload_time": "2013-07-16T21:57:17", "url": "https://files.pythonhosted.org/packages/21/7e/c7997f2a87d5ad8ac849ecdb54ac55317c3da060c5fcb8ddb1c1fc6bf1a8/hallucination-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "0f87e69a987dbeeed4494f479a3ad485", "sha256": "ca3f047261c4e34cc98f2f1a16fa6ce442e18550f44f87d885d47b1813ec923c" }, "downloads": -1, "filename": "hallucination-0.2.6.tar.gz", "has_sig": false, "md5_digest": "0f87e69a987dbeeed4494f479a3ad485", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4213, "upload_time": "2013-07-30T07:02:14", "url": "https://files.pythonhosted.org/packages/24/bd/2bf7ea1c35fee933605e7f32fbf4f80bf52e357d91b12b17520b3daac0cd/hallucination-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "440218b1175895137f481be4b78fad4c", "sha256": "9615471c5e1eb21b3ce5510b3b536336ec70de4f1e878c03777a2aa86a714846" }, "downloads": -1, "filename": "hallucination-0.2.7.tar.gz", "has_sig": false, "md5_digest": "440218b1175895137f481be4b78fad4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4609, "upload_time": "2013-08-01T21:28:08", "url": "https://files.pythonhosted.org/packages/99/46/0d158fbcbbed305f6d3d80a12249ef09fbb365944ce06a654a30c83c06b4/hallucination-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "cf28587e6b2a7dd5a621eff2c0616314", "sha256": "7ee5d1ae79e9263ccb4a8d1f9d33395d4c9a4d7e899886e220ee58678bac321d" }, "downloads": -1, "filename": "hallucination-0.2.8.tar.gz", "has_sig": false, "md5_digest": "cf28587e6b2a7dd5a621eff2c0616314", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4628, "upload_time": "2013-08-01T22:16:38", "url": "https://files.pythonhosted.org/packages/26/2c/465412a31dfafcb87eb58b3e4e5f44b7355314d55520b280630060500746/hallucination-0.2.8.tar.gz" } ], "0.2.9": [ { "comment_text": "", "digests": { "md5": "7d40a6fcfe6e4beae54c279ea57d80b2", "sha256": "a7f08f1386b2776ecf2a5c72bb475ec53d5a5a2d4eda35b5a6a42c2177772727" }, "downloads": -1, "filename": "hallucination-0.2.9.tar.gz", "has_sig": false, "md5_digest": "7d40a6fcfe6e4beae54c279ea57d80b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4682, "upload_time": "2013-08-06T05:25:52", "url": "https://files.pythonhosted.org/packages/2e/cb/28b228d63ec8f1cb47cb7049bafe6a92c326da77cd62319f5419f3a88751/hallucination-0.2.9.tar.gz" } ], "0.2.9-rc1": [ { "comment_text": "", "digests": { "md5": "7800024e88785fe966b4b58bad63a945", "sha256": "cc3ef1451d731cbe71ac05f3f5ba2429beae7c66ee8b12d2c7dc4e0ef64ecad2" }, "downloads": -1, "filename": "hallucination-0.2.9-rc1.tar.gz", "has_sig": false, "md5_digest": "7800024e88785fe966b4b58bad63a945", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4648, "upload_time": "2013-08-06T02:08:29", "url": "https://files.pythonhosted.org/packages/2e/7c/7b72a9cdfbe127b6420f35ddfcd4835bd7ee53d1e2ae7a1327190ecce4bf/hallucination-0.2.9-rc1.tar.gz" } ], "0.2.9-rc2": [ { "comment_text": "", "digests": { "md5": "1fd78fcfada7c72a84c714ad45e9315c", "sha256": "5144dace1157f97e8c6a26d3eb51a6bae35be43fab0eba4fef00e4fe712140fe" }, "downloads": -1, "filename": "hallucination-0.2.9-rc2.tar.gz", "has_sig": false, "md5_digest": "1fd78fcfada7c72a84c714ad45e9315c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4646, "upload_time": "2013-08-06T02:18:11", "url": "https://files.pythonhosted.org/packages/4f/55/c84fc779b0e9ab359c0ecc597ae06c2503e50a4ae903fc8a57666b0dc59d/hallucination-0.2.9-rc2.tar.gz" } ], "0.2.9-rc3": [ { "comment_text": "", "digests": { "md5": "7794a8138cfe0f4a0b14dd3dd4524e11", "sha256": "466e4506887b49ff285d029cce0e6b7fe8295bbe6732f8016133d9cb43231648" }, "downloads": -1, "filename": "hallucination-0.2.9-rc3.tar.gz", "has_sig": false, "md5_digest": "7794a8138cfe0f4a0b14dd3dd4524e11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4660, "upload_time": "2013-08-06T02:59:56", "url": "https://files.pythonhosted.org/packages/7e/e0/d3c7e933d6431035b6ec3c628a9a22d62f7cba26c26174fdc262e094e356/hallucination-0.2.9-rc3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4a878dba8c960762e6cde2c83c55e354", "sha256": "18324143b22c92ef1f32513f2c4906e9e4d1092f9086d049e4740d187b2490fd" }, "downloads": -1, "filename": "hallucination-0.2.16.tar.gz", "has_sig": false, "md5_digest": "4a878dba8c960762e6cde2c83c55e354", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4949, "upload_time": "2013-11-12T10:56:28", "url": "https://files.pythonhosted.org/packages/ea/10/48c9a1b052c4c75d4784ff76da56f6f7209493b35c1ec10d1141fb29af7a/hallucination-0.2.16.tar.gz" } ] }