lacuscore 1.13.1__py3-none-any.whl → 1.13.2__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.
lacuscore/helpers.py CHANGED
@@ -3,10 +3,11 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  import json
6
+ import sys
6
7
 
7
8
  from enum import IntEnum, unique
8
9
  from logging import LoggerAdapter
9
- from typing import Any, TypedDict, Literal
10
+ from typing import Any, Literal
10
11
  from collections.abc import MutableMapping, Mapping
11
12
 
12
13
  from defang import refang
@@ -18,6 +19,12 @@ from playwrightcapture.capture import CaptureResponse as PlaywrightCaptureRespon
18
19
  from playwright._impl._api_structures import Cookie # , StorageState
19
20
 
20
21
 
22
+ if sys.version_info >= (3, 12):
23
+ from typing import TypedDict
24
+ else:
25
+ from typing_extensions import TypedDict
26
+
27
+
21
28
  class LacusCoreException(Exception):
22
29
  pass
23
30
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lacuscore
3
- Version: 1.13.1
3
+ Version: 1.13.2
4
4
  Summary: Core of Lacus, usable as a module
5
5
  License: BSD-3-Clause
6
6
  Author: Raphaël Vinot
@@ -30,6 +30,7 @@ Requires-Dist: playwrightcapture[recaptcha] (>=1.28.1)
30
30
  Requires-Dist: pydantic (>=2.10.6)
31
31
  Requires-Dist: redis[hiredis] (>=5.2.1)
32
32
  Requires-Dist: requests (>=2.32.3)
33
+ Requires-Dist: typing-extensions (>=4.12.2,<5.0.0) ; python_version < "3.12"
33
34
  Requires-Dist: ua-parser[regex] (>=1.0.1)
34
35
  Project-URL: Documentation, https://lacuscore.readthedocs.io/en/latest/
35
36
  Project-URL: Issues, https://github.com/ail-project/issues
@@ -1,10 +1,10 @@
1
1
  lacuscore/__init__.py,sha256=aLBshQPT9IBDKn5qWrX9A_exqtLFPyLsQiPWdfpAFjA,537
2
- lacuscore/helpers.py,sha256=Nt3oMMDGgl3rDkDujuAaxWtb3cXeSGk2pdXg5lNEqhI,13188
2
+ lacuscore/helpers.py,sha256=xiYrdpeqMnkJZRULMAjDC_wvesAcWQIt9xwEY3WIVr8,13305
3
3
  lacuscore/lacus_monitoring.py,sha256=r6IaYuh6sMq43eOWdZx0fU8p4PWVZlqSD6nr6yOaTUU,2713
4
4
  lacuscore/lacuscore.py,sha256=fzW-04_pFK_Bqv-66-ei4OLS3nxpHmNEXCn4_2pXhTU,42212
5
5
  lacuscore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  lacuscore/task_logger.py,sha256=2wDotU6r6vn-aKO8nZNdxSuisSj11LlcxuvW60qPL0Y,1909
7
- lacuscore-1.13.1.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
8
- lacuscore-1.13.1.dist-info/METADATA,sha256=IyAbfTlzx6MfiGGSm4xcQsz_l7zlAS4iKdhpc1xlOuA,2570
9
- lacuscore-1.13.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
10
- lacuscore-1.13.1.dist-info/RECORD,,
7
+ lacuscore-1.13.2.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
8
+ lacuscore-1.13.2.dist-info/METADATA,sha256=m3OmT0l7ETOBcg9V4pls0RdMsQceQwYQ9uDkDykxUBs,2647
9
+ lacuscore-1.13.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
10
+ lacuscore-1.13.2.dist-info/RECORD,,