lacuscore 1.12.7__py3-none-any.whl → 1.12.8__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
@@ -9,7 +9,7 @@ from logging import LoggerAdapter
9
9
  from typing import Any, TypedDict, Literal
10
10
  from collections.abc import MutableMapping, Mapping
11
11
 
12
- from defang import refang # type: ignore[import-untyped]
12
+ from defang import refang
13
13
  from pydantic import BaseModel, field_validator, model_validator, ValidationError
14
14
  from pydantic_core import from_json
15
15
 
@@ -149,7 +149,8 @@ class CaptureSettings(BaseModel):
149
149
  @classmethod
150
150
  def load_url(cls, url: str | None) -> str | None:
151
151
  if isinstance(url, str):
152
- _url = refang(url) # In case we get a defanged url at this stage.
152
+ # In case we get a defanged url at this stage.
153
+ _url = refang(url) # type: ignore[no-untyped-call]
153
154
  if (not _url.lower().startswith('data:')
154
155
  and not _url.lower().startswith('http:')
155
156
  and not _url.lower().startswith('https:')
@@ -1,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: lacuscore
3
- Version: 1.12.7
3
+ Version: 1.12.8
4
4
  Summary: Core of Lacus, usable as a module
5
- Home-page: https://github.com/ail-project/LacusCore
6
5
  License: BSD-3-Clause
7
6
  Author: Raphaël Vinot
8
7
  Author-email: raphael.vinot@circl.lu
@@ -23,18 +22,19 @@ Classifier: Programming Language :: Python :: 3.13
23
22
  Classifier: Topic :: Internet
24
23
  Classifier: Topic :: Security
25
24
  Provides-Extra: docs
26
- Requires-Dist: Sphinx (>=8,<9) ; (python_version >= "3.10") and (extra == "docs")
27
- Requires-Dist: async-timeout (>=4.0.3,<5.0.0) ; python_version < "3.11"
28
- Requires-Dist: defang (>=0.5.3,<0.6.0)
29
- Requires-Dist: dnspython (>=2.7.0,<3.0.0) ; python_version >= "3.9"
30
- Requires-Dist: eval-type-backport (>=0.2.0,<0.3.0) ; python_version < "3.10"
31
- Requires-Dist: playwrightcapture[recaptcha] (>=1.27.5,<2.0.0)
32
- Requires-Dist: pydantic (>=2.10.4,<3.0.0)
33
- Requires-Dist: redis[hiredis] (>=5.2.1,<6.0.0)
34
- Requires-Dist: requests (>=2.32.3,<3.0.0)
35
- Requires-Dist: ua-parser[regex] (>=1.0.0,<2.0.0)
25
+ Requires-Dist: Sphinx (>=8.1.3) ; (python_version >= "3.10") and (extra == "docs")
26
+ Requires-Dist: async-timeout (>=5.0.1) ; python_version < "3.11"
27
+ Requires-Dist: defang (>=0.5.3)
28
+ Requires-Dist: dnspython (>=2.7.0)
29
+ Requires-Dist: eval-type-backport (>=0.2.2) ; python_version < "3.10"
30
+ Requires-Dist: playwrightcapture[recaptcha] (>=1.27.6)
31
+ Requires-Dist: pydantic (>=2.10.6)
32
+ Requires-Dist: redis[hiredis] (>=5.2.1)
33
+ Requires-Dist: requests (>=2.32.3)
34
+ Requires-Dist: ua-parser[regex] (>=1.0.0)
36
35
  Project-URL: Documentation, https://lacuscore.readthedocs.io/en/latest/
37
- Project-URL: Repository, https://github.com/ail-project/LacusCore
36
+ Project-URL: Issues, https://github.com/Lookyloo/LacusCore/issues
37
+ Project-URL: Repository, https://github.com/Lookyloo/LacusCore
38
38
  Description-Content-Type: text/markdown
39
39
 
40
40
  [![Documentation Status](https://readthedocs.org/projects/lacuscore/badge/?version=latest)](https://lacuscore.readthedocs.io/en/latest/?badge=latest)
@@ -1,10 +1,10 @@
1
1
  lacuscore/__init__.py,sha256=aLBshQPT9IBDKn5qWrX9A_exqtLFPyLsQiPWdfpAFjA,537
2
- lacuscore/helpers.py,sha256=a7dwcNwwF04czQaGaVdcDrXbBJvAdGTJU7Gi4L_pNd4,10954
2
+ lacuscore/helpers.py,sha256=P-OESi6msSqewxp0CqpyJu_fH1lT6rre4FZUK45tUGY,10967
3
3
  lacuscore/lacus_monitoring.py,sha256=r6IaYuh6sMq43eOWdZx0fU8p4PWVZlqSD6nr6yOaTUU,2713
4
4
  lacuscore/lacuscore.py,sha256=2MQgfLEi6yUuq-XQeo3XXp5_OaHd4z40g05fKRXR6Qc,41526
5
5
  lacuscore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  lacuscore/task_logger.py,sha256=2wDotU6r6vn-aKO8nZNdxSuisSj11LlcxuvW60qPL0Y,1909
7
- lacuscore-1.12.7.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
8
- lacuscore-1.12.7.dist-info/METADATA,sha256=gapFHfwwjcwvPtIJru8hcKXVzIcopmxPgLIRv9EHVtw,2699
9
- lacuscore-1.12.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
10
- lacuscore-1.12.7.dist-info/RECORD,,
7
+ lacuscore-1.12.8.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
8
+ lacuscore-1.12.8.dist-info/METADATA,sha256=jZSM2WNQioHNMHC04tlcgkjKqr5PE9-EjjC57AHqYOQ,2622
9
+ lacuscore-1.12.8.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
10
+ lacuscore-1.12.8.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.1
2
+ Generator: poetry-core 2.0.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any