Skip to main content

A CSV to XML converter for OpenProdoc

Project description

CSV2OPD - A CSV to XML converter for OpenProdoc

This desktop application transforms the metadata stored in a CSV file into XML files compatible with the open source DMS OpenProdoc.

This application was created by Guillermo Castellano, from Nosturi.

The code is licensed under the GNU General Public License v3.0. Feel free to adapt the application for your specific needs!

Requirements

This application can be used on any operating system which supports Python 3.x.

Check if you have Python 3.x installed by entering the following command into your terminal:

python --version

You should see something like this:

$ python --version
Python 3.7.0

Otherwise, download and install Python before moving forward.

Installation

The easiest way to download and install CSV2OPD is using pip:

pip install csv2opd

Alternatively, you can clone this repository:

git clone https://github.com/guillearch/csv2opd.git

Then go to the new directory and run:

# If Python 3 is the default version
python setup.py install

# If Python 2 is the default version
python3 setup.py install

Running the application

  1. Run the application by entering the following command: csv2opd.
  2. Select the input CSV file. It must have a header.
  3. Select the output directory for the XML files.
  4. Select the type of field separator (delimiter) used by your CSV file.
  5. Click the button Convert.

Once the conversion is completed, you can import the documents and the metadata into OpenProdoc following the instructions provided in the official documentation.

We're all set!

Important: The name of each document must be the same than the value of the Name field on its related OPD file.

Additional information

This application is intended for OpenProdoc 2.x.

Please read the changelog and the help file.

If you need any further assistance, don't hesitate to contact me.

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

csv2opd-1.1.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

csv2opd-1.1.1-py3-none-any.whl (17.3 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