/teitocsv

Transform TEI XML files to a CSV

Primary LanguagePythonMIT LicenseMIT

teitocsv

Transform TEI XML files to a CSV

Install

1. Clone the repo

$ git clone https://github.com/komax/teitocsv

2. Anaconda/venv environment

  1. Create a new environment, e.g., tei2csv and install all dependencies.
$ conda env create --name tei2csv --file requirements.txt
  1. Activate the conda environment. Either use the anaconda navigator or use this command in your terminal:
$ conda activate tei2csv

or

$ source activate tei2csv

Alternatively use a venv from your python installation.

  1. Create the virtual environment
$ python3 -m venv env
  1. Activate the virtual environment
$ source env/bin/activate
  1. Install packages
$ pip install --requirement=requirements.txt