{ "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-urequests", "package_url": "https://pypi.org/project/pycopy-urequests/", "platform": "", "project_url": "https://pypi.org/project/pycopy-urequests/", "project_urls": { "Homepage": "https://github.com/pfalcon/pycopy-lib" }, "release_url": "https://pypi.org/project/pycopy-urequests/0.9.3/", "requires_dist": null, "requires_python": "", "summary": "urequests module for Pycopy", "version": "0.9.3" }, "last_serial": 5668014, "releases": { "0.9.2": [ { "comment_text": "", "digests": { "md5": "67c612e2934975d6030c9fb8c12cfcee", "sha256": "eb5a8a90652a1f1e42c3d147d5fffadf23323e6a9450ca69aefcd41e285d399c" }, "downloads": -1, "filename": "pycopy-urequests-0.9.2.tar.gz", "has_sig": false, "md5_digest": "67c612e2934975d6030c9fb8c12cfcee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2649, "upload_time": "2019-07-13T23:36:11", "url": "https://files.pythonhosted.org/packages/3d/53/c3c7cc7a9c09a1f98cc4d570abf68caf1baa4b8d806d7c7d27c13d700582/pycopy-urequests-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "8ba96a3e02d1ce784067753340c1ebe3", "sha256": "620ff6e28d0dd0b34afeadb0a19288f5ce384c6b900c5ad56596ea3855c3764f" }, "downloads": -1, "filename": "pycopy-urequests-0.9.3.tar.gz", "has_sig": false, "md5_digest": "8ba96a3e02d1ce784067753340c1ebe3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2644, "upload_time": "2019-08-12T18:27:19", "url": "https://files.pythonhosted.org/packages/3c/76/02272cf9cef5ef78def93cd3fbd6c87608191bf71b3c9d566c9648395363/pycopy-urequests-0.9.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8ba96a3e02d1ce784067753340c1ebe3", "sha256": "620ff6e28d0dd0b34afeadb0a19288f5ce384c6b900c5ad56596ea3855c3764f" }, "downloads": -1, "filename": "pycopy-urequests-0.9.3.tar.gz", "has_sig": false, "md5_digest": "8ba96a3e02d1ce784067753340c1ebe3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2644, "upload_time": "2019-08-12T18:27:19", "url": "https://files.pythonhosted.org/packages/3c/76/02272cf9cef5ef78def93cd3fbd6c87608191bf71b3c9d566c9648395363/pycopy-urequests-0.9.3.tar.gz" } ] }