gedcom-x 0.5.7__py3-none-any.whl → 0.5.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. {gedcom_x-0.5.7.dist-info → gedcom_x-0.5.9.dist-info}/METADATA +1 -1
  2. gedcom_x-0.5.9.dist-info/RECORD +56 -0
  3. gedcomx/Extensions/rs10/rsLink.py +110 -60
  4. gedcomx/TopLevelTypeCollection.py +1 -1
  5. gedcomx/__init__.py +43 -42
  6. gedcomx/address.py +217 -0
  7. gedcomx/{Agent.py → agent.py} +107 -34
  8. gedcomx/attribution.py +115 -0
  9. gedcomx/{Conclusion.py → conclusion.py} +120 -51
  10. gedcomx/{Converter.py → converter.py} +261 -116
  11. gedcomx/coverage.py +64 -0
  12. gedcomx/{Date.py → date.py} +43 -9
  13. gedcomx/{Document.py → document.py} +60 -12
  14. gedcomx/{Event.py → event.py} +88 -31
  15. gedcomx/evidence_reference.py +20 -0
  16. gedcomx/{Fact.py → fact.py} +81 -74
  17. gedcomx/{Gedcom.py → gedcom.py} +10 -0
  18. gedcomx/{Gedcom5x.py → gedcom5x.py} +31 -21
  19. gedcomx/gedcom7/Exceptions.py +9 -0
  20. gedcomx/gedcom7/GedcomStructure.py +94 -0
  21. gedcomx/gedcom7/Specification.py +347 -0
  22. gedcomx/gedcom7/__init__.py +26 -0
  23. gedcomx/gedcom7/g7interop.py +205 -0
  24. gedcomx/gedcom7/gedcom7.py +160 -0
  25. gedcomx/gedcom7/logger.py +19 -0
  26. gedcomx/{GedcomX.py → gedcomx.py} +109 -106
  27. gedcomx/gender.py +91 -0
  28. gedcomx/group.py +72 -0
  29. gedcomx/{Identifier.py → identifier.py} +48 -21
  30. gedcomx/{LoggingHub.py → logging_hub.py} +19 -0
  31. gedcomx/{Mutations.py → mutations.py} +59 -30
  32. gedcomx/{Name.py → name.py} +88 -47
  33. gedcomx/note.py +105 -0
  34. gedcomx/online_account.py +19 -0
  35. gedcomx/{Person.py → person.py} +61 -41
  36. gedcomx/{PlaceDescription.py → place_description.py} +71 -23
  37. gedcomx/{PlaceReference.py → place_reference.py} +32 -10
  38. gedcomx/{Qualifier.py → qualifier.py} +20 -4
  39. gedcomx/relationship.py +156 -0
  40. gedcomx/resource.py +112 -0
  41. gedcomx/serialization.py +794 -0
  42. gedcomx/source_citation.py +37 -0
  43. gedcomx/source_description.py +401 -0
  44. gedcomx/{SourceReference.py → source_reference.py} +56 -21
  45. gedcomx/subject.py +122 -0
  46. gedcomx/textvalue.py +89 -0
  47. gedcomx/{Translation.py → translation.py} +4 -4
  48. gedcomx/uri.py +273 -0
  49. gedcom_x-0.5.7.dist-info/RECORD +0 -49
  50. gedcomx/Address.py +0 -131
  51. gedcomx/Attribution.py +0 -91
  52. gedcomx/Coverage.py +0 -37
  53. gedcomx/EvidenceReference.py +0 -11
  54. gedcomx/Gender.py +0 -65
  55. gedcomx/Group.py +0 -37
  56. gedcomx/Note.py +0 -73
  57. gedcomx/OnlineAccount.py +0 -10
  58. gedcomx/Relationship.py +0 -97
  59. gedcomx/Resource.py +0 -85
  60. gedcomx/Serialization.py +0 -816
  61. gedcomx/SourceCitation.py +0 -25
  62. gedcomx/SourceDescription.py +0 -314
  63. gedcomx/Subject.py +0 -59
  64. gedcomx/TextValue.py +0 -35
  65. gedcomx/URI.py +0 -105
  66. {gedcom_x-0.5.7.dist-info → gedcom_x-0.5.9.dist-info}/WHEEL +0 -0
  67. {gedcom_x-0.5.7.dist-info → gedcom_x-0.5.9.dist-info}/top_level.txt +0 -0
  68. /gedcomx/{Exceptions.py → exceptions.py} +0 -0
  69. /gedcomx/{ExtensibleEnum.py → extensible_enum.py} +0 -0
@@ -0,0 +1,9 @@
1
+
2
+
3
+
4
+ class GedcomError(Exception):
5
+ """Generic error in GEDCOM processing."""
6
+ pass
7
+
8
+ class GedcomInvalidSubStructure(Exception):
9
+ pass
@@ -0,0 +1,94 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Dict, Any
4
+ import warnings
5
+ from . import Specification as g7
6
+
7
+ from typing import Dict, List,Optional,Any
8
+
9
+
10
+ gedcom_top_level_terms = ['https://gedcom.io/terms/v7/CONT',
11
+ 'https://gedcom.io/terms/v7/record-FAM',
12
+ 'https://gedcom.io/terms/v7/record-INDI',
13
+ 'https://gedcom.io/terms/v7/record-SNOTE',
14
+ 'https://gedcom.io/terms/v7/record-SUBM',
15
+ 'https://gedcom.io/terms/v7/TRLR',
16
+ 'https://gedcom.io/terms/v7/HEAD',
17
+ 'https://gedcom.io/terms/v7/record-OBJE',
18
+ 'https://gedcom.io/terms/v7/record-REPO',
19
+ 'https://gedcom.io/terms/v7/record-SOUR']
20
+
21
+
22
+
23
+
24
+ class GedcomStructure:
25
+ version = 'v7'
26
+
27
+ def __init__(
28
+ self,
29
+ *,
30
+ level: int | None = None,
31
+ xref: str | None = None,
32
+ tag: str | None = None,
33
+ pointer: bool | None = None,
34
+ text: str | None = None,
35
+ parent: GedcomStructure | None = None,
36
+ line_num: int | None = None
37
+ ) -> None:
38
+ """Create a GEDCOM structure node.
39
+
40
+ Args:
41
+ level: GEDCOM line level (0..n).
42
+ xref: Optional cross-reference id (e.g., '@I1@').
43
+ tag: GEDCOM tag (e.g., 'INDI', 'NAME').
44
+ pointer: True if this line is a pointer, False if not, None if unknown.
45
+ text: Literal text payload for this line.
46
+ parent: Parent node in the structure tree, if any.
47
+ """
48
+ self.level = level
49
+ self.xref = xref
50
+ self.tag = tag
51
+ self.pointer = pointer
52
+ self.text = text
53
+ self.parent = parent
54
+ self.value = text
55
+ self.pointer = pointer if pointer else False
56
+ self.line_num = line_num
57
+
58
+ if self.level and self.level > 0 and text and text.startswith('@') and text.endswith('@'):
59
+ self.pointer = True
60
+ self.xref = text
61
+
62
+ self.parent: GedcomStructure | None = parent if parent else None
63
+ if self.parent and isinstance(self.parent, GedcomStructure):
64
+ parent.subtructures.append(self)
65
+
66
+ self.extension = False if not tag else True if tag.startswith('_') else False
67
+ self.uri = g7.match_uri(tag,self.parent)
68
+ self.label = g7.get_label(self.uri)
69
+
70
+ self.subtructures = []
71
+
72
+
73
+ def _as_dict_(self):
74
+ as_dict = {}
75
+ as_dict['level'] = self.level
76
+ if self.xref: as_dict['xref'] = self.xref
77
+ as_dict['tag'] = self.tag
78
+ if self.value: as_dict['value'] = self.value
79
+ if self.subtructures: as_dict['substructures'] = [substructure._as_dict_() for substructure in self.subtructures]
80
+ return {g7.get_label(self.uri):as_dict}
81
+
82
+ def __repr__(self):
83
+ return (
84
+ "GedcomStructure("
85
+ f"level: {self.level} tag={self.tag:<6} ({self.label}), {'(Ext)' if self.extension else ''} xref:{self.xref} pointer={self.pointer}, text='{self.value}', "
86
+ f"uri={self.uri} subStructures: {len(self.subtructures)}"
87
+ )
88
+
89
+ def __getitem__(self,index) -> List['GedcomStructure']:
90
+ return [s for s in self.subtructures if s.tag == index]
91
+
92
+
93
+
94
+
@@ -0,0 +1,347 @@
1
+ import json
2
+ from typing import Dict, Any
3
+ import os
4
+
5
+ def load_spec(file_path: str) -> Dict[str, Any]:
6
+ """
7
+ Load the JSON spec file into a Python dict.
8
+
9
+ :param file_path: Path to your spec.json
10
+ :return: A dict mapping each URI to its structure-definition dict.
11
+ """
12
+ with open(file_path, "r", encoding="utf-8") as f:
13
+ return json.load(f)
14
+
15
+ SPEC_PATH = os.path.join(os.path.dirname(__file__), "spec.json")
16
+ structure_specs = load_spec(SPEC_PATH)
17
+
18
+ def get_substructures(key: str) -> Dict[str, Any]:
19
+ """
20
+ Return the 'substructures' dict for the given key.
21
+ """
22
+ struct = structure_specs.get(key)
23
+ if struct is None:
24
+ return {}
25
+ raise KeyError(f"No entry for key {key!r} in spec.json")
26
+ return struct.get("substructures", {})
27
+
28
+ def get_label(key: str) -> Dict[str, Any]:
29
+ """
30
+ Return the label for the given key.
31
+ """
32
+ struct = structure_specs.get(key)
33
+ if struct is None:
34
+ raise KeyError(f"No entry for key {key!r} in spec.json")
35
+ return 'None'
36
+
37
+ return struct.get("label", 'No Label')
38
+
39
+ def match_uri(tag: str,parent):
40
+ uri = None
41
+ if tag.startswith("_"):
42
+ uri = structure_specs.get(tag)
43
+ elif parent:
44
+ valid_substrutures = get_substructures(parent.uri)
45
+ uri = valid_substrutures.get(tag)
46
+ elif 'https://gedcom.io/terms/v7/record-' + tag in structure_specs.keys():
47
+ uri = 'https://gedcom.io/terms/v7/record-' + tag
48
+ elif 'https://gedcom.io/terms/v7/' + tag in structure_specs.keys():
49
+ uri = 'https://gedcom.io/terms/v7/' + tag
50
+ if uri == None:
51
+ raise ValueError(f'Could not get uri for tag: {tag}, parent: {parent}')
52
+ return uri
53
+
54
+ '''
55
+ MIT License
56
+
57
+ Copyright (c) 2022 David Straub
58
+
59
+ Permission is hereby granted, free of charge, to any person obtaining a copy
60
+ of this software and associated documentation files (the "Software"), to deal
61
+ in the Software without restriction, including without limitation the rights
62
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
63
+ copies of the Software, and to permit persons to whom the Software is
64
+ furnished to do so, subject to the following conditions:
65
+
66
+ The above copyright notice and this permission notice shall be included in all
67
+ copies or substantial portions of the Software.
68
+
69
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
70
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
71
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
72
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
74
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
75
+ SOFTWARE.
76
+ '''
77
+ # TODO: https://github.com/DavidMStraub
78
+
79
+ # GEDCOM 7 regex patterns thanks@DavidMStraub
80
+
81
+ # --- Common primitives ---
82
+ d = '\\ ' # GEDCOM delimiter (escaped space)
83
+ integer = '[0-9]+' # One or more digits
84
+ nonzero = '[1-9]' # Digits 1–9
85
+
86
+ # --- Duration units ---
87
+ years = f'{integer}y'
88
+ months = f'{integer}m'
89
+ weeks = f'{integer}w'
90
+ days = f'{integer}d'
91
+
92
+ # --- Age format ---
93
+ agebound = '[<>]' # Optional boundary indicator (less than, greater than)
94
+ ageduration = (
95
+ f'((?P<years>{years})({d}(?P<months1>{months}))?({d}(?P<weeks1>{weeks}))?'
96
+ f'({d}(?P<days1>{days}))?|(?P<months2>{months})({d}(?P<weeks2>{weeks}))?'
97
+ f'({d}(?P<days2>{days}))?|(?P<weeks3>{weeks})({d}(?P<days3>{days}))?|'
98
+ f'(?P<days4>{days}))'
99
+ )
100
+ age = f'((?P<agebound>{agebound}){d})?{ageduration}'
101
+
102
+ # --- Tags and Enums ---
103
+ underscore = '_'
104
+ ucletter = '[A-Z]'
105
+ tagchar = f'({ucletter}|[0-9]|{underscore})'
106
+ exttag = f'{underscore}({tagchar})+'
107
+ stdtag = f'{ucletter}({tagchar})*'
108
+ tag = f'({stdtag}|{exttag})'
109
+ enum = tag
110
+
111
+ # --- Dates ---
112
+ daterestrict = 'FROM|TO|BET|AND|BEF|AFT|ABT|CAL|EST'
113
+ calendar = f'(?!{daterestrict})(GREGORIAN|JULIAN|FRENCH_R|HEBREW|{exttag})'
114
+ day = integer
115
+ month = f'(?!{daterestrict})({stdtag}|{exttag})'
116
+ year = integer
117
+ epoch = f'(?!{daterestrict})(BCE|{exttag})'
118
+
119
+ date = f'({calendar}{d})?(({day}{d})?{month}{d})?{year}({d}{epoch})?'
120
+
121
+ # --- Date variants with captures ---
122
+ date_capture = (
123
+ f'((?P<calendar>{calendar}){d})?(((?P<day>{day}){d})?'
124
+ f'(?P<month>{month}){d})?(?P<year>{year})({d}(?P<epoch>{epoch}))?'
125
+ )
126
+
127
+ dateapprox = f'(?P<qualifier>ABT|CAL|EST){d}(?P<dateapprox>{date})'
128
+ dateexact = f'(?P<day>{day}){d}(?P<month>{month}){d}(?P<year>{year})'
129
+ dateperiod = f'((TO{d}(?P<todate1>{date}))?|FROM{d}(?P<fromdate>{date})({d}TO{d}(?P<todate2>{date}))?)'
130
+ daterange = f'(BET{d}(?P<between>{date}){d}AND{d}(?P<and>{date})|AFT{d}(?P<after>{date})|BEF{d}(?P<before>{date}))'
131
+ datevalue = f'({date}|{dateperiod}|{daterange}|{dateapprox})?'
132
+
133
+ # --- Media types ---
134
+ mt_char = "[ -!#-'*-+\\--.0-9A-Z^-~]"
135
+ mt_token = f'({mt_char})+'
136
+ mt_type = mt_token
137
+ mt_subtype = mt_token
138
+ mt_attribute = mt_token
139
+ mt_qtext = '[\t-\n -!#-\\[\\]-~]'
140
+ mt_qpair = '\\\\[\t-~]'
141
+ mt_qstring = f'"({mt_qtext}|{mt_qpair})*"'
142
+ mt_value = f'({mt_token}|{mt_qstring})'
143
+ mt_parameter = f'{mt_attribute}={mt_value}'
144
+ mediatype = f'{mt_type}/{mt_subtype}(;{mt_parameter})*'
145
+
146
+ # --- Line structure (GEDCOM record lines) ---
147
+ atsign = '@'
148
+ xref = f'{atsign}({tagchar})+{atsign}'
149
+ voidptr = '@VOID@'
150
+ pointer = f'(?P<pointer>{voidptr}|{xref})'
151
+ nonat = '[\t -?A-\\U0010ffff]'
152
+ noneol = '[\t -\\U0010ffff]'
153
+ linestr = f'(?P<linestr>({nonat}|{atsign}{atsign})({noneol})*)'
154
+ lineval = f'({pointer}|{linestr})'
155
+
156
+ level = f'(?P<level>0|{nonzero}[0-9]*)'
157
+ eol = '(\\\r(\\\n)?|\\\n)'
158
+ line = f'{level}{d}((?P<xref>{xref}){d})?(?P<tag>{tag})({d}{lineval})?{eol}'
159
+
160
+ # --- List formats ---
161
+ nocommasp = '[\t-\\x1d!-+\\--\\U0010ffff]'
162
+ nocomma = '[\t-+\\--\\U0010ffff]'
163
+ listitem = f'({nocommasp}|{nocommasp}({nocomma})*{nocommasp})?'
164
+ listdelim = f'({d})*,({d})*'
165
+ list = f'{listitem}({listdelim}{listitem})*'
166
+ list_enum = f'{enum}({listdelim}{enum})*'
167
+ list_text = list
168
+
169
+ # --- Names ---
170
+ namechar = '[ -.0-\\U0010ffff]'
171
+ namestr = f'({namechar})+'
172
+ personalname = f'({namestr}|({namestr})?/(?P<surname>{namestr})?/({namestr})?)'
173
+
174
+ # --- Time format ---
175
+ fraction = '[0-9]+'
176
+ second = '[012345][0-9]'
177
+ minute = '[012345][0-9]'
178
+ hour = '([0-9]|[01][0-9]|2[0123])'
179
+ time = f'(?P<hour>{hour}):(?P<minute>{minute})(:(?P<second>{second})(\\.(?P<fraction>{fraction}))?)?(?P<tz>Z)?'
180
+
181
+ # --- Text and special ---
182
+ anychar = '[\t-\\U0010ffff]'
183
+ text = f'({anychar})*'
184
+ special = text
185
+
186
+ # --- Boolean ---
187
+ boolean = 'Y'
188
+
189
+ # --- Banned Unicode Ranges ---
190
+ '''
191
+ banned = %x00-08 / %x0B-0C / %x0E-1F ; C0 other than LF CR and Tab
192
+ / %x7F ; DEL
193
+ / %x80-9F ; C1
194
+ / %xD800-DFFF ; Surrogates
195
+ / %xFFFE-FFFF ; invalid
196
+ ; All other rules assume the absence of any banned characters
197
+ '''
198
+ banned = (
199
+ '[\\x00-\\x08\\x0b-\\x0c\\x0e-\\x1f\\x7f\\x80-\\x9f\\ud800-\\udfff'
200
+ '\\ufffe-\\uffff]'
201
+ )
202
+
203
+
204
+
205
+
206
+ # TAGS
207
+ CONT = "CONT"
208
+ HEAD = "HEAD"
209
+ ABBR = "ABBR"
210
+ ADDR = "ADDR"
211
+ ADOP = "ADOP"
212
+ ADR1 = "ADR1"
213
+ ADR2 = "ADR2"
214
+ ADR3 = "ADR3"
215
+ AGE = "AGE"
216
+ AGNC = "AGNC"
217
+ ALIA = "ALIA"
218
+ ANCI = "ANCI"
219
+ ANUL = "ANUL"
220
+ ASSO = "ASSO"
221
+ AUTH = "AUTH"
222
+ BAPL = "BAPL"
223
+ BAPM = "BAPM"
224
+ BARM = "BARM"
225
+ BASM = "BASM"
226
+ BIRT = "BIRT"
227
+ BLES = "BLES"
228
+ BURI = "BURI"
229
+ CALN = "CALN"
230
+ CAST = "CAST"
231
+ CAUS = "CAUS"
232
+ CENS = "CENS"
233
+ CHAN = "CHAN"
234
+ CHIL = "CHIL"
235
+ CHR = "CHR"
236
+ CHRA = "CHRA"
237
+ CITY = "CITY"
238
+ CONF = "CONF"
239
+ CONL = "CONL"
240
+ COPR = "COPR"
241
+ CORP = "CORP"
242
+ CREA = "CREA"
243
+ CREM = "CREM"
244
+ CROP = "CROP"
245
+ CTRY = "CTRY"
246
+ DATA = "DATA"
247
+ DATE = "DATE"
248
+ DEAT = "DEAT"
249
+ DESI = "DESI"
250
+ DEST = "DEST"
251
+ DIV = "DIV"
252
+ DIVF = "DIVF"
253
+ DSCR = "DSCR"
254
+ EDUC = "EDUC"
255
+ EMAIL = "EMAIL"
256
+ EMIG = "EMIG"
257
+ ENDL = "ENDL"
258
+ ENGA = "ENGA"
259
+ EVEN = "EVEN"
260
+ EXID = "EXID"
261
+ FACT = "FACT"
262
+ FAM = "FAM"
263
+ FAMC = "FAMC"
264
+ FAMS = "FAMS"
265
+ FAX = "FAX"
266
+ FCOM = "FCOM"
267
+ FILE = "FILE"
268
+ FORM = "FORM"
269
+ GEDC = "GEDC"
270
+ GIVN = "GIVN"
271
+ GRAD = "GRAD"
272
+ HEIGHT = "HEIGHT"
273
+ HUSB = "HUSB"
274
+ IDNO = "IDNO"
275
+ IMMI = "IMMI"
276
+ INDI = "INDI"
277
+ INIL = "INIL"
278
+ LANG = "LANG"
279
+ LATI = "LATI"
280
+ LEFT = "LEFT"
281
+ LONG = "LONG"
282
+ MAP = "MAP"
283
+ MARB = "MARB"
284
+ MARC = "MARC"
285
+ MARL = "MARL"
286
+ MARR = "MARR"
287
+ MARS = "MARS"
288
+ MEDI = "MEDI"
289
+ MIME = "MIME"
290
+ NAME = "NAME"
291
+ NATI = "NATI"
292
+ NATU = "NATU"
293
+ NCHI = "NCHI"
294
+ NICK = "NICK"
295
+ NMR = "NMR"
296
+ NO = "NO"
297
+ NOTE = "NOTE"
298
+ NPFX = "NPFX"
299
+ NSFX = "NSFX"
300
+ OBJE = "OBJE"
301
+ OCCU = "OCCU"
302
+ ORDN = "ORDN"
303
+ PAGE = "PAGE"
304
+ PEDI = "PEDI"
305
+ PHON = "PHON"
306
+ PHRASE = "PHRASE"
307
+ PLAC = "PLAC"
308
+ POST = "POST"
309
+ PROB = "PROB"
310
+ PROP = "PROP"
311
+ PUBL = "PUBL"
312
+ QUAY = "QUAY"
313
+ REFN = "REFN"
314
+ RELI = "RELI"
315
+ REPO = "REPO"
316
+ RESI = "RESI"
317
+ RESN = "RESN"
318
+ RETI = "RETI"
319
+ ROLE = "ROLE"
320
+ SCHMA = "SCHMA"
321
+ SDATE = "SDATE"
322
+ SEX = "SEX"
323
+ SLGC = "SLGC"
324
+ SLGS = "SLGS"
325
+ SNOTE = "SNOTE"
326
+ SOUR = "SOUR"
327
+ SPFX = "SPFX"
328
+ SSN = "SSN"
329
+ STAE = "STAE"
330
+ STAT = "STAT"
331
+ SUBM = "SUBM"
332
+ SURN = "SURN"
333
+ TAG = "TAG"
334
+ TEMP = "TEMP"
335
+ TEXT = "TEXT"
336
+ TIME = "TIME"
337
+ TITL = "TITL"
338
+ TOP = "TOP"
339
+ TRAN = "TRAN"
340
+ TRLR = "TRLR"
341
+ TYPE = "TYPE"
342
+ UID = "UID"
343
+ VERS = "VERS"
344
+ WIDTH = "WIDTH"
345
+ WIFE = "WIFE"
346
+ WILL = "WILL"
347
+ WWW = "WWW"
@@ -0,0 +1,26 @@
1
+
2
+
3
+ """
4
+ ======================================================================
5
+ Project: Gedcom-X
6
+ File: __init__.py
7
+ Author: David J. Cartwright
8
+ Purpose:
9
+
10
+ Created: 2025-08-25
11
+ Updated:
12
+ - 2025-09-01 added __all__ = ["Gedcom7"]
13
+
14
+ ======================================================================
15
+ """
16
+
17
+ """
18
+ ======================================================================
19
+ GEDCOM Module Types
20
+ ======================================================================
21
+ """
22
+ from .GedcomStructure import GedcomStructure
23
+ from .logger import get_logger
24
+ from .Specification import structure_specs
25
+ from .gedcom7 import Gedcom7
26
+ __all__ = ["Gedcom7"]