forked from madprime/python-gedcom
-
-
Notifications
You must be signed in to change notification settings - Fork 45
Add parsers #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Add parsers #50
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…-commits feat: added setup for conventional commits
docs: added contribution guidelines
Removed FileElement as duplicates role of ObjectElement. Added Source, Repository, Note, Header, Submission, and Submitter elements to handle all the defined record types in the standard. Add subparsers for all of the substructures defined in the standard. Added get_record method to all record elements to parse the full record structure and return it as a dictionary. Before processing file added encoding check to identify type. If Python Ansel module is installed use it so can now decode Ansel Gedcoms. Verify encoding found matches encoding claimed. Get version number. Validate if 5.5.5 and if so reject it as that standard requires as no strict 5.5.5 reader exists yet. Added standards.py with references to the different standards and use where needed. Added Reader object to wrap the Parser and provide get_records_by_type and get_all_records methods.
|
There were the following issues with this Pull Request
You may need to change the commit messages to comply with the repository contributing guidelines. 🤖 This comment was generated by commitlint[bot]. Please report issues here. Happy coding! |
Owner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Nick,
I have made a number of changes I'm hoping you'll consider merging. It might have been better to try to implement each in a separate branch, I'm sort of new at this so I apologize. To try to summarize them at a high level:
Thanks,
Chris