diff --git a/README.md b/README.md new file mode 100755 index 0000000..de2d867 --- /dev/null +++ b/README.md @@ -0,0 +1,47 @@ +[![Release](https://img.shields.io/github/v/release/opengisch/qgis-pg-service-parser-plugin.svg)](https://github.com/opengisch/qgis-pg-service-parser-plugin/releases) + +# 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](https://github.com/opengisch/qgis-pg-service-parser-plugin/blob/main/LICENSE). + + + +### pg_service.conf location + +Before using the plugin, make sure you've set the `PGSERVICEFILE` environment variable pointing to the `pg_service.conf` file path. + + + +### Edit PG service entries + +Edit service + + + +### Copy PG service entries + +Copy service + + + +### For devs + +#### pgserviceparser library + +This plugin uses the [pgserviceparser](https://github.com/opengisch/pgserviceparser) library. It's also available as a [PYPI package](https://pypi.org/project/pgserviceparser/). + + + +#### Code style + +Use pre-commit: + +``` +pip install pre-commit +pre-commit install +``` diff --git a/images/copy_service.png b/images/copy_service.png new file mode 100644 index 0000000..d804ffc Binary files /dev/null and b/images/copy_service.png differ diff --git a/images/edit_service.png b/images/edit_service.png new file mode 100644 index 0000000..66c3c12 Binary files /dev/null and b/images/edit_service.png differ