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