boundlessgeo/qgis-plugin-template

Name: qgis-plugin-template

Owner: Boundless

Description: A template for plugins

Created: 2016-09-19 09:28:43.0

Updated: 2018-05-11 17:00:05.0

Pushed: 2018-05-11 17:08:30.0

Homepage: null

Size: 514

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

qgis-plugin-template

A template for plugins.

How to use it

Clone this repo or just copy its content in you system

Open a terminal in the folder where the content of this repo is found, and type python init.py.

You will be prompted to enter the name of your plugin, a short name (with no spaces, to be used for folder name, etc), and a class name. Default options for short name and class name will be proposed based on the plugin name,so you do not need to explicitely type them unless you want to use different names.

The script will modify the template files and leave the content of the folder ready to be used for creating your own plugin.

You might want to remove the .git folder, in case you have cloned the repo (the script will try to remove it, but that might fail in some cases).

Notice that, since the script modifies the template files in place, once you run it, you will not be able to run it again (you could actually run it, but it wouldn't work as expected). The init.py file is removed after it's executed.

What it contains

The created plugin template has the following elements:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.