Skip to content

Utility tools to read/convert files exported from PIMS

Notifications You must be signed in to change notification settings

akikieng/pims-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pims-utils

Utility tools to read/convert files exported from PIMS

  • PimsRebuildXls: Convert PIMS exported "stock rebuild" excel file (.xls) to pair of csv file and a description txt file

Installation

pip install -U -e git@github.com/akikieng/pims-utils.git#egg=PimsUtils

or

git clone git@github.com/akikieng/pims-utils.git
pip install -U -e pims-utils

Usage

To use CLI:

PimsRebuildXls.py \
    --fn_in="test_fixture-stock_rebuild.xls" \
    to_csv --fn_out_df="stock.csv" \
           --fn_out_desc="stock.desc.txt"

Dev notes

Requirements

pip install pandas xlrd pytest

Run tests

pytest PimsUtils/PimsRebuildXls.py

About

Utility tools to read/convert files exported from PIMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages