gedcom.element.source module

GEDCOM element consisting of tag gedcom.tags.GEDCOM_TAG_SOURCE

exception gedcom.element.source.NotAnActualSourceError

Bases: Exception

class gedcom.element.source.SourceElement(level, pointer, tag, value, crlf='\n', multi_line=True)

Bases: gedcom.element.element.Element

get_author()

Returns name of author

Return type

str

get_objects()

Returns the objects of a person formatted as a list

Return type

list

get_page()

Returns page of source

Return type

str

get_publisher()

Returns publisher of source

Return type

str

get_repository()

Returns pointer of source’s repository

Return type

str

get_tag()

Returns the tag of this element from within the GEDCOM file

Return type

str

get_title()

Returns title of source

Return type

str