Skip to content

nouvellesarchives/triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

triangle

Tools for processing digitised artefacts

Dependencies

Installation

$ git clone https://github.com/nouvellesarchives/triangle.git
$ pip install -r requirements.txt (if required)

Updating

$ git fetch origin
$ git reset --hard origin/main

Start

$ python triangle.py (-g/gui : false, true, auto)

Variables

IMPORT_FOLDER = os.path.join(os.path.expanduser("~/Documents"), "triangle/import/")
OUTPUT_FOLDER = os.path.join(os.path.expanduser("~/Documents"), "triangle/output/")
CONFIG_FILE = os.path.join(os.path.expanduser("~/Documents"), "triangle/config.json") 
PLATFORM = platform.system()
SERVER_ADDR = "http://127.0.0.1:5000"