modm_data

API Reference

 1# Copyright 2022, Niklas Hauser
 2# SPDX-License-Identifier: MPL-2.0
 3
 4"""
 5# API Reference
 6"""
 7
 8from importlib.metadata import version, PackageNotFoundError
 9
10try:
11    __version__ = version("modm_data")
12except PackageNotFoundError:
13    __version__ = "0.0.1"
14
15__all__ = [
16    "atdf",
17    "cubehal",
18    "cubemx",
19    "dl",
20    "header2svd",
21    "html",
22    "html2owl",
23    "html2svd",
24    "kg",
25    "nrfx",
26    "pdf",
27    "pdf2html",
28    "picosdk",
29    "svd",
30    "utils",
31]
32
33# Silence warnings about path import order when calling modules directly
34import sys
35
36if not sys.warnoptions:
37    import warnings
38
39    warnings.filterwarnings("ignore", category=RuntimeWarning, module="runpy")