Skip to main content

Library for handling digital calibration certificates (DCC).

Project description

Python library supporting automated processing of digital calibration certificates (DCC)

PyPI version CI test

PyDCC is an open-source project released under the MIT license, accelerating application development for processing Digital Calibration Certificates (DCC), according to the official DCC release [3]. This collaborative work was introduced by a talk given at the 2nd DCC conference [4]. Further, an introduction video [6] exists, looking briefly at the contents of a DCC and demonstrating PyDCC's essential features by implementing an example application from scratch. Note that to process DCC automatically, data within the DCC must follow particular format requirements defined by Good Practice [5].

Out of scope: PyDCC is not intended to modify or generate DCCs. PyDCC is a read-only library. For this purpose, other tools and libraries exist.

General Software Information

This software module is a joint initiative driven by the project GEMIMEG-II.

Maintainer: Andreas Tobola, Siemens AG

Contributors: The workflow was defined in the contribution guide. We appreciate any contributions.

License

The software was generally licensed under the MIT License. Therefore, see the LICENSE file in the top-level directory.

Data examples included in this repository may contain other licenses. Please refer to the license declarations within the data examples.

Background to DCC

The digital calibration certificate (DCC) is the machine-readable counterpart of the previous calibration certificate. The DCC was released by the Physikalisch-Technische Bundesanstalt (PTB) [1]. The DCC has a hierarchical structure comprising regulated areas whose information must meet specific requirements. The DCC exists in Extensible Markup Language (XML).

Aim of this software library

Python is a programming language widely used in science and cloud computing applications. This software library extends Python by capabilities of handling DCC, in particular, loading DCCs from XML-Files, and operating on regulated areas of the DCC. Regulated areas in DCC are (1) administrative data and (2) measurement results.

Consider reading the user guide for more details, including API documentation.

Installation

pip install pydcc

Official Code Repository

Location of the official code repository: https://github.com/siemens/pydcc/

The contibution guide explains how one can contribute to this software module.

Initial Contributors

This project was started in January 2021 with an initial team of developers.

Besides coding, the weekly team discussions were essential for achieving our goals. Additional discussion supporters were:

  • Daniel Heißelmann, PTB
  • Benjamin Gloger, PTB

References

[1] The official release of the digital calibration certificate (DCC) in version 2.4.0 https://www.ptb.de/dcc/v2.4.0/de/

[2] Current XML schema for DCCs https://www.ptb.de/dcc/dcc.xsd

[3] The official release of the digital calibration certificate (DCC) in version 3.2 https://www.ptb.de/dcc

[4] Andreas Tobola, Introducing PyDCC – a Python module for the DCC, 2nd international DCC-Conference 01 - 03 March 2022 Proceedings, Publisher: Physikalisch-Technische Bundesanstalt (PTB), DOI 10.7795/820.20220411, 2022

[5] Good Practice for DCC https://dccwiki.ptb.de/en/gp_home

[6] Andreas Tobola, PyDCC Introduction Video, 2023, Brief look at the contents of a DCC and demonstrate PyDCC's essential features by implementing an example application from scratch.

Links

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

pydcc-0.2.33.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

pydcc-0.2.33-py2.py3-none-any.whl (15.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pydcc-0.2.33.tar.gz.

File metadata

  • Download URL: pydcc-0.2.33.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for pydcc-0.2.33.tar.gz
Algorithm Hash digest
SHA256 075f60df8d92f0f90d91ebcabb8ecc00e545b769fcda001a9eb3ed3b6df8cb61
MD5 db23d7d43589d618c34dd71a6b3d51f1
BLAKE2b-256 9b1cd8b4f3e16b7cd430ebe696762014301cb1cd0d4c7778adf179263ff2c562

See more details on using hashes here.

File details

Details for the file pydcc-0.2.33-py2.py3-none-any.whl.

File metadata

  • Download URL: pydcc-0.2.33-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for pydcc-0.2.33-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 96ea6fd1475fe913049a9242e74e0d9525c3f9005c7e20b68ebdc7522169f35a
MD5 44d939043e36942b2c8772c998a2c6a0
BLAKE2b-256 1c1b56b16014ccabfbe33fd77c9809d4170cd9076c271dd643edd68d7d702d03

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