Skip to content

AmericanPhilosophicalSociety/epadd_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epadd_utils

Python scripts for manipulating ePADD output. Work in progress

Getting Started

Install the package locally by cloning the repo

git clone https://github.com/AmericanPhilosophicalSociety/epadd_utils.git
cd epadd_utils

Then, install the requirements:

pip install -r requirements.txt

Alterntively, download the repo as a Zip file, unzip it, and navigate to the repo using your preferred terminal.

Converting ePADD output to a CSV

Run the following command, specifying your desired input and output files:

python epadd_utils/parse-email-list.py /path/to/text/file.txt /destination/output.csv

Converting a CSV to ePADD output

NOTE: This script requires a UTF-8 encoded CSV.

Run the following command, specifying your desired input and output files:

python epadd_utils/parse-csv.py /path/to/csv.csv /destination/output.txt

You can optionally specify a delimiter for subsections in the CSV, if needed (| is default):

# use a semicolon as a delimiter
python epadd_utils/parse-csv.py --delimiter ";" /path/to/csv.csv /destination/output.txt

About

Scripts for manipulating ePADD data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages