Skip to content

Tools for converting IEV data in Glossarist Desktop format to new registry format used by Paneron extension

Notifications You must be signed in to change notification settings

paneron/glossarist-registry-conversion-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glossarist data extraction tools

Tools for converting data in Glossarist Desktop format to new registry format used by Paneron extension.

(NOTE: tested on IEV data, testing on TC 211 data is in progress.)

Setup

Create a virtual environment: python3 -m venv ./venv

Activate it: source ./venv/bin/activate

Then install requirements: pip3 install -r requirements.txt

Copy config.py.sample to config.py, then edit it:

input_dir - path to dir with data in old Glossarist Desktop format

output_dir - path to dir for new format (results)

default_date - date used by default for items without date

default_status - item status used by default for items without status

source_limit - convert less or equal files in old Glossarist Desktop format (None means convert all files)

Usage

Run python3 convert.py (don't forget about venv).

About

Tools for converting IEV data in Glossarist Desktop format to new registry format used by Paneron extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •