Skip to content

Latest commit

 

History

History

scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Scripts

Python 3.4+ scripts for converting CSV vocabulary file to JSON-LD.

Installation

Run the following to install dependencies:

cd vocabularies/scripts
pip install -r requirements.txt

Running

Serialize scripts expect to be run from within this directory.

For example, this will rebuild ../json-ld/accessMessages.json from ../csv/accessMessages.csv:

python serialize-accessMessages.py