QCOBJ a Python package to handle quantity-aware configuration files

Infrastructures Section, OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale, Borgo Grotta Gigante, TRIESTE, Italy
DOI
10.7287/peerj.preprints.3418v1
Subject Areas
Scientific Computing and Simulation, Programming Languages, Software Engineering
Keywords
Python, configuration file, physical quantity
Copyright
© 2017 Vidmar et al.
Licence
This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Preprints) and either DOI or URL of the article must be cited.
Cite this article
Vidmar R, Creati N. 2017. QCOBJ a Python package to handle quantity-aware configuration files. PeerJ Preprints 5:e3418v1

Abstract

Configuration files are widely used by scientists and researchers to configure the parameters and initial settings for their computer programs. We present here a Python package that adds physical quantities to these parameters and validate them against user defined specifications to ensure that they are in the correct range and eventually converted to the requested unit of measurement. The package contains also a graphical user interface class to display and edit configuration file content and compare them side by side highlighting their differences.

Author Comment

This is a preprint submission to PeerJ Preprints.

Supplemental Information