/jakobs-personnel

Sqlight driven register of people for quick lookup/filtering of personal details

Primary LanguagePythonMIT LicenseMIT

jakobs-personnel


Sqlight driven register of people for quick lookup/filtering of personal details

How-to


  1. Add the script path to you %USERPROFILE% PATH, by running install.bat, or install.sh on Mac OS.

  2. You have to populate the database from data. Update md_file_path in extract_data.py and run it. This will write all entries to data/address_book.db

(#TODO: pass the data file name to the update script)

  1. the functionality of lookup.py and analyze.py has some requirements on python modules (such as matplotlib for plotting data) - to set up the local env requirements with pip run
pip install -r requirements.txt
  1. Now call the Python script from your Python 3 exe e.g.
py lookup.py Name

Improvements

  • Make the default search for whole words, but CASE insensitive, for easy access
  • Search for multiword input (easy w/o quotes) on the command line

Acknowledgements


chat GPT All code from initial commit generated by chat GPT: https://chat.openai.com/share/6b5d5bc7-8328-4795-897e-b6c462fdd883