A simple cli app to convert XML files to CSV, with user-defined columns.
Project description
x2c - XML to CSV
A simple cli app to convert XML files to CSV, with user-defined columns.
Usage
It takes three arguments:
-i --infile input file
-o --outfile output file
-c --column columns
Example:
x2c -i example.xml -o example.csv -c col1,col2,col3
The column names must match the xml tags.
Installation
The script can be installed with pip
:
pip install x2c
Or from source (deprecated):
python -m setup.py install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
x2c-1.0.0.tar.gz
(15.1 kB
view hashes)
Built Distribution
x2c-1.0.0-py3-none-any.whl
(15.7 kB
view hashes)