{ "info": { "author": "benhengx", "author_email": "benhengx@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta" ], "description": "===========\r\nxmlrpclibex\r\n===========\r\n\r\nA Python xmlrpc client library with proxy and timeout support.\r\n\r\nInstallation\r\n------------\r\n\r\n.. code-block:: bash\r\n\r\n $ pip install xmlrpclibex\r\n\r\nOr\r\n\r\n.. code-block:: bash\r\n\r\n $ python setup.py install\r\n\r\nUsage\r\n-----\r\n\r\n* A basic example\r\n\r\n.. code-block:: python\r\n\r\n from xmlrpclibex import xmlrpclibex\r\n sp = xmlrpclibex.ServerProxy(uri, timeout=30, \r\n proxy={\r\n 'host': 'your proxy address',\r\n 'port': 'your proxy port',\r\n 'is_socks': True,\r\n 'socks_type': 'v5'\r\n })\r\n\r\n* The timeout and proxy parameters\r\n\r\n This module subclasses the ServerProxy class from the xmlrpclib module (or\r\n the xmlrpc.client module in case of Python3), and adds two parameters\r\n timeout and proxy.\r\n\r\n * timeout: seconds waiting for the socket operations.\r\n * proxy: a dict specifies the proxy settings (supports HTTP proxy and socks\r\n proxy). The dict supports the following keys:\r\n\r\n * host: the address of the proxy server (IP or DNS)\r\n * port: the port of the proxy server. default: 8080 for http\r\n proxy, and 1080 for socks proxy\r\n * username: username to authenticate to the server. default None\r\n * password: password to authenticate to the server, only relevant when\r\n username is set. default None\r\n * is_socks: whether the proxy is a socks proxy, default False\r\n * socks_type: string, 'v4', 'v5', 'http' (http connect tunnel), only \r\n relevant when is_socks is True. default 'v5'\r\n\r\nNote\r\n-------\r\n\r\n* Sometimes, access HTTPS over HTTP Proxy (through CONNECT tunnel) may report\r\n errors, recommend using SOCKS proxy.\r\n\r\nLicense\r\n-------\r\n\r\nCopyright 2015 benhengx\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\nhttp://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/benhengx/xmlrpclibex", "keywords": "xmlrpc proxy", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "xmlrpclibex", "package_url": "https://pypi.org/project/xmlrpclibex/", "platform": "", "project_url": "https://pypi.org/project/xmlrpclibex/", "project_urls": { "Homepage": "https://github.com/benhengx/xmlrpclibex" }, "release_url": "https://pypi.org/project/xmlrpclibex/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "A Python xmlrpc client library with proxy and timeout support.", "version": "0.1.0" }, "last_serial": 1484285, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b5e6065d3ab45bc0859fd911dc0d1ac9", "sha256": "527ed45c153db89ced9176d35296cb8c247fec759f6f0fc293cebd6daf1deb4d" }, "downloads": -1, "filename": "xmlrpclibex-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b5e6065d3ab45bc0859fd911dc0d1ac9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7990, "upload_time": "2015-03-31T04:25:44", "url": "https://files.pythonhosted.org/packages/f4/cd/c1f3ecc2260892cf8f66028885f4d49ce9e88119ff3f69bb765f5712323a/xmlrpclibex-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b5e6065d3ab45bc0859fd911dc0d1ac9", "sha256": "527ed45c153db89ced9176d35296cb8c247fec759f6f0fc293cebd6daf1deb4d" }, "downloads": -1, "filename": "xmlrpclibex-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b5e6065d3ab45bc0859fd911dc0d1ac9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7990, "upload_time": "2015-03-31T04:25:44", "url": "https://files.pythonhosted.org/packages/f4/cd/c1f3ecc2260892cf8f66028885f4d49ce9e88119ff3f69bb765f5712323a/xmlrpclibex-0.1.0.tar.gz" } ] }