talklib 3.6.1__tar.gz → 3.6.2__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.
- {talklib-3.6.1/src/talklib.egg-info → talklib-3.6.2}/PKG-INFO +2 -2
- {talklib-3.6.1 → talklib-3.6.2}/pyproject.toml +1 -1
- {talklib-3.6.1 → talklib-3.6.2}/requirements.txt +1 -1
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib/pod.py +12 -0
- {talklib-3.6.1 → talklib-3.6.2/src/talklib.egg-info}/PKG-INFO +2 -2
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib.egg-info/requires.txt +1 -1
- {talklib-3.6.1 → talklib-3.6.2}/LICENSE.txt +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/README.md +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/setup.cfg +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib/__init__.py +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib/cli.py +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib/ev.py +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib/ffmpeg.py +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib/notify.py +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib/show.py +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib/utils.py +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib.egg-info/SOURCES.txt +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib.egg-info/dependency_links.txt +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib.egg-info/entry_points.txt +0 -0
- {talklib-3.6.1 → talklib-3.6.2}/src/talklib.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: talklib
|
|
3
|
-
Version: 3.6.
|
|
3
|
+
Version: 3.6.2
|
|
4
4
|
Summary: A package to automate processing of shows/segments airing on the TL
|
|
5
5
|
Author-email: Ben Weddle <ben.weddle@gmail.com>
|
|
6
6
|
Maintainer-email: Ben Weddle <ben.weddle@gmail.com>
|
|
@@ -11,7 +11,7 @@ Requires-Python: >=3.10
|
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE.txt
|
|
13
13
|
Requires-Dist: aiohappyeyeballs==2.6.1
|
|
14
|
-
Requires-Dist: aiohttp==3.
|
|
14
|
+
Requires-Dist: aiohttp==3.14.1
|
|
15
15
|
Requires-Dist: aiohttp-retry==2.8.3
|
|
16
16
|
Requires-Dist: aiosignal==1.4.0
|
|
17
17
|
Requires-Dist: annotated-types==0.7.0
|
|
@@ -389,6 +389,18 @@ class TLPod(BaseModel):
|
|
|
389
389
|
|
|
390
390
|
return self
|
|
391
391
|
|
|
392
|
+
@model_validator(mode='after')
|
|
393
|
+
def check_apache_assets_server(self):
|
|
394
|
+
'''check that the Assets server is reachable via HTTP and notify staff if not. Do not hault automation'''
|
|
395
|
+
url: str = "https://assets.library.nashville.gov"
|
|
396
|
+
req_get = requests.get(url=url)
|
|
397
|
+
req_post = requests.post(url=url)
|
|
398
|
+
if not (req_get.ok and req_post.ok):
|
|
399
|
+
to_send: str = "It looks like Apache may not be running on the Assets server. We are unable to make HTTPS requests...automation should be able to continue via SSH."
|
|
400
|
+
self.notifications.send_notifications(message=to_send, subject="Warning", syslog_level="Warning")
|
|
401
|
+
|
|
402
|
+
return self
|
|
403
|
+
|
|
392
404
|
# @model_validator(mode='after')
|
|
393
405
|
# def confirm_SSH_connection(self):
|
|
394
406
|
# # before we carry on, make sure we can successfully connect to the server
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: talklib
|
|
3
|
-
Version: 3.6.
|
|
3
|
+
Version: 3.6.2
|
|
4
4
|
Summary: A package to automate processing of shows/segments airing on the TL
|
|
5
5
|
Author-email: Ben Weddle <ben.weddle@gmail.com>
|
|
6
6
|
Maintainer-email: Ben Weddle <ben.weddle@gmail.com>
|
|
@@ -11,7 +11,7 @@ Requires-Python: >=3.10
|
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE.txt
|
|
13
13
|
Requires-Dist: aiohappyeyeballs==2.6.1
|
|
14
|
-
Requires-Dist: aiohttp==3.
|
|
14
|
+
Requires-Dist: aiohttp==3.14.1
|
|
15
15
|
Requires-Dist: aiohttp-retry==2.8.3
|
|
16
16
|
Requires-Dist: aiosignal==1.4.0
|
|
17
17
|
Requires-Dist: annotated-types==0.7.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|