pylookyloo 1.31.0__tar.gz → 1.31.1__tar.gz

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.

Potentially problematic release.


This version of pylookyloo might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pylookyloo
3
- Version: 1.31.0
3
+ Version: 1.31.1
4
4
  Summary: Python CLI and module for Lookyloo
5
5
  License: GPL-2.0-or-later
6
6
  Author: Raphaël Vinot
@@ -90,7 +90,7 @@ class CompareSettings(TypedDict, total=False):
90
90
  class Lookyloo():
91
91
 
92
92
  def __init__(self, root_url: str='https://lookyloo.circl.lu/', useragent: str | None=None,
93
- *, proxies: dict[str, str] | None=None):
93
+ *, proxies: dict[str, str] | None=None, verify: bool | str=True) -> None:
94
94
  '''Query a specific lookyloo instance.
95
95
 
96
96
  :param root_url: URL of the instance to query.
@@ -110,6 +110,7 @@ class Lookyloo():
110
110
  self.session.proxies.update(proxies)
111
111
  retries = Retry(total=5, backoff_factor=0.1, status_forcelist=[500, 502, 503, 504])
112
112
  self.session.mount('http://', HTTPAdapter(max_retries=retries))
113
+ self.session.verify = verify
113
114
 
114
115
  @property
115
116
  def is_up(self) -> bool:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pylookyloo"
3
- version = "1.31.0"
3
+ version = "1.31.1"
4
4
  description = "Python CLI and module for Lookyloo"
5
5
  authors = [
6
6
  {name="Raphaël Vinot", email="raphael.vinot@circl.lu"}
@@ -40,9 +40,9 @@ docs = ["Sphinx (>=8.2.3) ; python_version >= \"3.11\""]
40
40
  examples = ["pylacus (>=1.15.1)"]
41
41
 
42
42
  [tool.poetry.group.dev.dependencies]
43
- mypy = "^1.16.0"
43
+ mypy = "^1.16.1"
44
44
  types-requests = "^2.32.4.20250611"
45
- pytest = "^8.4.0"
45
+ pytest = "^8.4.1"
46
46
 
47
47
  [build-system]
48
48
  requires = ["poetry-core>=2.0"]
File without changes
File without changes