/xc-convert

A naive XML to CSV converter for Nokia OSS configuration files

Primary LanguagePythonOtherNOASSERTION

About xc-convert

xc-convert is a simple utility tool to convert Nokia system generated XML files in to CSV files and vice versa.

Documentation

The application uses "importer" and "exporter" classes for the front-end and the back-end, respectively. An SQLite database acts as the middle-tier, providing a sophisticated and optimised layer for data storage and various other operations.

Input  --->  File Importer  ---> Database  --->  File Exporter  ---> Output
File                                                                  File

Input File can be an XML or a CSV file and a subclass of FileImporter can be used to parse and import the file into the database. XmlImporter and CsvImporter classes are children of FileImporter class.

CsvExporter and XmlExporter classes are derived from FileExporter. They read the data from the database (with the help of DBManager class) and writes into a CSV and XML file, respectively.

Version History

  • version 0.8.3 (beta) - (February 2023)

    • Fixed an issue caused by missing table in SQLite DB

  • version 0.8.2 (beta) - (January 2023)

    • Updated xmlimporter for importing SCF files

  • version 0.8.1 (beta) - (December 2022)

    • Bug fixes

    • Improved documentation

  • version 0.8 (beta) - (October 2022)

    • New GUI layout

    • Parameter audit functionality added

    • Using SQLite for the middle-tier

    • Improved documentation

  • version 0.7.2 (beta) - (September 2022)

    • Bug fixes

  • version 0.7.1 (beta) - (August 2022)

    • Moved to a manual update checker to avoid proxy issues

    • GUI changes

    • Fixed a bug preventing the tool properly processing nested items

  • version 0.7 (beta) - (August 2022)

    • Added the support for unnamed structures

    • Checking for updates at start up now

  • version 0.6.1 (beta) - (November 2021)

    • Added VERSION file

    • Fixed an issue causing wrong header generation

  • version 0.6 (beta) - (October 2021)

    • Added run.sh into the main repo

    • Using Python classes (OOP)

    • GUI changes

  • version 0.5.1 (beta) - (July 2021)

    • Fixed an issue causing the script to reject legit CSV files

    • Added run.bat into the main repo

  • version 0.5 (beta) - (Dec 2017)

    • Added the "operation" type selection for CSV to XML conversion

    • Updated the convertCsv2Xml() function

  • version 0.4 (beta) - (Nov 2017)

    • Fixed a bug that prevents the file dialogs to work properly

    • Fixed a bug that causes listXml2Csv() function to produce a runtime error

    • Added support for reading WCEL XML (experimental)

  • version 0.3 (beta) - (Sep 2017)

    • Changed the GUI design

  • version 0.2 (beta) - (Aug 2017)

    • Beta version - testing the code

  • version 0.1 - (Aug 2017)

    • Initial alpha version

License

xc-convert can be distributed, modified and used under the terms of 2-clause BSD license (FreeBSD license).

Fehmi Noyan ISI fnoyanisi@yahoo.com