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 details)

Uploaded Source

Built Distribution

csv2opd-1.1.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file csv2opd-1.1.1.tar.gz.

File metadata

  • Download URL: csv2opd-1.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for csv2opd-1.1.1.tar.gz
Algorithm Hash digest
SHA256 1c6c69d1b88af47a9ccf680d06bc4a5105d3c4c1f64178ff086c03b494ec9df9
MD5 cea3d03781402956f3e05dda245abe5b
BLAKE2b-256 d55a935704836c556e3b5a6abd5262b45e57ece8a6eb8dc9f714248aa1cf6db4

See more details on using hashes here.

File details

Details for the file csv2opd-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: csv2opd-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for csv2opd-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb7750dd4f0228f291b3ce8a30f84a61cc79845f69631399e0227fc6f6f76837
MD5 fa5624d00334f5d72603889b98ecf3f3
BLAKE2b-256 b7f38d6b165c5e3db5ddb9a0357ed997a92d51c3e11a12bbddada91c11066ccb

See more details on using hashes here.

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