styly-mdm 0.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- styly_mdm/__init__.py +18 -0
- styly_mdm/__main__.py +6 -0
- styly_mdm/server.py +1156 -0
- styly_mdm/static/index.html +1126 -0
- styly_mdm-0.2.1.dist-info/METADATA +71 -0
- styly_mdm-0.2.1.dist-info/RECORD +9 -0
- styly_mdm-0.2.1.dist-info/WHEEL +5 -0
- styly_mdm-0.2.1.dist-info/entry_points.txt +2 -0
- styly_mdm-0.2.1.dist-info/top_level.txt +1 -0
styly_mdm/__init__.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""STYLY-MDM control server package.
|
|
2
|
+
|
|
3
|
+
Exposes the aiohttp application factory and the console entrypoint. The server is
|
|
4
|
+
started with the ``styly-mdm`` console script (or ``python -m styly_mdm``); it is
|
|
5
|
+
not an ASGI app, because the LAN UDP discovery responder is started in the same
|
|
6
|
+
asyncio loop as the HTTP server (see server.run_server).
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
10
|
+
|
|
11
|
+
from .server import create_app, main, run_server
|
|
12
|
+
|
|
13
|
+
try:
|
|
14
|
+
__version__ = version("styly-mdm")
|
|
15
|
+
except PackageNotFoundError: # running from a source tree that isn't installed
|
|
16
|
+
__version__ = "0.0.0"
|
|
17
|
+
|
|
18
|
+
__all__ = ["create_app", "main", "run_server", "__version__"]
|