{ "info": { "author": "Paul Sokolovsky", "author_email": "micropython-lib@googlegroups.com", "bugtrack_url": null, "classifiers": [], "description": "HTTP clients in micropython-lib\n===============================\n\nmicropython-lib currently offers 4 HTTP client modules:\n\n* ``urllib.urequest``\n* ``urequests``\n* ``uurequests``\n* ``uaiohttpclient``\n\nThis README is intended to describe differences among them and help\nto choose the right module for a particular use.\n\n* ``urllib.urequest`` implements a subset of API CPython standard library\n module urllib.request. This module is intended to be the most minimal\n of all three and provide an efficient, stream-based API. It doesn't\n support automatic redirects or chunked transfer encoding.\n* ``urequests`` implements a subset of API of the popular 3rd-party package\n ``requests``. ``requests`` brags itself as \"HTTP for Humans\", which\n means that its API is not ideal, and implementation is inefficient.\n ``urequests`` implements only a subset of it, and tries to mend some\n poor defaults of the prototype module. Still, it's less efficient\n than ``urllib.urequest``. Redirects are handled, but not chunked\n transfer encoding.\n* ``uurequests`` is capture of the version 0.8 of ``urequests``, before\n opening the door for adding more features to the latter. It's provided\n for very small systems which still would like requests-like API.\n* ``uaiohttpclient`` is an HTTP client for ``uasyncio`` module. It's\n the only of all 3 which supports chunked transfer encoding.\n\nThus, the selection guide:\n\n* Whenever possible, use ``urllib.urequest``.\n* If you write a once-off, throw-away app where you don't care about\n efficiency, you can use ``urequests``.\n* If you wrote that for very small system and above didn't work, can\n give ``uurequests`` a try.\n* If you devel an async app, use ``uaiohttpclient``.\n* If you need support for more HTTP protocol features, use\n ``uaiohttpclient`` and write an async app.\n\nFuture of the modules:\n\n* ``urllib.urequest`` is intended to stay minimal and unlikely will get more\n features (it's suitable for ~80% of possible usage scenarios).\n* ``urequests`` has bloat in its DNA, so likely will slowly grow more features\n to match the upstream module, which will make it even less suitable for\n low-memory targets.\n* ``uurequests`` was snapshotted to address concern of such low-memory systems\n support. It's static, and only critical bugfixes are intended to be applied.\n*``uaiohttpclient`` may get updated as needed.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pfalcon/micropython-lib", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "micropython-urllib.urequest", "package_url": "https://pypi.org/project/micropython-urllib.urequest/", "platform": "", "project_url": "https://pypi.org/project/micropython-urllib.urequest/", "project_urls": { "Homepage": "https://github.com/pfalcon/micropython-lib" }, "release_url": "https://pypi.org/project/micropython-urllib.urequest/0.6.3/", "requires_dist": null, "requires_python": "", "summary": "urllib.urequest module for MicroPython", "version": "0.6.3" }, "last_serial": 4371435, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d6cb568169388a277bb50e4e8198a745", "sha256": "0e9fd066964ea674b981e0bfcf24860c1a04876debc9a32e4eb99d6056eb3536" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.1.tar.gz", "has_sig": false, "md5_digest": "d6cb568169388a277bb50e4e8198a745", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1670, "upload_time": "2015-11-21T00:26:25", "url": "https://files.pythonhosted.org/packages/ab/61/9656a022ef7947097240f1142faacd3266bf90ab6e4216edbf4759c1b6b6/micropython-urllib.urequest-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "f179d9bec4d86989d9a52820e3c937be", "sha256": "32741c3c248863b6518743b6c91f05a02a1680729e6cb2939939642b4c1a60a6" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.2.tar.gz", "has_sig": false, "md5_digest": "f179d9bec4d86989d9a52820e3c937be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2415, "upload_time": "2016-03-02T20:56:18", "url": "https://files.pythonhosted.org/packages/55/ca/3d5f08cda20a9ee734e17dd285c8ab3bc38ad7640f4f9b77b8041a8dc3b0/micropython-urllib.urequest-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "bdcc46f6dffc62115ff209d5bfa4ff55", "sha256": "be0b0eda7b0e5ac92b6d8c810f1e7362c34c5bf95b818bd4d5b09ea5d62b3dbb" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.3.tar.gz", "has_sig": false, "md5_digest": "bdcc46f6dffc62115ff209d5bfa4ff55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2419, "upload_time": "2016-04-16T18:32:18", "url": "https://files.pythonhosted.org/packages/b6/b5/ee8107df7b2648974d49efa1136de5ccc3ef443dc531911d0f0b9f7c182e/micropython-urllib.urequest-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "f889dd1961d5ce8954f9a8e4837799d5", "sha256": "3b229df4bac19ea7dda4e0037817011a52b1dc2fcd798bc434abc682f524449d" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.3.1.tar.gz", "has_sig": false, "md5_digest": "f889dd1961d5ce8954f9a8e4837799d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1647, "upload_time": "2016-04-16T18:34:57", "url": "https://files.pythonhosted.org/packages/f8/9c/ed3848da78010d77c81218f73e06ce0d0b5530f233e2d62cfb02a66f7fd5/micropython-urllib.urequest-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "0654d57d9e28e82eec5b3befd74f9d9e", "sha256": "b36770a42517cd7d0295f5b38e06a400fdca1f5f56c173685ad6d5ace9c37c92" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.3.2.tar.gz", "has_sig": false, "md5_digest": "0654d57d9e28e82eec5b3befd74f9d9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1681, "upload_time": "2016-05-24T21:07:19", "url": "https://files.pythonhosted.org/packages/7f/58/b3364edb4844dbb0fe91869859fda72b6852ba11a82db597d3e333116af4/micropython-urllib.urequest-0.3.2.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "22b21214f8e408b26c0f908ea1cc40d5", "sha256": "71a4ec442f25a699da33eb9b9de8fd23c3c3eca04d2f4263baf1e96bfaa00b80" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.4.tar.gz", "has_sig": false, "md5_digest": "22b21214f8e408b26c0f908ea1cc40d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1721, "upload_time": "2016-05-30T18:36:00", "url": "https://files.pythonhosted.org/packages/de/5d/a9ecd525f33ffeea2b930b936180f80bd14ec210a7687acb4964a7aa6bdd/micropython-urllib.urequest-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "a5a175c4f6039040ca87ef70e5e55ae3", "sha256": "e1eb552f74dff472b78028581fc848d2cbaed948b01a541f11b71433d1c1bdb3" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.4.1.tar.gz", "has_sig": false, "md5_digest": "a5a175c4f6039040ca87ef70e5e55ae3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1717, "upload_time": "2016-06-10T21:29:45", "url": "https://files.pythonhosted.org/packages/6f/d0/412b32674962eb160ff6fbe89bbd32639b0694967bc50bcfec3f09c2462a/micropython-urllib.urequest-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "bf499344f01b42a92cd40c83b35a350e", "sha256": "bcadab2af306010e26233474af3ea903abda405b97dab2e1a66cbb924ea26ce5" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.4.2.tar.gz", "has_sig": false, "md5_digest": "bf499344f01b42a92cd40c83b35a350e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1129, "upload_time": "2016-10-11T23:18:50", "url": "https://files.pythonhosted.org/packages/c1/6d/740d48b7be138b8c01dfa6ff9cfaf1dff9a0d1fc6864d4452da0da613c69/micropython-urllib.urequest-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "49446a75205c985bb8e8f804edb12ee1", "sha256": "b235ed3ce02abaa0fca906bd71f8b6e9be1d113741d68a52e120b43849870732" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.4.3.tar.gz", "has_sig": false, "md5_digest": "49446a75205c985bb8e8f804edb12ee1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1123, "upload_time": "2016-12-08T11:32:47", "url": "https://files.pythonhosted.org/packages/ff/9e/52a3260fdd7af88a0d065d34588c916b4aa881ca458240c60cd33178580f/micropython-urllib.urequest-0.4.3.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "8fbd32e191029ec1184685ba23ae29a7", "sha256": "e80aed7a05abb4cd1df87a2947257548c7bc2b342cc1e2576585d88e848d99e5" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.4.4.tar.gz", "has_sig": false, "md5_digest": "8fbd32e191029ec1184685ba23ae29a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1135, "upload_time": "2017-06-14T16:36:25", "url": "https://files.pythonhosted.org/packages/83/96/96529490977a97767a0900f4971402f9ae10afe1defe84922e66164c1464/micropython-urllib.urequest-0.4.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "18dcabe0566284fc896b8bde19bb747e", "sha256": "f5217c22c25f79abdc12dbc4d40ebcd6f8c424774fd76410813d77b70f0cb5f1" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.5.tar.gz", "has_sig": false, "md5_digest": "18dcabe0566284fc896b8bde19bb747e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1157, "upload_time": "2017-09-12T05:44:44", "url": "https://files.pythonhosted.org/packages/2a/9d/6f39174ece669d3a7527477493eab11fb443437b617f6e676dfdca24a063/micropython-urllib.urequest-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "80fa961d990d03cdd5f543be859ff12b", "sha256": "bb1365ba5241eb08aa7e4eaa94322017e21a2ff7d5832386b053257b906d2ebb" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.5.1.tar.gz", "has_sig": false, "md5_digest": "80fa961d990d03cdd5f543be859ff12b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1778, "upload_time": "2018-01-14T09:42:10", "url": "https://files.pythonhosted.org/packages/06/c4/9a072be4a02f84fa5c1ca5a6ddce6a3be8451ed4f17a9f8dc02431ffd208/micropython-urllib.urequest-0.5.1.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "ca56fe349b92a0d8e02bd50c11a5c1b4", "sha256": "ae5dead035e6098dec2134546455b1c8d79a47f6b3f3567c50a85c190daa571f" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.6.tar.gz", "has_sig": false, "md5_digest": "ca56fe349b92a0d8e02bd50c11a5c1b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1799, "upload_time": "2018-01-22T22:27:26", "url": "https://files.pythonhosted.org/packages/94/2a/0576c21ca90565351385880937e2fb1faa15a507681b98da2bc95e81ef40/micropython-urllib.urequest-0.6.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "cd4886edaca1d1c0ad50afec34dd802c", "sha256": "49dc4ca221b1c8fedc60397b8948973022868a67f54da163a9c28624c4983d9d" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.6.1.tar.gz", "has_sig": false, "md5_digest": "cd4886edaca1d1c0ad50afec34dd802c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1763, "upload_time": "2018-07-09T09:20:31", "url": "https://files.pythonhosted.org/packages/40/60/d8c8adfaf5330ad48d5958e0d2e90c363326726c029e9f6dcea983d365fe/micropython-urllib.urequest-0.6.1.tar.gz" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "fcc31d01b0c27a94cce5a49c7c3f170f", "sha256": "b9688eacb17c2fdb5966af77abf2a0e9db8a987fc78c53c4e2389d95c6f548c0" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.6.2.tar.gz", "has_sig": false, "md5_digest": "fcc31d01b0c27a94cce5a49c7c3f170f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1810, "upload_time": "2018-08-24T10:16:11", "url": "https://files.pythonhosted.org/packages/9e/22/7446c66f1839bbb08b7d98692073f556ad07300218e59d7aa7bf7136cdbd/micropython-urllib.urequest-0.6.2.tar.gz" } ], "0.6.3": [ { "comment_text": "", "digests": { "md5": "795a641869f84a6b09dad9386e0a6ce2", "sha256": "69e24791c40f3a0a93565c71d38470488c8ffecb27261ad08e0a83fdd79d1808" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.6.3.tar.gz", "has_sig": false, "md5_digest": "795a641869f84a6b09dad9386e0a6ce2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2058, "upload_time": "2018-10-13T09:26:18", "url": "https://files.pythonhosted.org/packages/d2/b9/4943f9fc6f60a8f7e0a2ad2a8c96973a94dda20d85e225c0b0348ba4c357/micropython-urllib.urequest-0.6.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "795a641869f84a6b09dad9386e0a6ce2", "sha256": "69e24791c40f3a0a93565c71d38470488c8ffecb27261ad08e0a83fdd79d1808" }, "downloads": -1, "filename": "micropython-urllib.urequest-0.6.3.tar.gz", "has_sig": false, "md5_digest": "795a641869f84a6b09dad9386e0a6ce2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2058, "upload_time": "2018-10-13T09:26:18", "url": "https://files.pythonhosted.org/packages/d2/b9/4943f9fc6f60a8f7e0a2ad2a8c96973a94dda20d85e225c0b0348ba4c357/micropython-urllib.urequest-0.6.3.tar.gz" } ] }