[issue45466] Simple curl/wget-like download functionality in urllib (like http offers server)

Raymond Hettinger report at bugs.python.org
Mon Nov 1 14:12:21 EDT 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

> If curl/wget are available, great, but often slim images 
> don't offer that.

I concur with Christian.  For the most part, the standard library aims to be a collection of resources helpful for building applications like curl and wget.  The applications themselves should live on the Python Package Index (PyPI).  Also, as Christian points out, this is a non-trivial project with a large scope.


> The urllib could provide a very simple download functionality
> (like http offers a simple server):
>
>    from urllib.request import urlopen
>    data = urlopen('https://.../install-poetry.py').read()
>    # print or save data

This is a simpler request and is within our scope; however, I not sure how it differs from the existing functionality in urllib.request.urlretrieve().  Can you clarify what extra functionality is being requested?

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45466>
_______________________________________


More information about the Python-bugs-list mailing list