Package: keep-exporter
Keep-ExporterA command line utility to export Google Keep notes to markdown files with metadata stored as a frontmatter header.FeaturesExports all note types (List and Note)Exports all media attached to notesAudio, drawings, attached images, etcSync Keep to directory (keeps directory looking exactly the same as Google Keep)Customizable date formatEasy ISO8601 via--iso8601Password or token based authenticationStore your login token to config file withkeep_export savetokenNote metadata header in yaml frontmatter formatUsageIf you do not supply a username or password before running it, you will be prompted to input them.Usage: keep_export [OPTIONS] COMMAND [ARGS]...

Options:
  --config FILE                   Read configuration from FILE.  [default: /home/nate/.config/keep-exporter]
  -u, --user TEXT                 Google account email (prompt if empty)  [env var: GKEEP_USER;required]
  -p, --password TEXT             Google account password (prompt if empty). Either this or token is required.  [env var: GKEEP_PASSWORD]
  -t, --token TEXT                Google account token from prior run. Either this or password is required.
  -d, --directory DIRECTORY       Output directory for exported notes  [default: ./gkeep-export]
  --header / --no-header          Choose to include or exclude the frontmatter header  [default: header]
  --delete-local / --no-delete-local
                                  Choose to delete or leave as-is any notes that exist locally but not in Google Keep  [default: no-delete-local]
  --rename-local / --no-rename-local
                                  Choose to rename or leave as-is any notes that change titles in Google Keep  [default: no-rename-local]
  --date-format TEXT              Date format to prefix the note filenames. Reflects the created date of the note. uses strftime()  [default: %Y-%m-%d]
  --iso8601                       Format dates in ISO8601 format.
  --skip-existing-media / --no-skip-existing-media
                                  Skip existing media if it appears unchanged from the local copy.  [default: skip-existing-media]
  -h, --help                      Show this message and exit.

Commands:
  savetoken  Saves the master token to your configuration file.NotesIf you are using 2 Factor Authentication (2FA) for your google account, you will need to generate an app password for keep. You can do so on yourGoogle account management page.InstallationThere are many ways to install this, easiest is through pip or the releases page.PipThe easiest way is withpip from PyPipip3 install keep-exporterDownload the WheelDownload the wheel from thereleases pageand then install with pip:pip install keep_exporter*.whlBuildingDownload or git cloneClone the repositoryhttps://github.com/ndbeals/keep-exporteror download from thereleases pageand extract the source code.cdinto the extracted directoryWithpoetryinstalled, runpoetry installin the project root directorypoetry buildwill build the installable wheelcd distthen runpip3 install <keep-exporter-file.whl>TroubleshootingSome users have had issues with the requests library detailed inthis issuewhen usingpipx. The solution is to change the requests library version.pipx install keep-exporter 
pipx inject keep-exporter requests===2.23.0