Difference between revisions of "Third-party Addons"

From Gramps
Jump to: navigation, search
(Others)
(Redirected page to 4.2 Addons)
(113 intermediate revisions by 11 users not shown)
Line 1: Line 1:
Third-party plugins and unsupported plugins you can use in GRAMPS to obtain extra functionality.
+
#REDIRECT [[4.2 Addons‎]]
 
 
[[Category:Plugins]]
 
[[Category:Developers/General]]
 
 
 
== Installation of unsupported or third-party plugins in GRAMPS ==
 
 
 
To use one of these plugins add the file(s) to your <code>~/.gramps/plugins</code> directory, and restart GRAMPS.
 
 
 
== Age Statistics Plugin ==
 
The age statistics plugin shows the spread of ages in your database and age differences between parents and children. By Douglas S. Blank.
 
 
 
'''What does it do?'''
 
This plugin shows the spread of ages in your database and age differences between parents and children.
 
The file is at: http://bubo.brynmawr.edu/~dblank/AgeStats.py
 
 
 
'''Plugin author'''
 
Douglas S. Blank.
 
 
 
'''Safety of your database'''
 
This plugin only reads your data, and attempts no changes. However it's generally a good idea to make a backup before trying unsupported plugins.
 
 
 
'''User comments'''
 
Here's a sample output:
 
 
 
<pre>
 
--------+----------------------------------------------------+
 
  Age  |            Lifespan Age Distribution              |
 
--------+----------------------------------------------------+
 
  0-  5|XXXXXXXXXXXXXXXXXXXXXXXXXX                          |
 
  5- 10|XX                                                  |
 
  10- 15|                                                    |
 
  15- 20|XXXXXXXXXXXXX                                      |
 
  20- 25|XXXXXX                                              |
 
  25- 30|XXXXXX                                              |
 
  30- 35|XXXX                                                |
 
  35- 40|XXXXXXXX                                            |
 
  40- 45|XXXXXXXX                                            |
 
  45- 50|XXXXXX                                              |
 
  50- 55|XXXXXXXXXXXXXXXXX                                  |
 
  55- 60|XXXXXXXXXXXXXXXXX                                  |
 
  60- 65|XXXXXXXXXXXXXXXXXXXXXXXXXX                          |
 
  65- 70|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                    |
 
  70- 75|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                      |
 
  75- 80|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX            |
 
  80- 85|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|
 
  85- 90|XXXXXXXXXXXXXXXXXXXXX                              |
 
  90- 95|XXXXXXXXXX                                          |
 
  95-100|XX                                                  |
 
100-105|XXXX                                                |
 
105-110|                                                    |
 
110-115|                                                    |
 
115-120|                                                    |
 
--------+----------------------------------------------------+
 
Counts 0            6          12          18            24
 
 
 
Statistics:
 
  Total  : 155
 
  Minimum: 0
 
  Average: 60.55
 
  Median : 69
 
  Maximum: 101
 
 
 
--------+----------------------------------------------------+
 
  Diff  |        Father - Child Age Diff Distribution        |
 
--------+----------------------------------------------------+
 
  0-  5|                                                    |
 
  5- 10|                                                    |
 
  10- 15|                                                    |
 
  15- 20|XXXXXXXXX                                          |
 
  20- 25|XXXXXXXXXXXX                                        |
 
  25- 30|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|
 
  30- 35|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|
 
  35- 40|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  |
 
  40- 45|XXXXXXXXXXXXXXXXXXX                                |
 
  45- 50|XXXXXXXXX                                          |
 
  50- 55|XXXXXX                                              |
 
  55- 60|XXXX                                                |
 
--------+----------------------------------------------------+
 
Counts 0            21          43          64            86
 
 
 
Statistics:
 
  Total  : 359
 
  Minimum: 0
 
  Average: 33.30
 
  Median : 32
 
  Maximum: 58
 
 
 
--------+----------------------------------------------------+
 
  Diff  |        Mother - Child Age Diff Distribution        |
 
--------+----------------------------------------------------+
 
  0-  5|                                                    |
 
  5- 10|                                                    |
 
  10- 15|                                                    |
 
  15- 20|XXX                                                |
 
  20- 25|XXXXXXXXXXXXXXXXXXXXXX                              |
 
  25- 30|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|
 
  30- 35|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX              |
 
  35- 40|XXXXXXXXXXXXXXXXXXXXXXXX                            |
 
  40- 45|XXXXXXX                                            |
 
  45- 50|XXXX                                                |
 
  50- 55|                                                    |
 
  55- 60|                                                    |
 
--------+----------------------------------------------------+
 
Counts 0            30          60          90          121
 
 
 
Statistics:
 
  Total  : 360
 
  Minimum: 3
 
  Average: 29.92
 
  Median : 29
 
  Maximum: 48
 
</pre>
 
 
 
== DenominoViso - HTML Ancestors page ==
 
The DenominoViso plugin creates an interactive html/javascript page displaying all ancestors on one page. By Michiel Nauta.
 
 
 
'''What does it do?'''
 
This plugin can be found at http://www.home.versatel.nl/m.d.nauta/index.html
 
 
 
'''Plugin author'''
 
Michiel Nauta
 
 
 
'''Safety of your database'''
 
This plugin only reads your data, and attempts no changes. However it's generally a good idea to make a backup before trying unsupported plugins.
 
 
 
'''User comments'''
 
* There's an example is at http://www.home.versatel.nl/m.d.nauta/voorouders.xhtml
 
* Works fine for me with GRAMPS 2.2.6 - DuncanNZ
 
 
 
== Place Completion Tool ==
 
[[Image:place_completion_tool_example2.png|thumb|Place completion tool in action]]
 
The place completion tool enables you to work on a selection of your places. It can look up latitude and longitude, and you can set county, parish, state, ... data on a group of places with one click.
 
 
 
'''Download, Manual and Installation'''
 
 
 
See: [[Place completion tool]]
 
<br clear=all>
 
 
 
== Family Lines ==
 
[[Image:Familylines with thumbnails.gif|thumb|Example of a Familylines graph with thumbnail images.]]
 
'''What does it do?'''
 
The family lines plugin produces .dot ([http://www.graphviz.org/ Graphviz]) files which can then be used to produce .gif, .png, .pdf, and many other formats.  You give it a list of people of interest, and it will output only people directly related to the people of interest.  For example, place your grandparents as people of interest, and select the option to follow both ancestors and children.
 
 
 
'''Download'''
 
[http://charette.no-ip.com:1234/Charette/FamilyLines.py http://charette.no-ip.com:1234/Charette/FamilyLines.py]
 
 
 
'''Plugin author'''
 
Stéphane Charette, [mailto:[email protected] [email protected]]
 
 
 
'''Safety of your database'''
 
This plugin only reads the database, and attempts no changes.
 
 
 
See [[Familylines plugin]] for additional information on this plugin.
 
 
 
== Others ==
 
 
 
'''Here custom plugins for testing and experimentations'''
 
 
 
Maybe they not always use the right method. But there is multiple solutions. If they help someone, then it was a good reason to share them.
 
Improve, modify them. Enjoy !!!
 
 
 
'''Safety of your database'''
 
Plugins only reads the database, and attempts no changes.
 
 
 
* [http://www.ifrance.com/romjerome/forename.py forename.py] is an alternative to ''statistic charts->forename'' or [http://www.ifrance.com/romjerome/firstname.py firstname.py]. It uses the model list written for GRAMPS core. It lists people and retrieve the first name with a count.
 
 
 
Exercise : you can get "surnames" with a minor modification ...
 
 
 
* [http://www.ifrance.com/romjerome/reporeport.py reporeport.py] displays Repositories with their related sources data. This may be useful for genealogical search. Thanks Alex for your help !
 
 
 
* [http://www.ifrance.com/romjerome/datespersurname.py datespersurname.py] (very experimental, far away to be finished) try to follow useful tip for genealogical search : who, when, where, which could be translated by find :
 
# ''families'' at ''date'' on ''places'' ([ftp://ftp.cac.psu.edu/pub/genealogy/text/guides/tafel.zip old tiny tafel] or [[Summary_Event_List|Summary Event List]])
 
# ''places'' with ''families'' at ''date'' (geographical map)
 
# ''dates'' with ''families'' (chronological patronymic linea/pedigree)
 
 
 
* [http://www.ifrance.com/romjerome/Simple.tar.gz html_tree.py] was a testing for next GRAMPS simplified API. Should still work with command line. Also, need to add image_path for parents.
 
 
 
* [http://www.ifrance.com/romjerome/rel_fr.py rel_fr.py] is an alternative to existing rel_fr. There is no more generic values, Gramps displays the place on generation level for all individuals according his relationship with active person. Code could be used for a list (all first cousins, all ancestors on 14th generation ...)
 
 
 
* There is some unsupported plugins, which are no more maintened on sources. And some people make modifications on existing plugins (see  descendant report [http://www.ifrance.com/romjerome/my_descendant_report.py alternative] by [http://svn.nomeata.de/wsvn/isaak-buch/gramps-plugins/| Joachim Breitner]). Also, Richard taylor worked on a traditional style descendant tree. Currently, [http://www.ifrance.com/romjerome/TradDesTree.py this plugin] is no more supported by current gramps version : it is not possible to get accurate font metrics in the current report framework. This means that the names sometimes overlap and sometimes have large gaps. New GtkPrinting with Cairo/pango should provide the correct font metrics. Everybody who is able to help on Gramps GtkPrint support is welcome ...
 
 
 
== Tips for simple custom plugin ==
 
 
 
GRAMPS offers a fantastic and powerful report manager which allow us to export on most current formats. (see [[Report-writing_tutorial|DbSummary.py]])
 
 
 
* GRAMPS [[Using_database_API|heart, core, API]] is written on [http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/src/RelLib/ RelLib]
 
* On GRAMPS 2.2.x, we may use simple custom templates for exporting results with [http://gramps.svn.sourceforge.net/viewvc/*checkout*/gramps/trunk/src/ListModel.py ListModel], or all [http://svn.gnome.org/viewcvs/pygtk/trunk/examples/ pygtk modules] (gtk, glade, gobject). Also, GRAMPS 3.0 will introduce a simplified API. (see [http://gramps.svn.sourceforge.net/viewvc/*checkout*/gramps/trunk/src/Simple/_SimpleAccess.py SimpleAccess.py] and [http://gramps.svn.sourceforge.net/viewvc/*checkout*/gramps/trunk/src/plugins/all_events.py all_events.py]).
 
* Tools could be written too ... (see [http://gramps.svn.sourceforge.net/viewvc/*checkout*/gramps/trunk/src/PluginUtils/_Tool.py Tool.py],  [http://gramps.svn.sourceforge.net/viewvc/*checkout*/gramps/trunk/src/plugins/DumpGenderStats.py DumpGenderStats.py],  [http://gramps.svn.sourceforge.net/viewvc/*checkout*/gramps/trunk/src/plugins/EventNames.py EventNames], [http://gramps.svn.sourceforge.net/viewvc/*checkout*/gramps/trunk/src/plugins/ExtractCity.py ExtractCity], [[Place_completion_tool|Place completion_tool]]). '''Safety of your database''': This plugins attempts changes on your database. It's a good idea to make a backup before trying this unsupported plugins/tools.
 

Revision as of 00:26, 5 August 2015

Redirect to: