Changes

Jump to: navigation, search

Addon:Isotammi addons

1,180 bytes added, 15:04, 30 September 2022
m
SuperTool
[[File:SuperTool-tool-Isotammi-51.png|thumb|450px|right|SuperTool]]
This is a general purpose scripting tool that can be used to do "ad-hoc" queries against a Gramps family tree/database. The queries are expressed in the Python programming language so the tool is most useful for programmers. But the intent is also that the tool is easy enough to allow regular Gramps users to make use of it. The queries can be saved as script files that a user can then load into the tool without necessarily understanding the details.
 
Initially, the higher order functions of certain [https://docs.python.org/3/library/ Python Standard Library] modules ([https://docs.python.org/3/library/os.html os], [https://docs.python.org/3/library/sys.html sys], [https://docs.python.org/3/library/re.html re], [https://docs.python.org/3/library/functools.html functools], [https://docs.python.org/3/library/collections.html collections]) are available in SuperTool be default. And the Gramps [https://gramps-project.org/api_5_0_x/gen/gen_lib.html?highlight=gen%20lib%20family#primary-objects Primary Object] matching the currently active view ([https://gramps-project.org/api_5_0_x/gen/gen_lib.html?highlight=gen%20lib%20family#module-gramps.gen.lib.person Person], Family etc) is implicitly defined when the tool is started. [https://gramps-project.org/api_5_0_x/gen/gen_lib.html?highlight=gen%20lib%20family#secondary-objects Secondary objects] (like [https://gramps-project.org/api_5_0_x/gen/gen_lib.html?highlight=gen%20lib%20family#module-gramps.gen.lib.eventtype EventType], PlaceName) are ''not'' defined and the script has to explicitly import them (in the "Initialization Statements" section) if they are needed.
This tool works in the Gramps versions 5.x and later. It will be installed in the "Isotammi tools" submenu under the Tools menu.
* Generic note filter
{{-}}
 
==== FilterParams tool ====
Currently [https://github.com/kkujansuu/gramps/tree/master/addons/FilterParams in beta].
4,529
edits

Navigation menu