Coverage for /home/runner/work/zserio/zserio/compiler/extensions/python/runtime/src/zserio/__init__.py: 100%
33 statements
« prev ^ index » next coverage.py v6.5.0, created at 2024-10-29 13:10 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2024-10-29 13:10 +0000
1"""
2| Zserio Python runtime library |version|
3| Built for Zserio |release|
5It implements all functionality needed by Zserio code generated by Python extension.
7Furthermore, it provides the following convenient functionality for generated Zserio objects which can be
8called by applications:
10- Serialization (:obj:`zserio.serialization` module)
11- Debug string output (:obj:`zserio.debugstring` module)
13`Test coverage report <coverage/index.html>`_ of this library is available as well.
14"""
16from zserio.bitbuffer import BitBuffer
17from zserio.bitreader import BitStreamReader
18from zserio.bitwriter import BitStreamWriter
19from zserio.creator import ZserioTreeCreator
20from zserio.enum import Enum, DeprecatedItem
21from zserio.exception import PythonRuntimeException
22from zserio.service import (
23 ServiceData,
24 ServiceInterface,
25 ServiceClientInterface,
26 ServiceException,
27)
28from zserio.pubsub import PubsubInterface, PubsubException
29from zserio.json import JsonWriter, JsonReader
30from zserio.walker import (
31 WalkObserver,
32 WalkFilter,
33 Walker,
34 DefaultWalkObserver,
35 DepthWalkFilter,
36 RegexWalkFilter,
37 ArrayLengthWalkFilter,
38 AndWalkFilter,
39)
41from zserio.serialization import (
42 serialize,
43 deserialize,
44 serialize_to_bytes,
45 deserialize_from_bytes,
46 serialize_to_file,
47 deserialize_from_file,
48)
49from zserio.debugstring import (
50 to_json_stream,
51 to_json_string,
52 to_json_file,
53 from_json_stream,
54 from_json_string,
55 from_json_file,
56)
58from zserio import array
59from zserio import bitbuffer
60from zserio import bitfield
61from zserio import bitposition
62from zserio import bitreader
63from zserio import bitsizeof
64from zserio import bitwriter
65from zserio import builtin
66from zserio import creator
67from zserio import debugstring
68from zserio import enum
69from zserio import exception
71# from zserio import float is omitted intentionally because of pylint error (redefined-builtin)
72from zserio import hashcode
73from zserio import json
74from zserio import limits
75from zserio import pubsub
76from zserio import serialization
77from zserio import service
78from zserio import typeinfo
79from zserio import walker
81# Zserio Python runtime library version string.
82PYTHON_EXTENSION_RUNTIME_VERSION_STRING = "1.0.3"