opengisch / qgis-pg-service-parser-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release

PG service parser plugin

Logo

QGIS v3 plugin to view, edit or copy PG service (i.e., pg_service.conf) entries for PostgreSQL connections.

This plugin is distributed under the GNU GPL v3 license.

pg_service.conf location

If your pg_service.conf file is located at /home/YOUR_USER/.pg_service.conf (on Linux) or at %HOMEPATH%\.pg_service.conf (on Windows), then you are done! The plugin will read your file directly.

If that's not the case, i.e., if your pg_service.conf file is not in the aforementioned locations, you can still set the PGSERVICEFILE environment variable pointing to your pg_service.conf file path before using the plugin.

Edit PG service entries

Edit service

Copy PG service entries

Copy service

For devs

pgserviceparser library

This plugin uses the pgserviceparser library. It's also available as a PYPI package.

Code style

Use pre-commit:

pip install pre-commit
pre-commit install

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%