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 "cubehal",
17 "cubemx",
18 "dl",
19 "header2svd",
20 "html",
21 "html2owl",
22 "html2svd",
23 "kg",
24 "pdf",
25 "pdf2html",
26 "svd",
27 "utils",
28]
29
30# Silence warnings about path import order when calling modules directly
31import sys
32
33if not sys.warnoptions:
34 import warnings
35
36 warnings.filterwarnings("ignore", category=RuntimeWarning, module="runpy")