[QGIS-Developer] Reload python library used by plugin

2024-05-16 Thread Gerald Kogler via QGIS-Developer
The fantastic Plugin Reloader doesn't reload loaded libraries as documented here (https://github.com/borysiasty/plugin_reloader/issues/37). So when I change code in a library used by a QGIS plugin the only way I know to reload this library is to restart QGIS. To make it clear: I'm not

[QGIS-Developer] QGIS Server ignores custom layer legend properties

2022-12-02 Thread Gerald Kogler via QGIS-Developer
Good morning everybody, I managed to get rid of the Band name and invert the order in a raster layer legend in QGIS using a custom pyqgis [1] The problem is that the changes don't show up on QGIS Server GetLegendGraphic request. Is customproperties option "legend/node-order" something QGIS

[QGIS-Developer] Python modules shipped with QGIS

2022-08-23 Thread Gerald Kogler via QGIS-Developer
Hi! Sorry for repeating this question if it was asked lately, but I don't find anything in the archives. Where do I find the list of python modules (including there versions) shipped with QGIS on different operating systems? I'm developing a QGIS plugin and get some error messages like 'No

Re: [QGIS-Developer] Is there a recommended way to include external Python packages

2022-07-21 Thread Gerald Kogler via QGIS-Developer
 it. It is not ideal to have users pip install the library, but you have to weigh the costs vs. the benefits of using some library. Good luck! On Thu, Jul 21, 2022 at 1:19 PM Gerald Kogler via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> wrote: I'm actually developing a QGIS

[QGIS-Developer] Is there a recommended way to include external Python packages

2022-07-21 Thread Gerald Kogler via QGIS-Developer
I'm actually developing a QGIS plugin which depends on pysftp package to upload files to a server. For now I thought on asking users to install it manually, but it would be great to automatize the installation process. So the options I see would be: 1. Install external package using pip from