Skip to content

Releases: joeyaurel/python-gedcom

v2.0.0-dev3

07 Aug 07:16
Compare
Choose a tag to compare
v2.0.0-dev3 Pre-release
Pre-release
chore: release 2.0.0-dev3

v2.0.0-dev2

07 Aug 07:07
Compare
Choose a tag to compare
v2.0.0-dev2 Pre-release
Pre-release
Bump version: 2.0.0-dev1 → 2.0.0-dev2

v2.0.0-dev1

07 Aug 07:05
Compare
Choose a tag to compare
v2.0.0-dev1 Pre-release
Pre-release
Bump version: 2.0.0-dev0 → 2.0.0-dev1

v1.0.0

02 Apr 14:43
Compare
Choose a tag to compare

Changes:

  • Added CHANGELOG.md
  • Set source code encoding to UTF-8 explicitly, since for Python 2 ASCII would be the default. For Python 3 the default is UTF-8.
  • Separated code of __init__.py into individual files, updating the package structure (#15)
    • Resulted in a new parser.py file containing the actual parser, a element.py containing the elements the parser can parse and a tags.py containing the used GEDCOM tags
  • Separated code of new element.py into individual modules extending the Element class within new submodule element to better
    differentiate between the type of Elements the parser parses (e.g. FamilyElement, IndividualElement, ...)
  • Added helpers.py containing helper functions like a @deprecated annotation to annotate methods or classes as
    deprecated. (The helpers may be removed when its contents are no longer used within the project.)
  • GEDCOM file is no longer parsed within constructor of Parser class (the actual parser; it was named Gedcom before).
    The new way to parse is as follows:
    # from gedcom import Gedcom   <- Old way of importing the parser
    from gedcom.parser import Parser
    
    file_path = '' # Path to your `.ged` file
    
    # The old way would be to supply the `Parser` (or `Gedcom`) class the `file_path` as its first parameter on initialization
    gedcom_parser = Parser()
    
    # The new way to parse a GEDCOM file
    gedcom_parser.parse_file(file_path)
    
    # ...

Deprecations:

  • get_individual() method within Element class. Use to_gedcom_string() instead.
  • given_match() method within IndividualElement class. Use given_name_match() instead.
  • get_burial() method within IndividualElement class. Use get_burial_data() instead.
  • get_burial() method within IndividualElement class. Use get_burial_data() instead.
  • get_census() method within IndividualElement class. Use get_census_data() instead.

Migrating from v0.2.x to v1.0.0:

The old way of importing the gedcom package was like this: from gedcom import Gedcom.

The new package code is separated into individual modules within the package. So Parser (the actual parser which was named Gedcom) would be imported like this:
from gedcom.parser import Parser, since the Parser class lies within the module parser within the package gedcom.

Same procedure for the Element class: from gedcom.element.element import Element, since the Element class lies
within the package gedcom, the subpackage element and the module element.

This allows for better maintainability and scalability.

If there are any questions or you encounter a bug please open an issue here.

v0.2.5dev

15 Dec 10:45
Compare
Choose a tag to compare
v0.2.5dev Pre-release
Pre-release

Changes:

  • Updated project structure (#18)
  • Fixed setup.py outputting correct markdown when reading the README.md (#16)
  • Applied Flake8 code style and added explicit error handling
  • Set up test suite

v0.2.4dev

11 Dec 20:36
Compare
Choose a tag to compare
v0.2.4dev Pre-release
Pre-release

Changes:

  • Made surname_match and given_match case insensitive (#10)
  • Added new is_child method (#10)

v0.2.3dev

28 Nov 06:15
Compare
Choose a tag to compare
v0.2.3dev Pre-release
Pre-release

Changes:

  • Assemble Marriages properly (#9)
  • Return the top NAME record instead of the last one (#9)

v0.2.2dev

19 Nov 19:04
6042537
Compare
Choose a tag to compare
v0.2.2dev Pre-release
Pre-release

Changes:

  • Changed broken links to GEDCOM format specification (#2)
  • Added support for BOM control characters (#5, thanks to @nomadyow!)
  • Added support for the last line not having a CR and/or LF (#5, thanks to @nomadyow!)
  • Added support for incorrect line splitting generated by Ancestry. Insert CONT/CONC tag as necessary (#5, thanks to @nomadyow!)

v0.2.1dev

28 Nov 10:07
Compare
Choose a tag to compare
v0.2.1dev Pre-release
Pre-release

Changes:

  • Changed broken links to GEDCOM format specification (#2)

v0.2.0dev

09 Apr 10:18
Compare
Choose a tag to compare
v0.2.0dev Pre-release
Pre-release

Changes:

  • Added develop branch to track and update current development process
  • Applied PEP 8 Style Guide conventions
  • Renamed variables and methods to make their purpose more clear
  • Outsourced GEDCOM tags to module level
  • Added missing inline documentation
  • Optimized README.md (sections and better description)
  • Added LICENSE file
  • Cleaned up and optimized code