Open main menu

Gramps β

Changes

Addon:ExportRaw

4 bytes removed, 00:51, 28 December 2024
no edit summary
{{Third-party pluginaddon}}
[[File:ExportRaw-option-addon-50.png|thumb|right|450px|The {{man label|[ ]Raw Export}} option checkbox on the {{man label|Choose the output format}} page]]
The {{man label|Raw Export}} adds an option to the Export Assistant feature. The option dumps your SQLite3 (''default'' database engine since Gramps 5.1) or BSDDB (Gramps database; into a raw Python object representation format for low-level manipulation.
This uses the object string conversion representation returned from Python's [https://docs.python.org/3/library/functions.html#repr <code>repr()</code>] built-in builtin function. It is similar to the [https://docs.python.org/3/library/functions.html#func-str <code>str()</code>] function but intended for internal use rather than display. It can be useful for printing an element regardless of its type.
Raw output has been used for byte-wise comparisons to make sure that different import/export functions process the data correctly.
==See also==
Source code:
* [https://github.com/gramps-project/addons-source/tree/master/ExportRaw ExportRaw] add-onaddon
* [https://github.com/gramps-project/gramps/tree/master/gramps/gen/lib gramps/gen/lib] (see type.py)
* Discourse forum thread: "[https://gramps.discourse.group/t/does-anyone-have-a-list-of-the-raw-export-addon-event-type-codes/3546 Does anyone have a list of the Raw Export addon event type codes?]"
* Developer documentation: [https://www.gramps-project.org/docs/gen/gen_lib.html#module-gramps.gen.lib.eventtype gen_lib.html#module-gramps.gen.lib.eventtype]
* The [[Addon:Isotammi_addons#SuperTool|Supertool (Isotammi add-on addon tool)]] includes the ability to show repr() and str() data interactively
[[Category:Plugins]]
[[Category:Developers/General]]
15,091
edits