Skip to content

konstantinosalatzas/bdn2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bdn2csv

bdn2csv is a Python parser that converts SAS Business Data Network (BDN) XML Export file to CSV Import file

As the SAS BDN can be:

  • imported from XML or CSV file but
  • exported only to XML file,

bdn2csv transforms an XML Export file into an equivalent CSV Import file:

  • for a user to edit it manually as a spreadsheet

  • for a developer to process it programmatically as a table

and to import the result CSV file into SAS BDN.

Usage

As a module

Example:

import bdn2csv

bdn2csv.convert(xml_path="./Export.xml", csv_path="./Import.csv")

As a CLI

Example:

cd bdn2csv
python bdn2csv.py "./Export.xml" "./Import.csv"

Installation

From source

git clone https://github.com/konstantinosalatzas/bdn2csv.git
cd bdn2csv
python -m pip install bdn2csv

About

SAS Business Data Network (BDN) XML to CSV converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published