{ "info": { "author": "Paul Sokolovsky", "author_email": "pycopy-dev@googlegroups.com", "bugtrack_url": null, "classifiers": [], "description": "HTTP clients in pycopy-lib\n==========================\n\npycopy-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/pycopy-lib", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pycopy-urllib.urequest", "package_url": "https://pypi.org/project/pycopy-urllib.urequest/", "platform": "", "project_url": "https://pypi.org/project/pycopy-urllib.urequest/", "project_urls": { "Homepage": "https://github.com/pfalcon/pycopy-lib" }, "release_url": "https://pypi.org/project/pycopy-urllib.urequest/0.6.4/", "requires_dist": null, "requires_python": "", "summary": "urllib.urequest module for Pycopy", "version": "0.6.4" }, "last_serial": 5668009, "releases": { "0.6.3": [ { "comment_text": "", "digests": { "md5": "31690a0006e918b6c1479719a0b8c213", "sha256": "c6aaa17f45c325e9faf5868b75ac070e0de7ee4f4a1d8c6e783360eb9bd60d5d" }, "downloads": -1, "filename": "pycopy-urllib.urequest-0.6.3.tar.gz", "has_sig": false, "md5_digest": "31690a0006e918b6c1479719a0b8c213", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2026, "upload_time": "2019-07-13T23:36:31", "url": "https://files.pythonhosted.org/packages/3c/fb/09aea251dca5fd70784e371a4a156c6d3afc0be50f550fad4c7dc7d3b9f3/pycopy-urllib.urequest-0.6.3.tar.gz" } ], "0.6.4": [ { "comment_text": "", "digests": { "md5": "3a4a662713bcf2b55df52a6633085544", "sha256": "eda273771852bc6d373604e4573f63d2733adfbd9a187c4e60a09177d4b62b0b" }, "downloads": -1, "filename": "pycopy-urllib.urequest-0.6.4.tar.gz", "has_sig": false, "md5_digest": "3a4a662713bcf2b55df52a6633085544", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2019, "upload_time": "2019-08-12T18:25:35", "url": "https://files.pythonhosted.org/packages/86/43/64f8438b83f08a5164995c8cf60f5bc6f09918b22fba96b262bcb7fc1307/pycopy-urllib.urequest-0.6.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a4a662713bcf2b55df52a6633085544", "sha256": "eda273771852bc6d373604e4573f63d2733adfbd9a187c4e60a09177d4b62b0b" }, "downloads": -1, "filename": "pycopy-urllib.urequest-0.6.4.tar.gz", "has_sig": false, "md5_digest": "3a4a662713bcf2b55df52a6633085544", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2019, "upload_time": "2019-08-12T18:25:35", "url": "https://files.pythonhosted.org/packages/86/43/64f8438b83f08a5164995c8cf60f5bc6f09918b22fba96b262bcb7fc1307/pycopy-urllib.urequest-0.6.4.tar.gz" } ] }