[Qgis-psc] Requiring adequate plugin descriptions

Richard Duivenvoorde rdmailings at duif.net
Wed May 24 02:08:44 PDT 2017


On 23-05-17 20:04, Luigi Pirelli wrote:
> On 23 May 2017 at 09:56, ElPaso <elpaso at itopen.it> wrote:
>>
>> In Boundless we started using a small wrapper around QgsNetworkAccessManager
>> that mocks httplib2, I think that it should be part of core QGIS python
>> utils, with a (still to be developed) "requests" replacement.
>>
>> You can find it in this repo:
>> https://github.com/boundlessgeo/lib-qgis-commons/blob/master/qgiscommons/networkaccessmanager.py
> 
> the class dev by Alessandro has also another advantage, that it
> integrates qgis auth management as described in:
> http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/authentication.html#adapt-plugins-to-use-authentication-infrastructure
> 
> we are working on this class to offer the same async bhavior of
> QgsNetworkAccessManager instead of the only blocking behavior of the
> httplib... and obviously adding tests for this class

Nice!

What about creating a qgis.utils package, or qgis.commons... and pull
these classes into 3.0?

Or let's just start with networkaccessmanager.py ?

Regards,

Richard



More information about the Qgis-psc mailing list