Package: python-gedcom-2
A Python module for parsing, analyzing, and manipulating GEDCOM files.GEDCOM files contain ancestry data. The parser is currently supporting the GEDCOM 5.5 format which is detailedhere.DocumentationDocumentation can be found here:https://swanny0819.github.io/python-gedcom-2/gedcom/index.htmlChangelogFor the latest changes please have a look at theCHANGELOG.mdfile.Common problemsWhen you name your scriptgedcom.py, and import thegedcommodule from this package, running your script won't
work because Python will try to resolve imports likegedcom.element.individualfrom within yourgedcom.pybut
not from within the module from this package. Rename your file in this case. (#26)Local developmentLocal development is done usingpyenvandpipenvusing Python 3.5.Running testsRunpipenv install -dto install normal and dev dependenciesRun tests withtox(pipenv run toxin your console)For Python 3.5 runpipenv run tox -e py35(you need to have Python 3.5 installed)For Python 3.6 runpipenv run tox -e py36(you need to have Python 3.6 installed)For Python 3.7 runpipenv run tox -e py37(you need to have Python 3.7 installed)For Python 3.8 runpipenv run tox -e py38(you need to have Python 3.8 installed)Generating docsRunpipenv install -dto install normal and dev dependenciesRunpipenv run pdoc3 --html -o docs/ python_gedcom_2 --forceto generate docs into thedocs/directoryTo develop docs runpipenv run pdoc3 --http localhost:8000 gedcomto watch files and instantly see changes in your browser underhttp://localhost:8000.Uploading a new package to PyPIRunpipenv install -dto install normal and dev dependenciesRunpipenv run python3 setup.py sdist bdist_wheelto generate distribution archivesRunpipenv run twine upload --repository-url https://test.pypi.org/legacy/ dist/*to upload the archives to the Test Python Package Index repositoryWhen the package is ready to be published to the real Python Package Index
therepository-urlishttps://upload.pypi.org/legacy/.pipenv run twine upload --repository-url https://upload.pypi.org/legacy/ dist/*HistoryThis module was originally based on a GEDCOM parser written by
Daniel Zappala at Brigham Young University (Copyright (C) 2005) which
was licensed under the GPL v2 and then continued byMad Price Ballin 2012.The project was taken over byNicklas Reinckein 2018.
Together withDamon Brodiea lot of changes were made and the parser was optimized.It has most recently been forked byPat Swansonin 2021.LicenseLicensed under theGNU General Public License v2Python GEDCOM ParserCopyright (C) 2018 Damon Brodie (damon.brodie at gmail.com)Copyright (C) 2018-2019 Nicklas Reincke (contact at reynke.com)Copyright (C) 2016 Andreas OberritterCopyright (C) 2012 Madeleine Price BallCopyright (C) 2005 Daniel Zappala (zappala at cs.byu.edu)Copyright (C) 2005 Brigham Young UniversityThis program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.