[QGIS-Developer] Alternative for python 'request' library in QGIS
Nyall Dawson
nyall.dawson at gmail.com
Tue Dec 11 23:34:37 PST 2018
On Wed, 12 Dec 2018 at 17:21, Richard Duivenvoorde <rdmailings at duif.net> wrote:
>
> On 12/12/18 5:55 AM, shiva reddy wrote:
> > Hi,
> > I have used 'requests' library to access web resources in my plugin.
> > I am wondering if I should migrate to any QGIS core library instead ?
> > If yes would appreciate getting any cheat sheet.
>
> Hi Shiva,
>
> there is no python core lib yet, but I often pull the
> Boundles/Alessandro/Luigi's one from here:
>
> https://github.com/boundlessgeo/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py
>
> For now I copy it in my plugins, but I'm very much in favour of adding
> some python core/common libs to QGIS so everybody uses the same/right
> way of doing http(s) stuff (meaning: using the proxy from settings etc)
That's what this (WIP) does:
https://github.com/qgis/QGIS/pull/8440
Nyall
More information about the QGIS-Developer
mailing list