Open main menu

Gramps β

Changes

Addon:ExportRaw

1,300 bytes added, 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]]
==Purpose==The {{man label|Raw Export}}er will dump 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 has been used for byte-wise comparisons uses the object string conversion representation returned from Python's [https://docs.python.org/3/library/functions.html#repr <code>repr()</code>] builtin function. It is similar to make sure that different importthe [https://docs.python.org/3/library/export functions process the data correctly.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.
==Usage==Start an export via the menu {{man menu|Family Trees > Export...}} and on the {{man label|[[Gramps_{{man version}}_Wiki_Manual_-_Manage_Family_Trees#Export_Assistant_dialog|Export Assistant dialog]]}} select the {{man button|Next}} button to get to the {{man label|Choose the output format}} page where you can select the {{man label|[ ]Raw Export}} option checkbox. ==Example output==The output file <code>[filenamename].raw</code> can be opened and viewed in a text editor. Here is a sample using the the example[[Example.gramps ]] family tree:
<pre>
tag: bb80c2b235b0a1b3f49 ('bb80c2b235b0a1b3f49', 'ToDo', '#efb60c280c28', 0, 1288512442)
</pre>
==See also==
Source code:
* [https://github.com/gramps-project/addons-source/tree/master/ExportRaw ExportRaw] addon
* [https://github.com/gramps-project/gramps/tree/master/gramps/gen/lib gramps/gen/lib] (see type.py)
 
==Usage==* [[Gramps_Data_Model|Gramps data model diagram]]Start an * Discourse forum thread: "[https://gramps.discourse.group/t/does-anyone-have-a-list-of-the-raw-export via -addon-event-type-codes/3546 Does anyone have a list of the menu {{man menu|Family Trees > Raw Exportaddon 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.}} and on the {{man label|lib.eventtype]* The [[Gramps_{{man version}}_Wiki_Manual_-_Manage_Family_TreesAddon:Isotammi_addons#Export_Assistant_dialogSuperTool|Export Assistant dialogSupertool (Isotammi addon tool)]]}} select includes the {{man button|Next}} button ability to get to the {{man label|Choose the output format}} page where you can select the {{man label|[ ]Raw Export}} option checkbox.show repr() and str() data interactively
[[Category:Plugins]]
[[Category:Developers/General]]
15,091
edits