analyser_hj3415 2.7.2__py2.py3-none-any.whl → 2.7.3__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- analyser_hj3415/cli.py +4 -1
- analyser_hj3415/eval.py +2 -2
- {analyser_hj3415-2.7.2.dist-info → analyser_hj3415-2.7.3.dist-info}/METADATA +1 -1
- {analyser_hj3415-2.7.2.dist-info → analyser_hj3415-2.7.3.dist-info}/RECORD +7 -7
- {analyser_hj3415-2.7.2.dist-info → analyser_hj3415-2.7.3.dist-info}/LICENSE +0 -0
- {analyser_hj3415-2.7.2.dist-info → analyser_hj3415-2.7.3.dist-info}/WHEEL +0 -0
- {analyser_hj3415-2.7.2.dist-info → analyser_hj3415-2.7.3.dist-info}/entry_points.txt +0 -0
analyser_hj3415/cli.py
CHANGED
@@ -140,7 +140,10 @@ def analyser_manager():
|
|
140
140
|
noti.telegram_to('manager', f"오늘의 Red({args.code})를 레디스캐시에 저장했습니다.(유효 12시간)")
|
141
141
|
|
142
142
|
elif args.command == 'ranking':
|
143
|
-
|
143
|
+
if args.refresh:
|
144
|
+
result = eval.Red.ranking(expect_earn=args.expect_earn, refresh=True)
|
145
|
+
else:
|
146
|
+
result = eval.Red.ranking(expect_earn=args.expect_earn, refresh=False)
|
144
147
|
print(result)
|
145
148
|
if args.noti:
|
146
149
|
noti.telegram_to('manager', "오늘의 red ranking을 레디스캐시에 저장했습니다.(유효 12시간)")
|
analyser_hj3415/eval.py
CHANGED
@@ -8,7 +8,7 @@ from analyser_hj3415.cli import AnalyserSettingsManager
|
|
8
8
|
from collections import OrderedDict
|
9
9
|
import logging
|
10
10
|
|
11
|
-
analyser_logger = helpers.setup_logger('analyser_logger', logging.
|
11
|
+
analyser_logger = helpers.setup_logger('analyser_logger', logging.WARNING)
|
12
12
|
|
13
13
|
|
14
14
|
class Tools:
|
@@ -359,7 +359,7 @@ class Red:
|
|
359
359
|
refresh = True
|
360
360
|
|
361
361
|
redis_name = 'red_ranking'
|
362
|
-
|
362
|
+
print(f"redisname: '{redis_name}' / refresh : {refresh}")
|
363
363
|
|
364
364
|
def fetch_ranking(expect_earn_in: float, refresh_in: bool) -> dict:
|
365
365
|
data = {}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
analyser_hj3415/.DS_Store,sha256=qr9-0FPn5CFKe6kEu8_dWCNhzQ0sN7bwQgffKsaJEEo,6148
|
2
2
|
analyser_hj3415/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
analyser_hj3415/cli.py,sha256=
|
4
|
-
analyser_hj3415/eval.py,sha256=
|
3
|
+
analyser_hj3415/cli.py,sha256=IAABc8Q6thB8FhHUeWsA2m6sW3iHtlqNEm80tpgiyCs,11075
|
4
|
+
analyser_hj3415/eval.py,sha256=0IWTPxf-XG1l0sTwTaF6Jv0Oi8_yIQxPWf6beqc7bnk,38253
|
5
5
|
analyser_hj3415/workroom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
analyser_hj3415/workroom/lstm.py,sha256=O_VYURGNsLw6q_7Yi0nH4Y6nKbVBwzMojDN446cyJKM,4078
|
7
7
|
analyser_hj3415/workroom/myprophet.py,sha256=xGbs4_cCeSNAX62H6rG-bUz6_rUOyO6787WAjLexMkw,1855
|
@@ -9,8 +9,8 @@ analyser_hj3415/workroom/mysklearn.py,sha256=wJXKz5MqqTzADdG2mqRMMzc_G9RzwYjj5_j
|
|
9
9
|
analyser_hj3415/workroom/mysklearn2.py,sha256=1lIy6EWEQHkOzDS-av8U0zQH6DuCLKWMI73dnJx5KRs,1495
|
10
10
|
analyser_hj3415/workroom/score.py,sha256=P6nHBJYmyhigGtT4qna4BmNtvt4B93b7SKyzdstJK24,17376
|
11
11
|
analyser_hj3415/workroom/trash.py,sha256=zF-W0piqkGr66UP6-iybo9EXh2gO0RP6R1FnIpsGkl8,12262
|
12
|
-
analyser_hj3415-2.7.
|
13
|
-
analyser_hj3415-2.7.
|
14
|
-
analyser_hj3415-2.7.
|
15
|
-
analyser_hj3415-2.7.
|
16
|
-
analyser_hj3415-2.7.
|
12
|
+
analyser_hj3415-2.7.3.dist-info/entry_points.txt,sha256=ZfjPnJuH8SzvhE9vftIPMBIofsc65IAWYOhqOC_L5ck,65
|
13
|
+
analyser_hj3415-2.7.3.dist-info/LICENSE,sha256=QVKTp0dTnB5xG8RLgG17LwSWCKNEzYoVVM6KjoCPKc0,1079
|
14
|
+
analyser_hj3415-2.7.3.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
|
15
|
+
analyser_hj3415-2.7.3.dist-info/METADATA,sha256=81ZgZ02EDV8eSOlkF9sFuzMXVMlXEiry65m7RONRKWc,6417
|
16
|
+
analyser_hj3415-2.7.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|