boneIO 1.6.0.dev8__py3-none-any.whl → 1.6.0.dev9__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.
- boneio/migrations/plans/manifest.json +1 -1
- boneio/migrations/plans/manifest.sig +0 -0
- boneio/version.py +1 -1
- boneio/webui/middleware/auth.py +2 -2
- boneio/webui/websocket_manager.py +2 -2
- {boneio-1.6.0.dev8.dist-info → boneio-1.6.0.dev9.dist-info}/METADATA +6 -5
- {boneio-1.6.0.dev8.dist-info → boneio-1.6.0.dev9.dist-info}/RECORD +11 -11
- {boneio-1.6.0.dev8.dist-info → boneio-1.6.0.dev9.dist-info}/WHEEL +0 -0
- {boneio-1.6.0.dev8.dist-info → boneio-1.6.0.dev9.dist-info}/entry_points.txt +0 -0
- {boneio-1.6.0.dev8.dist-info → boneio-1.6.0.dev9.dist-info}/licenses/LICENSE +0 -0
- {boneio-1.6.0.dev8.dist-info → boneio-1.6.0.dev9.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"plans":{"1.3.0":"3199d74a6dda33162bbee4fc650a5a0d70d5372258f3305ad92501215e22a7fd","1.3.1":"580381a4f6f40fc1bd4e903e591ad0d5c1db27daaccafc6f79dabf8c3b84259a","1.3.2":"7a69ffaf0c41438be25a656dcdc87783daac0eae79218d023648ef9d708e373f","1.4.0":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.4.3":"a8cfbabff09d21944a822c4a70f23a7ee14960c4054de151c9fbc7cdb29adff5","1.4.4":"8658ec11d4b2d32e2e5c6154a7b052f518aecdd4d610a99a05a462aded671079","1.5.0":"52d9d118da099abda0e0153cd16892e201681f6e4d3c6e5790284d1ac469a407","1.5.1":"d283cb8c01024338fb614ae2199744d883379f59579423e4eb9234f5c59ebdd8","1.5.10":"889e2f12614e6e67d342571c1c3bab8940659bfbbf43fa30a6847e73decb85d1","1.5.11":"4906e4de2b3a9c2f0b0181817c9dc168cb910ba6941691d4e86b8387802b624a","1.5.12":"c0a0dc085bb33d9718e869ed5effc2c1581deffd7ed0d5adc119b94312181625","1.5.13":"bfe58c8756f9b5f5e55d5acbb6f7cfc469d201004d312c14e022eb7c52369b7d","1.5.14":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.15":"0687a735cb4aaf8f8f74ad6e228ca1b14e045cba8821991c7d19fc9beaeac766","1.5.16":"3544ac754f39d56ecf2b06300b7cca1b6f8723f99885cd11bd690f1a704d3728","1.5.17":"cf1e9e0ff6812cb7092a82dd588392d625decbe3680fe003dfc554f9045809d3","1.5.18":"1fd873effa66b632217d674745722f712a48b36bb79957fefae722757a74bc30","1.5.2":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.3":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.4":"e86174ba5aff6f257f8a3f4721c7942885cd203469a9d8ddc15dbe6c704e0f45","1.5.5":"f93ed2d4342e447eb9900a0150331113918f2a8b3baeeb795c07231d80f0337c","1.5.6":"e3d90e6ceb20d760f1e9fa63224c5a070a16b3ca6e7dc4cc2c594138e929cce8","1.5.7":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.8":"f075b84fb04f4043658a28402d963494dd58481f164c0b371cec94322fe6d131","1.5.9":"ac170fc924019fc2acd69a90a82ba5c2552dce7a2c01a05e5407443e7a9e5af7","1.6.0":"c8286514d1a4f1805e727e13d3c350bb390378c6f31ad6920030412d61ec9b3f","1.6.1":"aa1d3934091853fc21208993930c1bf92e17136428d1d0baaefabfa65d13e7fa","1.6.10":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.6.11":"d136203e08e3b052254403815d4ccedb555b0a297686fe97952d275eb1f322eb","1.6.12":"c328d4e36bd6277e01cef0140993e23970f4dff84425f3eba236cdd9a8954355","1.6.13":"6e4a259795749084d2d01f97750a57528662898edf14a3a990ccfaffd414ac44","1.6.14":"6e4a259795749084d2d01f97750a57528662898edf14a3a990ccfaffd414ac44","1.6.2":"6ef96b5e00a04a929d16f0e4a136bfcc5b8132a466d6907a99b2c8516a8952d5","1.6.3":"5c10db827bcb92b9322d4aa5751076b825da87c6d18d6953847ba72317cca862","1.6.4":"baf2bb1c2ec7c1bfccfc514ef1cef67907e056e4f7153bb5932ecb835c9cff78","1.6.5":"358dacbc8d16b1b665167de3bc1c42d101d82733502048f345184d1841ce03f2","1.6.6":"535bb041b99d5ac1bc9028ea88bc2fbf3dbadc80ea8dea236cc219123c194114","1.6.7":"d59af413e270e6f34b1b9a1c8c4acef35328f00e26fad447cfe214545af78d8f","1.6.8":"7175f827b99c602df80436db588c87277ce50f2734051a444163b048f5d0b23e","1.6.9":"732d5a9bcd2e496a260263a643c78a6346e9f3cef5b48fe59ac6b120bd03ba4e"},"release":"1.6.0.
|
|
1
|
+
{"plans":{"1.3.0":"3199d74a6dda33162bbee4fc650a5a0d70d5372258f3305ad92501215e22a7fd","1.3.1":"580381a4f6f40fc1bd4e903e591ad0d5c1db27daaccafc6f79dabf8c3b84259a","1.3.2":"7a69ffaf0c41438be25a656dcdc87783daac0eae79218d023648ef9d708e373f","1.4.0":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.4.3":"a8cfbabff09d21944a822c4a70f23a7ee14960c4054de151c9fbc7cdb29adff5","1.4.4":"8658ec11d4b2d32e2e5c6154a7b052f518aecdd4d610a99a05a462aded671079","1.5.0":"52d9d118da099abda0e0153cd16892e201681f6e4d3c6e5790284d1ac469a407","1.5.1":"d283cb8c01024338fb614ae2199744d883379f59579423e4eb9234f5c59ebdd8","1.5.10":"889e2f12614e6e67d342571c1c3bab8940659bfbbf43fa30a6847e73decb85d1","1.5.11":"4906e4de2b3a9c2f0b0181817c9dc168cb910ba6941691d4e86b8387802b624a","1.5.12":"c0a0dc085bb33d9718e869ed5effc2c1581deffd7ed0d5adc119b94312181625","1.5.13":"bfe58c8756f9b5f5e55d5acbb6f7cfc469d201004d312c14e022eb7c52369b7d","1.5.14":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.15":"0687a735cb4aaf8f8f74ad6e228ca1b14e045cba8821991c7d19fc9beaeac766","1.5.16":"3544ac754f39d56ecf2b06300b7cca1b6f8723f99885cd11bd690f1a704d3728","1.5.17":"cf1e9e0ff6812cb7092a82dd588392d625decbe3680fe003dfc554f9045809d3","1.5.18":"1fd873effa66b632217d674745722f712a48b36bb79957fefae722757a74bc30","1.5.2":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.3":"39fccb7582e13e7e3436861fde7b83ddb8057788cbde792f2f0cf7003f068850","1.5.4":"e86174ba5aff6f257f8a3f4721c7942885cd203469a9d8ddc15dbe6c704e0f45","1.5.5":"f93ed2d4342e447eb9900a0150331113918f2a8b3baeeb795c07231d80f0337c","1.5.6":"e3d90e6ceb20d760f1e9fa63224c5a070a16b3ca6e7dc4cc2c594138e929cce8","1.5.7":"a0464f11e05128cba8881e6295e591fce1ed1e8d43ab0e16710effb8e543d810","1.5.8":"f075b84fb04f4043658a28402d963494dd58481f164c0b371cec94322fe6d131","1.5.9":"ac170fc924019fc2acd69a90a82ba5c2552dce7a2c01a05e5407443e7a9e5af7","1.6.0":"c8286514d1a4f1805e727e13d3c350bb390378c6f31ad6920030412d61ec9b3f","1.6.1":"aa1d3934091853fc21208993930c1bf92e17136428d1d0baaefabfa65d13e7fa","1.6.10":"41c3a16e7819857a4b826e944fcfb4f79c58e7192cb151b106a3acd7487d5771","1.6.11":"d136203e08e3b052254403815d4ccedb555b0a297686fe97952d275eb1f322eb","1.6.12":"c328d4e36bd6277e01cef0140993e23970f4dff84425f3eba236cdd9a8954355","1.6.13":"6e4a259795749084d2d01f97750a57528662898edf14a3a990ccfaffd414ac44","1.6.14":"6e4a259795749084d2d01f97750a57528662898edf14a3a990ccfaffd414ac44","1.6.2":"6ef96b5e00a04a929d16f0e4a136bfcc5b8132a466d6907a99b2c8516a8952d5","1.6.3":"5c10db827bcb92b9322d4aa5751076b825da87c6d18d6953847ba72317cca862","1.6.4":"baf2bb1c2ec7c1bfccfc514ef1cef67907e056e4f7153bb5932ecb835c9cff78","1.6.5":"358dacbc8d16b1b665167de3bc1c42d101d82733502048f345184d1841ce03f2","1.6.6":"535bb041b99d5ac1bc9028ea88bc2fbf3dbadc80ea8dea236cc219123c194114","1.6.7":"d59af413e270e6f34b1b9a1c8c4acef35328f00e26fad447cfe214545af78d8f","1.6.8":"7175f827b99c602df80436db588c87277ce50f2734051a444163b048f5d0b23e","1.6.9":"732d5a9bcd2e496a260263a643c78a6346e9f3cef5b48fe59ac6b120bd03ba4e"},"release":"1.6.0.dev9"}
|
|
Binary file
|
boneio/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# flake8: noqa
|
|
2
|
-
__version__ = "1.6.0.
|
|
2
|
+
__version__ = "1.6.0.dev9"
|
boneio/webui/middleware/auth.py
CHANGED
|
@@ -8,8 +8,8 @@ import secrets
|
|
|
8
8
|
from datetime import UTC, datetime, timedelta, timezone
|
|
9
9
|
from typing import TYPE_CHECKING
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
from
|
|
11
|
+
import jwt
|
|
12
|
+
from jwt import PyJWTError as JWTError
|
|
13
13
|
from starlette.middleware.base import BaseHTTPMiddleware
|
|
14
14
|
from starlette.requests import Request
|
|
15
15
|
from starlette.responses import JSONResponse
|
|
@@ -5,8 +5,8 @@ from datetime import UTC, datetime
|
|
|
5
5
|
from collections.abc import Callable
|
|
6
6
|
from typing import Any
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
from
|
|
8
|
+
import jwt
|
|
9
|
+
from jwt import PyJWTError as JWTError
|
|
10
10
|
from starlette.websockets import WebSocket, WebSocketDisconnect, WebSocketState
|
|
11
11
|
|
|
12
12
|
from boneio.models.events import Event
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: boneio
|
|
3
|
-
Version: 1.6.0.
|
|
3
|
+
Version: 1.6.0.dev9
|
|
4
4
|
Summary: Python App for BoneIO
|
|
5
5
|
Author-email: Paweł Szafer <pszafer@gmail.com>
|
|
6
6
|
License: GNU General Public License v3.0
|
|
@@ -13,7 +13,7 @@ Description-Content-Type: text/markdown
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: smbus2==0.4.3
|
|
15
15
|
Requires-Dist: aiomqtt==2.4.0
|
|
16
|
-
Requires-Dist: aiohttp==3.14.
|
|
16
|
+
Requires-Dist: aiohttp==3.14.3
|
|
17
17
|
Requires-Dist: Cerberus==1.3.7
|
|
18
18
|
Requires-Dist: colorlog==6.9.0
|
|
19
19
|
Requires-Dist: luma-core==2.5.1
|
|
@@ -27,15 +27,16 @@ Requires-Dist: fastapi==0.118.0
|
|
|
27
27
|
Requires-Dist: pydantic==2.11.9
|
|
28
28
|
Requires-Dist: hypercorn==0.18.0
|
|
29
29
|
Requires-Dist: websockets==15.0.1
|
|
30
|
-
Requires-Dist:
|
|
31
|
-
Requires-Dist: python-multipart==0.0.
|
|
30
|
+
Requires-Dist: PyJWT==2.14.0
|
|
31
|
+
Requires-Dist: python-multipart==0.0.31
|
|
32
32
|
Requires-Dist: qrcode==8.2
|
|
33
33
|
Requires-Dist: gpiod==2.3.0
|
|
34
|
-
Requires-Dist: requests==2.
|
|
34
|
+
Requires-Dist: requests==2.33.0
|
|
35
35
|
Requires-Dist: packaging==25.0
|
|
36
36
|
Requires-Dist: aioesphomeapi>=45.0.0
|
|
37
37
|
Requires-Dist: zeroconf>=0.148.0
|
|
38
38
|
Requires-Dist: canopen-asyncio>=2.4.1
|
|
39
|
+
Requires-Dist: anyio>=4.14.2
|
|
39
40
|
Dynamic: license-file
|
|
40
41
|
|
|
41
42
|
Example usage:
|
|
@@ -3,7 +3,7 @@ boneio/bonecli.py,sha256=_MbWYilR4-Er0xNTi453pAiVmJJpzbNPHg1nCOcTk-Q,13324
|
|
|
3
3
|
boneio/const.py,sha256=a26L-kGgXO4pAt9OrGfOedl-JGQW5540g0iZVpw6_b8,7700
|
|
4
4
|
boneio/exceptions.py,sha256=cBph-TsLF7FSz6p4wYeMs3pjVmVRaNQRJP82JgYYV-c,810
|
|
5
5
|
boneio/runner.py,sha256=rrU8J0UP6ZJo6kbvsHZR4KgS96vi70xq25KuJqSLKKg,22525
|
|
6
|
-
boneio/version.py,sha256=
|
|
6
|
+
boneio/version.py,sha256=0Za2f_UKjQ-UVsPQtzKWrKu8lvoYkmnofajinuYZP84,42
|
|
7
7
|
boneio/boards/0.2/input.yaml,sha256=K5EcB44BZ8PxbPnH1izYwJ-ePo8gs4qZttMXhnMnfQ8,1259
|
|
8
8
|
boneio/boards/0.2/output_24_16.yaml,sha256=GQGM3gUK7UobdGL-Ejt9UKdCs1HLPgZ7kziVZ1tjQlA,1462
|
|
9
9
|
boneio/boards/0.2/output_32_10.yaml,sha256=169ubuzRqFLGiOr7zgB1xL1tKdQyOx2FJZvTCkxCA4U,1920
|
|
@@ -393,8 +393,8 @@ boneio/migrations/plans/1.6.8.json,sha256=cXX4J7mcYC34BDbbWIyHJ3zlDyc0BRpEQWOwSP
|
|
|
393
393
|
boneio/migrations/plans/1.6.8.sig,sha256=fQOS_Ly_amrM_ucOCkZdjX9jn0Pe7JBnbWqTmVs9SHw,64
|
|
394
394
|
boneio/migrations/plans/1.6.9.json,sha256=cy1am80uSWomAmOmQ8eKY0bp8871tI_lmsaxIL0Duk4,540
|
|
395
395
|
boneio/migrations/plans/1.6.9.sig,sha256=s6Xj7sFKeHfBb9f9oBnYeEFDBAxFHvDzqR8LbmqOqHU,64
|
|
396
|
-
boneio/migrations/plans/manifest.json,sha256=
|
|
397
|
-
boneio/migrations/plans/manifest.sig,sha256=
|
|
396
|
+
boneio/migrations/plans/manifest.json,sha256=jUnanwI-EfQWiB8p_Pz5Kz8mOfaGFRFtiwRK9ZiAMPM,3048
|
|
397
|
+
boneio/migrations/plans/manifest.sig,sha256=GX9N8NDUOVNWADrEfoB0w2H5QxROSMetncmqE5riPR4,64
|
|
398
398
|
boneio/migrations/versions/__init__.py,sha256=JfouqluRirihGluvLOivkL7Sz7PF4lEyiCfMnOoMLwI,53
|
|
399
399
|
boneio/migrations/versions/v1_3_0_baseline.py,sha256=uM3Lg9NeiMssLZ43q0FecuASviZybdrn7kL5eA_D2UM,6648
|
|
400
400
|
boneio/migrations/versions/v1_3_1_fix_oled_boot.py,sha256=afKamxSo-zsYrKCHr8tXiPmQqaehioEwtg4JxRp7SEU,2505
|
|
@@ -515,7 +515,7 @@ boneio/webui/rate_limit.py,sha256=AymTnV-RWyBcqUiIf_FJHuS1xngkwZVSYO64Vj7Y9Qs,71
|
|
|
515
515
|
boneio/webui/security_headers.py,sha256=uBurL5DTMwKmlxWsVxtI4Eem0qvfUwa2cBJf9bdULaM,6675
|
|
516
516
|
boneio/webui/sudo_rate_limiter.py,sha256=0lekDsA8bD82QPwlBoFxFFWAXRzYQfIzii9aLu9g1_0,4720
|
|
517
517
|
boneio/webui/web_server.py,sha256=epeLJdtV0qZpX4kgSU1zUEPjOK7PSST6cvrmdB-3oyU,9848
|
|
518
|
-
boneio/webui/websocket_manager.py,sha256=
|
|
518
|
+
boneio/webui/websocket_manager.py,sha256=XdXiKvH56DiZzzVIr2NnOODJJdTmlAXYrwDr3UQV5V8,8125
|
|
519
519
|
boneio/webui/frontend-dist/boneio-192.png,sha256=2Q-HiAx3kB1yppMriZ46fDZ94Ft_1VpDbZ9EShGUBSo,23489
|
|
520
520
|
boneio/webui/frontend-dist/boneio-512.png,sha256=4bF-wKrQQ66PJrP-oC4ncfcThrmklt54ku9wPpTaPgI,57242
|
|
521
521
|
boneio/webui/frontend-dist/boneio.svg,sha256=laUdMyUEDLQ46rRtEUvRLvcTVb8dwplhCIcJDIWRhec,4623
|
|
@@ -619,7 +619,7 @@ boneio/webui/frontend-dist/schema/template.schema.json,sha256=eDIGF3K0T-qbmLuJ7I
|
|
|
619
619
|
boneio/webui/frontend-dist/schema/virtual_energy_sensor.schema.json,sha256=BN6Egh-CAnXSa80bQ6YoegSPtaGN7bMdK_SuhLQX4Ic,1944
|
|
620
620
|
boneio/webui/frontend-dist/schema/web.schema.json,sha256=Wu_Ouv5R8cs1Sc5kN8ggg1L48yFMoo5DrHbd98gLM-M,4980
|
|
621
621
|
boneio/webui/middleware/__init__.py,sha256=UVh56IFIAbOOLc0IpOBFwY-SN1Lwe3LI2PkESX_lqAY,96
|
|
622
|
-
boneio/webui/middleware/auth.py,sha256=
|
|
622
|
+
boneio/webui/middleware/auth.py,sha256=vTzmrkU0wa5IkNf33KBM6sCBUWUda2J4fRo2YPmlPU0,14051
|
|
623
623
|
boneio/webui/middleware/csrf.py,sha256=6VI9fktCQeeLJ3XTXJBywkjM3GSjM45vVA2PPi_NOR4,3822
|
|
624
624
|
boneio/webui/middleware/policy.py,sha256=mzXDEhg-7NZxaBHhsjXUiuogPP2mLdgQPhcWcnV92lw,6441
|
|
625
625
|
boneio/webui/routes/__init__.py,sha256=swTp_QQ46nu6X21fp6KNT6PgWkBQocWjjwizbxyjyZ0,2217
|
|
@@ -690,9 +690,9 @@ boneio/webui/schema/virtual_energy_sensor.schema.json,sha256=BN6Egh-CAnXSa80bQ6Y
|
|
|
690
690
|
boneio/webui/schema/web.schema.json,sha256=Wu_Ouv5R8cs1Sc5kN8ggg1L48yFMoo5DrHbd98gLM-M,4980
|
|
691
691
|
boneio/webui/services/__init__.py,sha256=l_L3YUPhc0ZbrWqKH1RurC7UQ4q0k-5ABGTwOSS-YFQ,282
|
|
692
692
|
boneio/webui/services/logs.py,sha256=rKx-7jbNXNuQpuqJHtIHBCXZ3ELguDJL82RySAUT38Y,11980
|
|
693
|
-
boneio-1.6.0.
|
|
694
|
-
boneio-1.6.0.
|
|
695
|
-
boneio-1.6.0.
|
|
696
|
-
boneio-1.6.0.
|
|
697
|
-
boneio-1.6.0.
|
|
698
|
-
boneio-1.6.0.
|
|
693
|
+
boneio-1.6.0.dev9.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
694
|
+
boneio-1.6.0.dev9.dist-info/METADATA,sha256=-xqHL1nrPtAip2ySI5dTs2nFOHCWMDEKk0WybG92w4M,1975
|
|
695
|
+
boneio-1.6.0.dev9.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
696
|
+
boneio-1.6.0.dev9.dist-info/entry_points.txt,sha256=JX7gluDIkQ6MBlzzxGHMItnBjciiJ73tsXwYcazMW_U,47
|
|
697
|
+
boneio-1.6.0.dev9.dist-info/top_level.txt,sha256=ag9S5n1_KXZfyk9tN8R0YUDYbdA--e5a2w2FOD_yMdg,7
|
|
698
|
+
boneio-1.6.0.dev9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|