Coverage for aiocoap/__init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-16 16:09 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-16 16:09 +0000
1# SPDX-FileCopyrightText: Christian Amsüss and the aiocoap contributors
2#
3# SPDX-License-Identifier: MIT
5"""
6The aiocoap package is a library that implements CoAP, the `Constrained
7Application Protocol`_.
9If you are reading this through the Python documentation, be aware that there
10is additional documentation available online_ and in the source code's ``doc``
11directory.
13.. _`Constrained Application Protocol`: http://coap.technology/
14.. _online: http://aiocoap.readthedocs.io/
16Module contents
17---------------
19This root module re-exports the most commonly used classes in aiocoap:
20:class:`.Context`, :class:`.Message` as well as all commonly used numeric
21constants from :mod:`.numbers`; see their respective documentation entries.
23The presence of :class:`.Message` and :class:`.Context` in the root module is
24stable.
25"""
27import numbers
28# flake8 doesn't see through the global re-export
29from .numbers import * # noqa: F401, F403
30from .message import Message, NoResponse
31from .protocol import Context
33__all__ = numbers.__all__ + ['Message', 'NoResponse', 'Context']