Skip to main content

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


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)

Uploaded Source

Built Distribution

x2c-1.0.0-py3-none-any.whl (15.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page