PKDevTools 0.13.20250212.226__tar.gz → 0.13.20250212.228__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. pkdevtools-0.13.20250212.228/PKDevTools/classes/__init__.py +1 -0
  2. pkdevtools-0.13.20250212.228/PKDevTools/classes/pubsub/__init__.py +24 -0
  3. pkdevtools-0.13.20250212.228/PKDevTools/classes/pubsub/events.py +29 -0
  4. pkdevtools-0.13.20250212.228/PKDevTools/classes/pubsub/publisher.py +31 -0
  5. pkdevtools-0.13.20250212.228/PKDevTools/classes/pubsub/subscriber.py +36 -0
  6. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/requirements.txt +1 -0
  7. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools.egg-info/PKG-INFO +3 -2
  8. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools.egg-info/SOURCES.txt +5 -1
  9. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools.egg-info/requires.txt +1 -0
  10. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKG-INFO +3 -2
  11. pkdevtools-0.13.20250212.226/PKDevTools/classes/__init__.py +0 -1
  12. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/LICENSE +0 -0
  13. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/LICENSE.txt +0 -0
  14. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/README.txt +0 -0
  15. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/__init__.py +0 -0
  16. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/Archiver.py +0 -0
  17. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/ColorText.py +0 -0
  18. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/Committer.py +0 -0
  19. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/CookieHelper.py +0 -0
  20. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/DBManager.py +0 -0
  21. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/Environment.py +0 -0
  22. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/Fetcher.py +0 -0
  23. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/FunctionTimeouts.py +0 -0
  24. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/GmailReader.py +0 -0
  25. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/MarketHours.py +0 -0
  26. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/MenuOptions.py +0 -0
  27. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/NSEMarketStatus.py +0 -0
  28. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/OutputControls.py +0 -0
  29. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/PKDateUtilities.py +0 -0
  30. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/PKGitFolderDownloader.py +0 -0
  31. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/PKJoinableQueue.py +0 -0
  32. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/PKMultiProcessorClient.py +0 -0
  33. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/PKPickler.py +0 -0
  34. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/PKTimer.py +0 -0
  35. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/Pikey.py +0 -0
  36. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/Singleton.py +0 -0
  37. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/SuppressOutput.py +0 -0
  38. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/System.py +0 -0
  39. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/Telegram.py +0 -0
  40. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/UserSubscriptions.py +0 -0
  41. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/Utils.py +0 -0
  42. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/WorkflowManager.py +0 -0
  43. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/githubutilities.py +0 -0
  44. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/log.py +0 -0
  45. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/multiprocessing_logging.py +0 -0
  46. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/squash.py +0 -0
  47. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/classes/updater.py +0 -0
  48. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools/release.md +0 -0
  49. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools.egg-info/dependency_links.txt +0 -0
  50. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools.egg-info/entry_points.txt +0 -0
  51. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools.egg-info/not-zip-safe +0 -0
  52. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/PKDevTools.egg-info/top_level.txt +0 -0
  53. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/README.md +0 -0
  54. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/setup.cfg +0 -0
  55. {pkdevtools-0.13.20250212.226 → pkdevtools-0.13.20250212.228}/setup.py +0 -0
@@ -0,0 +1 @@
1
+ VERSION='0.13.20250212.228'
@@ -0,0 +1,24 @@
1
+ """
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2023 pkjmesra
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ """
@@ -0,0 +1,29 @@
1
+ """
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2023 pkjmesra
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ """
25
+
26
+ from blinker import Signal
27
+
28
+ # Define a global signal
29
+ globalEventsSignal = Signal()
@@ -0,0 +1,31 @@
1
+ """
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2023 pkjmesra
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ """
25
+ from PKDevTools.classes.pubsub.events import globalEventsSignal
26
+
27
+ class PKUserService:
28
+ def notify_user(self, scannerID=None,notification=None):
29
+ print(f"[UserService] Notifying for scanner: {scannerID} with notification: {notification}")
30
+ # Publish the event
31
+ globalEventsSignal.send(self, scannerID=scannerID,notification=notification)
@@ -0,0 +1,36 @@
1
+ """
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2023 pkjmesra
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ """
25
+ from PKDevTools.classes.pubsub.events import globalEventsSignal
26
+
27
+ class PKNotificationService:
28
+ def __init__(self):
29
+ # Subscribe to the event
30
+ globalEventsSignal.connect(self.notify)
31
+
32
+ def notify(self, sender, **kwargs):
33
+ print(f"[Notification] Notifying for {kwargs['scannerID']} with data: {kwargs['notification']}")
34
+
35
+ # Ensure the subscriber is instantiated so it listens to events
36
+ notification_service = PKNotificationService()
@@ -1,5 +1,6 @@
1
1
  alive_progress
2
2
  argparse
3
+ blinker
3
4
  brotli
4
5
  bs4
5
6
  cloudscraper
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: PKDevTools
3
- Version: 0.13.20250212.226
3
+ Version: 0.13.20250212.228
4
4
  Summary: A general day-to-day toolset for PKScreener repos
5
5
  Home-page: https://github.com/pkjmesra/PKDevTools
6
- Download-URL: https://github.com/pkjmesra/PKDevTools/archive/v0.13.20250212.226.zip
6
+ Download-URL: https://github.com/pkjmesra/PKDevTools/archive/v0.13.20250212.228.zip
7
7
  Author: pkjmesra
8
8
  Author-email: pkjmesra@gmail.com
9
9
  License: OSI Approved (MIT)
@@ -22,6 +22,7 @@ Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: alive_progress
24
24
  Requires-Dist: argparse
25
+ Requires-Dist: blinker
25
26
  Requires-Dist: brotli
26
27
  Requires-Dist: bs4
27
28
  Requires-Dist: cloudscraper
@@ -46,4 +46,8 @@ PKDevTools/classes/githubutilities.py
46
46
  PKDevTools/classes/log.py
47
47
  PKDevTools/classes/multiprocessing_logging.py
48
48
  PKDevTools/classes/squash.py
49
- PKDevTools/classes/updater.py
49
+ PKDevTools/classes/updater.py
50
+ PKDevTools/classes/pubsub/__init__.py
51
+ PKDevTools/classes/pubsub/events.py
52
+ PKDevTools/classes/pubsub/publisher.py
53
+ PKDevTools/classes/pubsub/subscriber.py
@@ -1,5 +1,6 @@
1
1
  alive_progress
2
2
  argparse
3
+ blinker
3
4
  brotli
4
5
  bs4
5
6
  cloudscraper
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: PKDevTools
3
- Version: 0.13.20250212.226
3
+ Version: 0.13.20250212.228
4
4
  Summary: A general day-to-day toolset for PKScreener repos
5
5
  Home-page: https://github.com/pkjmesra/PKDevTools
6
- Download-URL: https://github.com/pkjmesra/PKDevTools/archive/v0.13.20250212.226.zip
6
+ Download-URL: https://github.com/pkjmesra/PKDevTools/archive/v0.13.20250212.228.zip
7
7
  Author: pkjmesra
8
8
  Author-email: pkjmesra@gmail.com
9
9
  License: OSI Approved (MIT)
@@ -22,6 +22,7 @@ Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: alive_progress
24
24
  Requires-Dist: argparse
25
+ Requires-Dist: blinker
25
26
  Requires-Dist: brotli
26
27
  Requires-Dist: bs4
27
28
  Requires-Dist: cloudscraper
@@ -1 +0,0 @@
1
- VERSION='0.13.20250212.226'