Difference between revisions of "Third-party Addons"

From Gramps
Jump to: navigation, search
(Others)
(fix double redirect)
(147 intermediate revisions by 10 users not shown)
Line 1: Line 1:
Third-party plugins and unsupported plugins you can use in GRAMPS to obtain extra functionality.
+
#REDIRECT [[4.1 Addons‎]]
 
 
[[Category:Plugins]]
 
 
 
== 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 ==
 
 
 
GRAMPS offers a fantastic and powerful report manager which allow us to export on most current formats. (see DbSummary.py)
 
 
 
But if like me, you start to understand python and want to generate custom plugins or you are a python wizard and want to generate tools, maybe you need more examples.
 
 
 
'''I want to share some tips who help me'''
 
 
 
{{man tip|
 
* GRAMPS heart, core, API is written on RelLib
 
* On GRAMPS 2.2.x, as non-developper, I used two simple custom templates for exporting results (with ListModel or internal glade), plus the python command line output !!! GRAMPS 3.0 will introduce a simplified API. (see Simple/_SimpleAccess.py and plugins/all_events.py).''Maybe it is time for you to start coding ...''
 
* Tools could be written too ... (see PluginUtils/Tool.py and plugins/DumpGenderStats.py)
 
}}
 
 
 
*
 
 
 
*
 
 
 
'''Here my custom plugins for testing'''
 
 
 
I warn you, I don't study python programmation and maybe don't use the right method. But there is always multiple solutions. Plugins are OK for me, if they help someone, then it was a good reason to share them.
 
 
 
* forename.py is a summary of forenames on your database. It uses the model list written for GRAMPS core. It lists people and retrieve the first name with a count.
 
 
 
Also, a funny exercise : you can get "surnames" with a minor modification ...
 
 
 
* reporeport.py is something I would like to write but I am not able yet ... backlink or dictionnaries are for me black magic !!! Thanks Alex for your help ! This plugin displays Repositories with their related sources data. This may be useful for genealogical search.
 
 
 
* datespersurname.py enlights my limits. I wanted to generated a list of surnames with a span of years on differents places. Also, a list of places with their presents surnames will be possible too. 3 lists with an index were planned but this will use python core functions. Here just my first try, far away to be finished ...
 
 
 
* html_tree.py was a testing for next GRAMPS simplified API. Should still work with command line. Also, I need to add image_path for parents.
 
 
 
 
 
Improve, modify them. Enjoy !!!
 

Revision as of 04:50, 14 July 2015

Redirect to: