Coder Social home page Coder Social logo

deaths-in-lifetime's Introduction

Deaths Analysis in GEDCOM Files

This script analyzes GEDCOM (Genealogical Data Communication) files to extract information about individuals and, more specifically, details about their deaths. The tool offers two main search options:

Search by a person's name: The user can enter the full name of an individual and retrieve their birth and death dates. Search by date range: The user can input a date range, and the script will retrieve all the individuals from the GEDCOM file who died within that range.

Features

User-friendly file browser selection for GEDCOM file input. Handling of multiple date formats, including unconventional ones. Outputs the name and death date of individuals based on user criteria. Error handling for invalid date formats, ensuring that years that look valid are extracted and considered.

Prerequisites

Python (preferably version 3.7 or higher). tkinter library for the file browser (usually comes with standard Python installations).

How to Run

  1. Ensure that you have Python and tkinter installed.
  2. avigate to the directory containing the deaths_analysis.py script.
  3. Run the script using the following command:

python deaths_analysis.py

  1. Use the file browser to select your GEDCOM file.
  2. Follow the on-screen instructions to select your search criteria (either by person's name or date range).

Known Limitations

  • The script primarily focuses on extracting and analyzing the NAME, BIRT, and DEAT tags from the GEDCOM file.
  • The tool assumes the GEDCOM file is correctly structured and may not handle corrupt or non-standard files gracefully.

Contributing

This script is provided as an educational example for working with the sometimes hairy GEDCOM format. GEDCOM is typically produced and exported from big Genealogy websites like Ancestry.com, and is often very dirty. Some open source cleaning tools are available, such as Gramps. Fork as desired.

License

GEDCOM is a contentious technology, developed by the Church of Latter Day Saints in the 1980's and the format of the material-of-value in the recent purchase of Ancestry.com by the world's largest private equity firm Blackstone, this software is provided under the Anti-Capitalist Software License to prohibit its use for any number of unsavory ventures.

deaths-in-lifetime's People

Contributors

wysiwyggins avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.