PKDevTools 0.13.20250208.220__tar.gz → 0.13.20250210.221__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/UserSubscriptions.py +17 -0
- pkdevtools-0.13.20250210.221/PKDevTools/classes/__init__.py +1 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/PKG-INFO +2 -2
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKG-INFO +2 -2
- pkdevtools-0.13.20250208.220/PKDevTools/classes/__init__.py +0 -1
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/LICENSE +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/LICENSE.txt +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/README.txt +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/__init__.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Archiver.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/ColorText.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Committer.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/CookieHelper.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/DBManager.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Environment.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Fetcher.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/FunctionTimeouts.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/GmailReader.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/MarketHours.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/MenuOptions.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/NSEMarketStatus.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/OutputControls.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/PKDateUtilities.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/PKGitFolderDownloader.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/PKJoinableQueue.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/PKMultiProcessorClient.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/PKPickler.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/PKTimer.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Pikey.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Singleton.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/SuppressOutput.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/System.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Telegram.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Utils.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/WorkflowManager.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/githubutilities.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/log.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/multiprocessing_logging.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/squash.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/updater.py +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/release.md +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/requirements.txt +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/SOURCES.txt +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/dependency_links.txt +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/entry_points.txt +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/not-zip-safe +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/requires.txt +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/top_level.txt +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/README.md +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/setup.cfg +0 -0
- {pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/setup.py +0 -0
@@ -37,6 +37,23 @@ class PKSubscriptionModel(Enum):
|
|
37
37
|
|
38
38
|
class PKUserSusbscriptions:
|
39
39
|
|
40
|
+
@classmethod
|
41
|
+
def subscriptionModelFromValue(self,subValue):
|
42
|
+
try:
|
43
|
+
model = PKSubscriptionModel(int(subValue))
|
44
|
+
except ValueError:
|
45
|
+
print(f"Value error for {subValue}")
|
46
|
+
models = [int(x) for x in list(PKUserSusbscriptions().subscriptionValueKeyPairs.keys())]
|
47
|
+
import bisect
|
48
|
+
models.sort() # Ensure the list is sorted
|
49
|
+
idx = bisect.bisect_right(models, int(subValue)) - 1
|
50
|
+
modelValue = models[idx] if idx >= 0 else 0
|
51
|
+
print(f"The best model for {subValue} was found to be {modelValue}")
|
52
|
+
model = PKSubscriptionModel(modelValue)
|
53
|
+
except Exception as e:
|
54
|
+
pass
|
55
|
+
return model
|
56
|
+
|
40
57
|
@classmethod
|
41
58
|
def updateSubscriptions(self):
|
42
59
|
try:
|
@@ -0,0 +1 @@
|
|
1
|
+
VERSION='0.13.20250210.221'
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: PKDevTools
|
3
|
-
Version: 0.13.
|
3
|
+
Version: 0.13.20250210.221
|
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.
|
6
|
+
Download-URL: https://github.com/pkjmesra/PKDevTools/archive/v0.13.20250210.221.zip
|
7
7
|
Author: pkjmesra
|
8
8
|
Author-email: pkjmesra@gmail.com
|
9
9
|
License: OSI Approved (MIT)
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: PKDevTools
|
3
|
-
Version: 0.13.
|
3
|
+
Version: 0.13.20250210.221
|
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.
|
6
|
+
Download-URL: https://github.com/pkjmesra/PKDevTools/archive/v0.13.20250210.221.zip
|
7
7
|
Author: pkjmesra
|
8
8
|
Author-email: pkjmesra@gmail.com
|
9
9
|
License: OSI Approved (MIT)
|
@@ -1 +0,0 @@
|
|
1
|
-
VERSION='0.13.20250208.220'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Archiver.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/ColorText.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Committer.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/CookieHelper.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/DBManager.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Environment.py
RENAMED
File without changes
|
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/FunctionTimeouts.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/GmailReader.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/MarketHours.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/MenuOptions.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/NSEMarketStatus.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/OutputControls.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/PKDateUtilities.py
RENAMED
File without changes
|
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/PKJoinableQueue.py
RENAMED
File without changes
|
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/PKPickler.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Singleton.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/SuppressOutput.py
RENAMED
File without changes
|
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/Telegram.py
RENAMED
File without changes
|
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/WorkflowManager.py
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools/classes/githubutilities.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/entry_points.txt
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/not-zip-safe
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/requires.txt
RENAMED
File without changes
|
{pkdevtools-0.13.20250208.220 → pkdevtools-0.13.20250210.221}/PKDevTools.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|