pylookyloo 1.19.3__tar.gz → 1.36.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.
- {pylookyloo-1.19.3 → pylookyloo-1.36.1}/PKG-INFO +13 -14
- {pylookyloo-1.19.3 → pylookyloo-1.36.1}/pylookyloo/__init__.py +5 -2
- pylookyloo-1.36.1/pylookyloo/api.py +753 -0
- pylookyloo-1.36.1/pyproject.toml +49 -0
- pylookyloo-1.19.3/pylookyloo/api.py +0 -420
- pylookyloo-1.19.3/pyproject.toml +0 -51
- {pylookyloo-1.19.3 → pylookyloo-1.36.1}/LICENSE +0 -0
- {pylookyloo-1.19.3 → pylookyloo-1.36.1}/README.md +0 -0
- {pylookyloo-1.19.3 → pylookyloo-1.36.1}/pylookyloo/py.typed +0 -0
|
@@ -1,35 +1,34 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pylookyloo
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.36.1
|
|
4
4
|
Summary: Python CLI and module for Lookyloo
|
|
5
|
-
|
|
6
|
-
License:
|
|
5
|
+
License-Expression: GPL-2.0-or-later
|
|
6
|
+
License-File: LICENSE
|
|
7
7
|
Author: Raphaël Vinot
|
|
8
8
|
Author-email: raphael.vinot@circl.lu
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Environment :: Console
|
|
12
12
|
Classifier: Intended Audience :: Information Technology
|
|
13
13
|
Classifier: Intended Audience :: Science/Research
|
|
14
14
|
Classifier: Intended Audience :: Telecommunications Industry
|
|
15
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
16
15
|
Classifier: Operating System :: POSIX :: Linux
|
|
17
16
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
20
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.
|
|
24
|
-
Classifier: Programming Language :: Python :: 3.
|
|
25
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
22
|
Classifier: Topic :: Internet
|
|
27
23
|
Classifier: Topic :: Security
|
|
28
24
|
Provides-Extra: docs
|
|
29
|
-
|
|
30
|
-
Requires-Dist:
|
|
25
|
+
Provides-Extra: examples
|
|
26
|
+
Requires-Dist: Sphinx (>=9.1.0) ; (python_version >= "3.12") and (extra == "docs")
|
|
27
|
+
Requires-Dist: pylacus (>=1.21.0) ; extra == "examples"
|
|
28
|
+
Requires-Dist: requests (>=2.32.5)
|
|
31
29
|
Project-URL: Documentation, https://pylookyloo.readthedocs.io/en/latest/
|
|
32
30
|
Project-URL: Repository, https://github.com/lookyloo/PyLookyloo
|
|
31
|
+
Project-URL: issues, https://github.com/lookyloo/PyLookyloo/issues
|
|
33
32
|
Description-Content-Type: text/markdown
|
|
34
33
|
|
|
35
34
|
[](https://pylookyloo.readthedocs.io/en/latest/?badge=latest)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import argparse
|
|
2
2
|
import json
|
|
3
3
|
|
|
4
|
-
from .api import Lookyloo, CaptureSettings # noqa
|
|
4
|
+
from .api import Lookyloo, CaptureSettings, PyLookylooError, AuthError, CompareSettings # noqa
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
def main():
|
|
7
|
+
def main() -> None:
|
|
8
8
|
parser = argparse.ArgumentParser(description='Enqueue a URL on Lookyloo.', epilog='The capture UUIDs you will receive can be used as permaurls (https://<domain>/tree/<uuid>).')
|
|
9
9
|
parser.add_argument('--url', type=str, help='URL of the instance (defaults to https://lookyloo.circl.lu/, the public instance).')
|
|
10
10
|
parser.add_argument('--query', help='URL to enqueue. The response is the permanent URL where you can see the result of the capture.')
|
|
@@ -35,3 +35,6 @@ def main():
|
|
|
35
35
|
print(json.dumps(response))
|
|
36
36
|
else:
|
|
37
37
|
print(f'Unable to reach {lookyloo.root_url}. Is the server up?')
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
__all__ = ['Lookyloo', 'CaptureSettings', 'PyLookylooError', 'AuthError', 'CompareSettings']
|