webchanges 3.35.0__tar.gz → 3.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.
- webchanges-3.36.1/MANIFEST.in +5 -0
- {webchanges-3.35.0/webchanges.egg-info → webchanges-3.36.1}/PKG-INFO +3 -2
- {webchanges-3.35.0 → webchanges-3.36.1}/README.rst +1 -1
- {webchanges-3.35.0 → webchanges-3.36.1}/pyproject.toml +9 -3
- {webchanges-3.35.0 → webchanges-3.36.1}/requirements.txt +1 -0
- webchanges-3.36.1/setup.py +17 -0
- webchanges-3.36.1/tools/get_manpages_parser.py +23 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/__init__.py +1 -1
- webchanges-3.36.1/webchanges/_resources/config.schema.json +933 -0
- webchanges-3.36.1/webchanges/_resources/jobs.schema.json +1363 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/_vendored/headers.py +1 -1
- webchanges-3.36.1/webchanges/_vendored/packaging_version.py +1470 -0
- webchanges-3.36.1/webchanges/_vendored/typeguard.py +1441 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/cli.py +434 -5
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/command.py +71 -279
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/config.py +85 -20
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/differs.py +41 -3
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/filters/_document.py +1 -1
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/jobs/_base.py +31 -4
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/jobs/_browser.py +5 -5
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/jobs/_url.py +3 -3
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/main.py +9 -5
- webchanges-3.36.1/webchanges/py.typed +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/storage/_base.py +16 -1
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/storage/_config.py +18 -3
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/storage/_yaml.py +39 -12
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/worker.py +18 -7
- {webchanges-3.35.0 → webchanges-3.36.1/webchanges.egg-info}/PKG-INFO +3 -2
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges.egg-info/SOURCES.txt +6 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges.egg-info/requires.txt +1 -0
- webchanges-3.35.0/MANIFEST.in +0 -3
- webchanges-3.35.0/webchanges/_vendored/packaging_version.py +0 -807
- {webchanges-3.35.0 → webchanges-3.36.1}/LICENSE.md +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/setup.cfg +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/__main__.py +0 -0
- {webchanges-3.35.0/webchanges/_vendored → webchanges-3.36.1/webchanges/_resources}/__init__.py +0 -0
- /webchanges-3.35.0/webchanges/py.typed → /webchanges-3.36.1/webchanges/_vendored/__init__.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/filters/__init__.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/filters/_base.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/filters/_encoding.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/filters/_html.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/filters/_shell.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/filters/_text.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/handler.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/jobs/__init__.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/jobs/_exceptions.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/jobs/_shell.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/mailer.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/reporters/__init__.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/reporters/_base.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/reporters/_browser.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/reporters/_chat.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/reporters/_email.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/reporters/_filter.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/reporters/_stdout.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/reporters/_system.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/reporters/_web.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/storage/__init__.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/storage/_minidb.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/storage/_redis.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/storage/_sqlite3.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/storage/_ssdb.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/storage_minidb.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges/util.py +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges.egg-info/dependency_links.txt +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges.egg-info/entry_points.txt +0 -0
- {webchanges-3.35.0 → webchanges-3.36.1}/webchanges.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: webchanges
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.36.1
|
|
4
4
|
Summary: Web Changes Delivered. AI-Summarized. Totally Anonymous.
|
|
5
5
|
Author-email: Mike Borsetti <mike+webchanges@borsetti.com>
|
|
6
6
|
Maintainer-email: Mike Borsetti <mike+webchanges@borsetti.com>
|
|
@@ -47,6 +47,7 @@ Requires-Dist: markdown2
|
|
|
47
47
|
Requires-Dist: msgpack
|
|
48
48
|
Requires-Dist: platformdirs
|
|
49
49
|
Requires-Dist: pyyaml
|
|
50
|
+
Requires-Dist: typing-extensions
|
|
50
51
|
Requires-Dist: tzdata; sys_platform == "win32"
|
|
51
52
|
Requires-Dist: zstandard; python_version < "3.14"
|
|
52
53
|
Provides-Extra: use-browser
|
|
@@ -176,7 +177,7 @@ Initialize
|
|
|
176
177
|
|
|
177
178
|
.. code-block:: bash
|
|
178
179
|
|
|
179
|
-
webchanges --edit
|
|
180
|
+
webchanges --edit-jobs
|
|
180
181
|
|
|
181
182
|
#. Run the following command to change the default `configuration
|
|
182
183
|
<https://webchanges.readthedocs.io/en/stable/configuration.html>`__, e.g. to receive change notifications
|
|
@@ -73,7 +73,7 @@ Initialize
|
|
|
73
73
|
|
|
74
74
|
.. code-block:: bash
|
|
75
75
|
|
|
76
|
-
webchanges --edit
|
|
76
|
+
webchanges --edit-jobs
|
|
77
77
|
|
|
78
78
|
#. Run the following command to change the default `configuration
|
|
79
79
|
<https://webchanges.readthedocs.io/en/stable/configuration.html>`__, e.g. to receive change notifications
|
|
@@ -65,7 +65,7 @@ webchanges = 'webchanges.cli:main'
|
|
|
65
65
|
use_browser = ['playwright', 'psutil']
|
|
66
66
|
# filters
|
|
67
67
|
# lxml is now optional with beautifulsoup4
|
|
68
|
-
# note: also update the list of all possible dependencies in show_detailed_versions() in
|
|
68
|
+
# note: also update the list of all possible dependencies in show_detailed_versions() in cli.py!
|
|
69
69
|
beautify = ['beautifulsoup4', 'jsbeautifier', 'cssbeautifier']
|
|
70
70
|
bs4 = ['beautifulsoup4']
|
|
71
71
|
html5lib = ['html5lib']
|
|
@@ -104,6 +104,7 @@ all = [
|
|
|
104
104
|
# https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
|
|
105
105
|
packages = [
|
|
106
106
|
'webchanges',
|
|
107
|
+
'webchanges._resources',
|
|
107
108
|
'webchanges._vendored',
|
|
108
109
|
'webchanges.filters',
|
|
109
110
|
'webchanges.jobs',
|
|
@@ -117,11 +118,16 @@ dependencies = { file = 'requirements.txt' }
|
|
|
117
118
|
|
|
118
119
|
[tool.setuptools.package-data]
|
|
119
120
|
'webchanges' = ['py.typed']
|
|
121
|
+
'webchanges._resources' = ['*.schema.json', '*.schema.sha256']
|
|
120
122
|
|
|
121
123
|
# -------------------------- manpages --------------------------
|
|
122
124
|
# https://github.com/praiskup/argparse-manpage/blob/main/README.md
|
|
125
|
+
# The build hook is wired in setup.py; [tool.setuptools.data-files] below installs the result.
|
|
123
126
|
[tool.build_manpages]
|
|
124
|
-
manpages = ['man/webchanges.1:function=
|
|
127
|
+
manpages = ['man/webchanges.1:function=get_manpages_parser:pyfile=tools/get_manpages_parser.py']
|
|
128
|
+
|
|
129
|
+
[tool.setuptools.data-files]
|
|
130
|
+
'share/man/man1' = ['man/webchanges.1']
|
|
125
131
|
|
|
126
132
|
# -------------------------- coverage --------------------------
|
|
127
133
|
[tool.coverage.run]
|
|
@@ -287,7 +293,7 @@ ignore = [
|
|
|
287
293
|
'RUF012', # Mutable class attributes should be annotated with `typing.ClassVar`
|
|
288
294
|
'SIM105', # Use contextlib.suppress({exception}) instead of try-except-pass
|
|
289
295
|
'SIM115', # Use a context manager for opening files
|
|
290
|
-
'TD002', #
|
|
296
|
+
'TD002', # Missing author in TODO
|
|
291
297
|
'TD003', # Missing issue link for this TODO
|
|
292
298
|
]
|
|
293
299
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Shim required to wire argparse-manpage's build_manpages cmdclass into setuptools.
|
|
2
|
+
# All other configuration lives in pyproject.toml.
|
|
3
|
+
# See https://github.com/praiskup/argparse-manpage/blob/main/README.md
|
|
4
|
+
from __future__ import annotations
|
|
5
|
+
|
|
6
|
+
from build_manpages import build_manpages, get_build_py_cmd, get_install_cmd
|
|
7
|
+
from setuptools import setup
|
|
8
|
+
from setuptools.command.build_py import build_py
|
|
9
|
+
from setuptools.command.install import install
|
|
10
|
+
|
|
11
|
+
setup(
|
|
12
|
+
cmdclass={
|
|
13
|
+
'build_manpages': build_manpages,
|
|
14
|
+
'build_py': get_build_py_cmd(build_py),
|
|
15
|
+
'install': get_install_cmd(install),
|
|
16
|
+
},
|
|
17
|
+
)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import sys
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
from typing import TYPE_CHECKING
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from argparse import ArgumentParser
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
sys.path.insert(0, str(Path.cwd()))
|
|
12
|
+
|
|
13
|
+
from webchanges.config import CommandConfig
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def get_manpages_parser() -> ArgumentParser:
|
|
17
|
+
"""Returns the parser to be used by argparse-manpage.
|
|
18
|
+
|
|
19
|
+
https://github.com/praiskup/argparse-manpage/blob/main/README.md
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
null_path = Path()
|
|
23
|
+
return CommandConfig([], null_path, null_path, null_path, null_path, null_path).parse_args([])
|
|
@@ -22,7 +22,7 @@ __project_name__ = str(__package__)
|
|
|
22
22
|
# * MINOR version when you add functionality in a backwards compatible manner, and
|
|
23
23
|
# * MICRO or PATCH version when you make backwards compatible bug fixes. We no longer use '0'
|
|
24
24
|
# If unsure on increments, use pkg_resources.parse_version to parse
|
|
25
|
-
__version__ = '3.
|
|
25
|
+
__version__ = '3.36.1'
|
|
26
26
|
__description__ = (
|
|
27
27
|
'Check web (or command output) for changes since last run and notify.\n\nAnonymously alerts you of web changes.'
|
|
28
28
|
)
|