id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
2,284,300
generate.py
QiE2035_NeuralCloudEnhancer/tasks/map/resource/generate.py
import os from functools import cached_property import cv2 import numpy as np from module.base.utils import ( color_similarity_2d, crop, get_bbox, get_bbox_reversed, image_paste, image_size ) from module.config.utils import iter_folder from tasks.map.minimap.utils import map_image_preprocess, ...
7,451
Python
.py
167
34.91018
114
0.611601
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,301
const.py
QiE2035_NeuralCloudEnhancer/tasks/map/resource/const.py
import os import numpy as np from PIL import Image from module.base.utils import load_image class ResourceConst: SRCMAP = '' # Hard-coded coordinates under 1280x720 MINIMAP_CENTER = (39 + 78, 48 + 78) MINIMAP_RADIUS = 78 POSITION_RADIUS = 75 # Downscale GIMAP and minimap for faster run ...
5,174
Python
.py
139
29.827338
97
0.629548
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,302
resource.py
QiE2035_NeuralCloudEnhancer/tasks/map/resource/resource.py
import os from functools import cached_property import cv2 import numpy as np from module.base.decorator import del_cached_property from module.base.utils import area_offset, crop, image_size from module.exception import ScriptError from module.logger import logger from tasks.map.minimap.utils import create_circular_...
4,703
Python
.py
111
33.576577
97
0.620569
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,303
login.py
QiE2035_NeuralCloudEnhancer/tasks/login/login.py
from module.base.timer import Timer from module.logger import logger from tasks.base.page import page_main from tasks.base.ui import UI from tasks.login.assets.assets_login import LOGIN_START_GAME, ANNOUNCEMENT, \ CHECKIN_REWARDS, GET_CHECKIN_REWARDS, ACTIVITY_POPUP, SUPPLY_POPUP class Login(UI): def _handle_...
2,860
Python
.py
81
24.555556
80
0.562931
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,304
assets_login.py
QiE2035_NeuralCloudEnhancer/tasks/login/assets/assets_login.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` ACTIVITY_POPUP = ButtonWrapper( name='ACTIVITY_POPUP', cn=Button( file='./assets/cn/login/ACTIVITY_POPUP.png', area=(1170, 1...
2,423
Python
.py
83
23.156627
71
0.583832
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,305
character_list.py
QiE2035_NeuralCloudEnhancer/tasks/character/keywords/character_list.py
from .classes import CharacterList # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.keyword_extract ``` Arlan = CharacterList( id=1, name='Arlan', cn='阿兰', cht='阿蘭', en='Arlan', jp='アーラン', ) Asta = CharacterList( id=2, name='Asta', c...
4,662
Python
.py
267
11.539326
71
0.550219
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,306
classes.py
QiE2035_NeuralCloudEnhancer/tasks/character/keywords/classes.py
from dataclasses import dataclass from typing import ClassVar from module.ocr.keyword import Keyword @dataclass(repr=False) class CharacterList(Keyword): instances: ClassVar = {}
184
Python
.py
6
28.833333
38
0.830508
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,307
ui.py
QiE2035_NeuralCloudEnhancer/tasks/forgotten_hall/ui.py
import cv2 import numpy as np from ppocronnx.predict_system import BoxedResult from module.base.base import ModuleBase from module.base.timer import Timer from module.base.utils import area_offset, color_similarity_2d, crop, get_color from module.logger.logger import logger from module.ocr.keyword import Keyword from ...
8,004
Python
.py
173
35.156069
114
0.619713
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,308
assets_forgotten_hall.py
QiE2035_NeuralCloudEnhancer/tasks/forgotten_hall/assets/assets_forgotten_hall.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` DUNGEON_ENTER_CHECKED = ButtonWrapper( name='DUNGEON_ENTER_CHECKED', share=Button( file='./assets/share/forgotten_hall/DUNGEON_ENTER...
2,814
Python
.py
93
24.204301
78
0.595072
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,309
classes.py
QiE2035_NeuralCloudEnhancer/tasks/forgotten_hall/keywords/classes.py
from dataclasses import dataclass from typing import ClassVar from module.ocr.keyword import Keyword @dataclass(repr=False) class ForgottenHallStage(Keyword): instances: ClassVar = {}
191
Python
.py
6
29.666667
38
0.835165
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,310
stage.py
QiE2035_NeuralCloudEnhancer/tasks/forgotten_hall/keywords/stage.py
from .classes import ForgottenHallStage # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.keyword_extract ``` Stage_1 = ForgottenHallStage( id=1, name='01', cn='01', cht='01', en='01', jp='01', ) Stage_2 = ForgottenHallStage( id=2, name='...
1,822
Python
.py
123
10.869919
71
0.519151
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,311
daily_quest.py
QiE2035_NeuralCloudEnhancer/tasks/daily/daily_quest.py
import numpy as np from module.base.timer import Timer from module.logger import * from module.ocr.ocr import Ocr, OcrResultButton from module.ocr.utils import split_and_pair_buttons from tasks.daily.assets.assets_daily_reward import * from tasks.daily.camera import CameraUI from tasks.daily.keywords import ( Dail...
10,283
Python
.py
237
31.662447
109
0.593139
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,312
synthesize.py
QiE2035_NeuralCloudEnhancer/tasks/daily/synthesize.py
from module.ocr.ocr import * from module.ui.scroll import Scroll from tasks.base.assets.assets_base_page import MENU_CHECK, SYNTHESIZE_CHECK from tasks.base.assets.assets_base_popup import GET_REWARD from tasks.base.page import Page, page_menu, page_synthesize from tasks.base.ui import UI from tasks.base.assets.assets_...
10,192
Python
.py
220
33.563636
111
0.600302
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,313
camera.py
QiE2035_NeuralCloudEnhancer/tasks/daily/camera.py
from module.logger import logger from tasks.base.assets.assets_base_page import CLOSE from tasks.base.page import page_camera from tasks.base.ui import UI from tasks.daily.assets.assets_daily_camera import PICTURE_TAKEN, TAKE_PICTURE class CameraUI(UI): def take_picture(self, skip_first_screenshot=True): ...
1,862
Python
.py
50
25.38
78
0.561083
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,314
use_technique.py
QiE2035_NeuralCloudEnhancer/tasks/daily/use_technique.py
from module.base.timer import Timer from module.logger import logger from tasks.dungeon.keywords import KEYWORDS_DUNGEON_LIST from tasks.forgotten_hall.keywords import KEYWORDS_FORGOTTEN_HALL_STAGE from tasks.forgotten_hall.ui import ForgottenHallUI from tasks.map.control.joystick import MapControlJoystick class UseT...
2,299
Python
.py
54
31.925926
89
0.617356
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,315
assets_daily_camera.py
QiE2035_NeuralCloudEnhancer/tasks/daily/assets/assets_daily_camera.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` PICTURE_TAKEN = ButtonWrapper( name='PICTURE_TAKEN', cn=Button( file='./assets/cn/daily/camera/PICTURE_TAKEN.png', area=(103...
747
Python
.py
23
26.869565
71
0.621884
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,316
assets_daily_synthesize_consumable.py
QiE2035_NeuralCloudEnhancer/tasks/daily/assets/assets_daily_synthesize_consumable.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` CONSUMABLES_COMFORT_FOOD = ButtonWrapper( name='CONSUMABLES_COMFORT_FOOD', share=Button( file='./assets/share/daily/synthesize_consu...
4,464
Python
.py
133
27.466165
93
0.626935
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,317
assets_daily_synthesize_material.py
QiE2035_NeuralCloudEnhancer/tasks/daily/assets/assets_daily_synthesize_material.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` GLIMMERING_CORE = ButtonWrapper( name='GLIMMERING_CORE', share=Button( file='./assets/share/daily/synthesize_material/GLIMMERING_COR...
2,726
Python
.py
83
26.807229
86
0.622113
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,318
assets_daily_reward.py
QiE2035_NeuralCloudEnhancer/tasks/daily/assets/assets_daily_reward.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` ACTIVE_POINTS_1_CHECKED = ButtonWrapper( name='ACTIVE_POINTS_1_CHECKED', share=Button( file='./assets/share/daily/reward/ACTIVE_POIN...
6,701
Python
.py
213
25.323944
71
0.597595
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,319
daily_quest_state.py
QiE2035_NeuralCloudEnhancer/tasks/daily/keywords/daily_quest_state.py
from .classes import DailyQuestState # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.keyword_extract ``` Go = DailyQuestState( id=1, name='Go', cn='前往', cht='前往', en='Go', jp='進む', ) Claim = DailyQuestState( id=2, name='Claim', cn='...
942
Python
.py
43
15.186047
71
0.610608
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,320
daily_quest.py
QiE2035_NeuralCloudEnhancer/tasks/daily/keywords/daily_quest.py
from .classes import DailyQuest # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.keyword_extract ``` Complete_1_Daily_Mission = DailyQuest( id=1, name='Complete_1_Daily_Mission', cn='完成1个日常任务', cht='完成1個每日任務', en='Complete 1 Daily Mission', jp='...
7,206
Python
.py
203
23.453202
76
0.673568
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,321
__init__.py
QiE2035_NeuralCloudEnhancer/tasks/daily/keywords/__init__.py
import tasks.daily.keywords.daily_quest as KEYWORDS_DAILY_QUEST import tasks.daily.keywords.daily_quest_state as KEYWORDS_DAILY_QUEST_STATE from tasks.daily.keywords.classes import DailyQuest, DailyQuestState
209
Python
.py
3
68.666667
75
0.864078
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,322
classes.py
QiE2035_NeuralCloudEnhancer/tasks/daily/keywords/classes.py
from dataclasses import dataclass from typing import ClassVar from module.ocr.keyword import Keyword @dataclass(repr=False) class DailyQuest(Keyword): instances: ClassVar = {} @dataclass(repr=False) class DailyQuestState(Keyword): instances: ClassVar = {}
269
Python
.py
9
27.444444
38
0.807843
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,323
ui.py
QiE2035_NeuralCloudEnhancer/tasks/item/ui.py
from module.logger import logger from module.ui.switch import Switch from tasks.base.page import page_item from tasks.base.ui import UI from tasks.item.assets.assets_item_consumable_usage import SIMPLE_PROTECTIVE_GEAR from tasks.item.assets.assets_item_ui import * from tasks.item.keywords import KEYWORD_ITEM_TAB SWITC...
2,167
Python
.py
64
28.359375
114
0.709862
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,324
consumable_usage.py
QiE2035_NeuralCloudEnhancer/tasks/item/consumable_usage.py
from module.ocr.ocr import * from module.ui.scroll import Scroll from tasks.base.assets.assets_base_popup import CONFIRM_POPUP from tasks.base.page import page_item from tasks.daily.assets.assets_daily_synthesize_consumable import \ SIMPLE_PROTECTIVE_GEAR as SYNTHESIZE_SIMPLE_PROTECTIVE_GEAR, \ SIMPLE_PROTECTIV...
6,019
Python
.py
122
36.106557
116
0.607307
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,325
relics.py
QiE2035_NeuralCloudEnhancer/tasks/item/relics.py
from module.base.timer import Timer from module.logger import logger from tasks.base.assets.assets_base_page import CLOSE from tasks.base.assets.assets_base_popup import CONFIRM_POPUP, GET_REWARD from tasks.item.assets.assets_item_relics import * from tasks.item.keywords import KEYWORD_ITEM_TAB from tasks.item.ui impor...
3,280
Python
.py
74
31.783784
108
0.586045
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,326
assets_item_ui.py
QiE2035_NeuralCloudEnhancer/tasks/item/assets/assets_item_ui.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` CONSUMABLE_CHECK = ButtonWrapper( name='CONSUMABLE_CHECK', share=Button( file='./assets/share/item/ui/CONSUMABLE_CHECK.png', ...
4,161
Python
.py
143
22.993007
71
0.577938
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,327
assets_item_relics.py
QiE2035_NeuralCloudEnhancer/tasks/item/assets/assets_item_relics.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` FIRST_RELIC = ButtonWrapper( name='FIRST_RELIC', share=Button( file='./assets/share/item/relics/FIRST_RELIC.png', area=(434,...
1,893
Python
.py
63
24.063492
71
0.594639
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,328
assets_item_consumable_usage.py
QiE2035_NeuralCloudEnhancer/tasks/item/assets/assets_item_consumable_usage.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` ITEM_CONSUMABLE_SCROLL = ButtonWrapper( name='ITEM_CONSUMABLE_SCROLL', share=Button( file='./assets/share/item/consumable_usage/ITEM...
1,454
Python
.py
43
27.930233
85
0.628815
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,329
classes.py
QiE2035_NeuralCloudEnhancer/tasks/item/keywords/classes.py
from dataclasses import dataclass from typing import ClassVar from module.ocr.keyword import Keyword @dataclass(repr=False) class ItemTab(Keyword): instances: ClassVar = {}
180
Python
.py
6
27.833333
38
0.824561
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,330
tab.py
QiE2035_NeuralCloudEnhancer/tasks/item/keywords/tab.py
from .classes import ItemTab # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.keyword_extract ``` UpgradeMaterials = ItemTab( id=1, name='UpgradeMaterials', cn='养成材料', cht='養成素材', en='Upgrade Materials', jp='育成素材', ) LightCone = ItemTab( id=...
1,131
Python
.py
59
13.186441
71
0.581395
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,331
ui.py
QiE2035_NeuralCloudEnhancer/tasks/base/ui.py
from module.base.button import ButtonWrapper from module.base.decorator import run_once from module.base.timer import Timer from module.exception import GameNotRunningError, GamePageUnknownError from module.logger import logger from module.ocr.ocr import Ocr from tasks.base.assets.assets_base_page import CLOSE from tas...
10,802
Python
.py
296
24.152027
95
0.542491
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,332
page.py
QiE2035_NeuralCloudEnhancer/tasks/base/page.py
import traceback from tasks.base.assets.assets_base_page import * class Page: # Key: str, page name like "page_main" # Value: Page, page instance all_pages = {} @classmethod def clear_connection(cls): for page in cls.all_pages.values(): page.parent = None @classmethod ...
4,529
Python
.py
123
31.813008
84
0.710039
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,333
popup.py
QiE2035_NeuralCloudEnhancer/tasks/base/popup.py
from module.base.base import ModuleBase from tasks.base.assets.assets_base_popup import * class PopupHandler(ModuleBase): def handle_reward(self, interval=5) -> bool: """ Args: interval: Returns: If handled. """ if self.appear_then_click(GET_REWARD,...
1,217
Python
.py
37
23.459459
79
0.598459
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,334
assets_base_popup.py
QiE2035_NeuralCloudEnhancer/tasks/base/assets/assets_base_popup.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` BATTLE_PASS_NOTIFICATION = ButtonWrapper( name='BATTLE_PASS_NOTIFICATION', share=Button( file='./assets/share/base/popup/BATTLE_PASS...
1,928
Python
.py
63
24.619048
71
0.595813
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,335
assets_base_page.py
QiE2035_NeuralCloudEnhancer/tasks/base/assets/assets_base_page.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` ASSIGNMENT_CHECK = ButtonWrapper( name='ASSIGNMENT_CHECK', share=Button( file='./assets/share/base/page/ASSIGNMENT_CHECK.png', ...
10,801
Python
.py
383
22.033943
71
0.564186
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,336
ui.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/ui.py
import numpy as np from module.base.base import ModuleBase from module.base.button import ClickButton from module.base.timer import Timer from module.base.utils import get_color from module.logger import logger from module.ocr.ocr import DigitCounter, Ocr, OcrResultButton from module.ocr.utils import split_and_pair_bu...
14,901
Python
.py
355
31.143662
104
0.612479
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,337
dungeon.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/dungeon.py
from module.base.utils import area_offset from module.logger import logger from tasks.combat.combat import Combat from tasks.daily.keywords import KEYWORDS_DAILY_QUEST from tasks.dungeon.event import DungeonEvent from tasks.dungeon.keywords import DungeonList, KEYWORDS_DUNGEON_LIST, KEYWORDS_DUNGEON_TAB from tasks.dung...
12,913
Python
.py
259
37.420849
119
0.618512
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,338
event.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/event.py
from module.logger import logger from module.ocr.ocr import DigitCounter from tasks.base.ui import UI from tasks.dungeon.assets.assets_dungeon_event import ( DOUBLE_CALYX_EVENT_TAG, DOUBLE_RELIC_EVENT_TAG, OCR_DOUBLE_EVENT_REMAIN ) class DungeonEvent(UI): def has_double_calyx_event(self) -> bool: ...
1,583
Python
.py
39
32.820513
109
0.633766
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,339
assets_dungeon_ui.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/assets/assets_dungeon_ui.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` DAILY_TRAINING_CHECK = ButtonWrapper( name='DAILY_TRAINING_CHECK', share=Button( file='./assets/share/dungeon/ui/DAILY_TRAINING_CHEC...
3,495
Python
.py
113
24.849558
71
0.597929
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,340
assets_dungeon_event.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/assets/assets_dungeon_event.py
from module.base.button import Button, ButtonWrapper # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.button_extract ``` DOUBLE_CALYX_EVENT_TAG = ButtonWrapper( name='DOUBLE_CALYX_EVENT_TAG', share=Button( file='./assets/share/dungeon/event/DOUBLE_CALYX...
1,120
Python
.py
33
28.151515
72
0.623963
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,341
dungeon.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/keywords/dungeon.py
from .classes import DungeonList # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.keyword_extract ``` Calyx_Golden_Memories = DungeonList( id=1, name='Calyx_Golden_Memories', cn='回忆之蕾•拟造花萼(金)', cht='回憶之蕾•擬造花萼(金)', en='Bud of Memories', jp='疑似花萼(...
12,965
Python
.py
419
19.675418
71
0.647177
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,342
dungeon_entrance.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/keywords/dungeon_entrance.py
from .classes import DungeonEntrance # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.keyword_extract ``` Teleport = DungeonEntrance( id=1, name='Teleport', cn='传送', cht='傳送', en='Teleport', jp='テレポート', ) Navigate = DungeonEntrance( id=2, ...
430
Python
.py
19
17.421053
71
0.635884
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,343
__init__.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/keywords/__init__.py
import tasks.dungeon.keywords.dungeon as KEYWORDS_DUNGEON_LIST import tasks.dungeon.keywords.dungeon_entrance as KEYWORDS_DUNGEON_ENTRANCE import tasks.dungeon.keywords.nav as KEYWORDS_DUNGEON_NAV import tasks.dungeon.keywords.tab as KEYWORDS_DUNGEON_TAB from tasks.dungeon.keywords.classes import DungeonList, DungeonNa...
334
Python
.py
5
65.8
78
0.869301
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,344
classes.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/keywords/classes.py
from dataclasses import dataclass from functools import cached_property from typing import ClassVar from module.exception import ScriptError from module.ocr.keyword import Keyword @dataclass(repr=False) class DungeonNav(Keyword): instances: ClassVar = {} @dataclass(repr=False) class DungeonTab(Keyword): in...
2,591
Python
.py
68
31.544118
118
0.705318
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,345
nav.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/keywords/nav.py
from .classes import DungeonNav # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.keyword_extract ``` Simulated_Universe = DungeonNav( id=1, name='Simulated_Universe', cn='模拟宇宙', cht='模擬宇宙', en='Simulated Universe', jp='模擬宇宙', ) Calyx_Golden = Du...
1,369
Python
.py
59
15.79661
71
0.603636
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,346
tab.py
QiE2035_NeuralCloudEnhancer/tasks/dungeon/keywords/tab.py
from .classes import DungeonTab # This file was auto-generated, do not modify it manually. To generate: # ``` python -m dev_tools.keyword_extract ``` Operation_Briefing = DungeonTab( id=1, name='Operation_Briefing', cn='行动摘要', cht='行動摘要', en='Operation Briefing', jp='行動要旨', ) Survival_Index = ...
662
Python
.py
27
17.888889
71
0.643243
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,347
alas.py
QiE2035_NeuralCloudEnhancer/module/alas.py
import os import re import threading import time from datetime import datetime, timedelta import inflection from cached_property import cached_property from module.base.decorator import del_cached_property from module.config.config import AzurLaneConfig, TaskEnd from module.config.utils import deep_get, deep_set from...
12,298
Python
.py
288
29.027778
113
0.547063
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,348
exception.py
QiE2035_NeuralCloudEnhancer/module/exception.py
class ScriptError(Exception): # This is likely to be a mistake of developers, but sometimes a random issue pass class GameStuckError(Exception): pass class GameBugError(Exception): # An error has occurred in Azur Lane game client. Alas is unable to handle. # A restart should fix it. pass c...
678
Python
.py
21
28.142857
80
0.777605
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,349
server_checker.py
QiE2035_NeuralCloudEnhancer/module/server_checker.py
class ServerChecker: # Create a fake server check since server check is not supported yet. def __init__(self, server): pass def check_now(self): pass def is_available(self): return True def wait_until_available(self): pass def is_recovered(self): retur...
328
Python
.py
12
20.666667
73
0.637821
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,350
notify.py
QiE2035_NeuralCloudEnhancer/module/notify.py
from module.logger import logger def handle_notify(*args, **kwargs): logger.error('Error notify is not supported yet')
124
Python
.py
3
38.666667
53
0.766667
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,351
benchmark.py
QiE2035_NeuralCloudEnhancer/module/daemon/benchmark.py
import time import typing as t import numpy as np from rich.table import Table from rich.text import Text from module.base.utils import float2str as float2str_ from module.base.utils import random_rectangle_point from module.daemon.daemon_base import DaemonBase from module.exception import RequestHumanTakeover from m...
8,468
Python
.py
200
32.31
117
0.572175
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,352
daemon_base.py
QiE2035_NeuralCloudEnhancer/module/daemon/daemon_base.py
from module.base.base import ModuleBase class DaemonBase(ModuleBase): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.device.disable_stuck_detection()
201
Python
.py
5
34.8
45
0.670103
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,353
config_updater.py
QiE2035_NeuralCloudEnhancer/module/config/config_updater.py
from copy import deepcopy from cached_property import cached_property from deploy.Windows.utils import DEPLOY_TEMPLATE, poor_yaml_read, poor_yaml_write from module.base.timer import timer from module.config.convert import * from module.config.server import VALID_CHANNEL_PACKAGE, VALID_PACKAGE, to_package from module....
28,262
Python
.py
652
32.23773
119
0.550668
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,354
config.py
QiE2035_NeuralCloudEnhancer/module/config/config.py
import copy import datetime import operator import threading from module.base.decorator import cached_property, del_cached_property from module.base.filter import Filter from module.base.utils import SelectedGrids from module.config.config_generated import GeneratedConfig from module.config.config_manual import Manual...
18,276
Python
.py
497
26.287726
101
0.566989
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,355
config_manual.py
QiE2035_NeuralCloudEnhancer/module/config/config_manual.py
import module.config.server as server class ManualConfig: @property def SERVER(self): return server.server SCHEDULER_PRIORITY = """ Restart """ # > BattlePass > DailyQuest > Dungeon > Assignment # """ """ module.assets """ ASSETS_FOLDER = './assets' ASSETS_MODULE ...
1,518
Python
.py
42
30.952381
81
0.681694
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,356
convert.py
QiE2035_NeuralCloudEnhancer/module/config/convert.py
def convert_daily(value): if value == "Calyx_Crimson_Hunt": value = "Calyx_Crimson_The_Hunt" return value
121
Python
.py
4
25.5
40
0.661017
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,357
utils.py
QiE2035_NeuralCloudEnhancer/module/config/utils.py
import json import os import random import string from datetime import datetime, timedelta, timezone import yaml from filelock import FileLock import module.config.server as server_ from module.config.atomicwrites import atomic_write LANGUAGES = ['zh-CN'] # , 'en-US', 'ja-JP', 'zh-TW'] SERVER_TO_LANG = { 'cn': ...
17,376
Python
.py
518
26.312741
113
0.582128
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,358
watcher.py
QiE2035_NeuralCloudEnhancer/module/config/watcher.py
import os from datetime import datetime from module.config.utils import filepath_config, DEFAULT_TIME from module.logger import logger class ConfigWatcher: config_name = 'alas' start_mtime = DEFAULT_TIME def start_watching(self) -> None: self.start_mtime = self.get_mtime() def get_mtime(sel...
929
Python
.py
27
26.814815
78
0.637277
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,359
atomicwrites.py
QiE2035_NeuralCloudEnhancer/module/config/atomicwrites.py
""" Copy-pasted from https://github.com/untitaker/python-atomicwrites """ import contextlib import io import os import sys import tempfile try: import fcntl except ImportError: fcntl = None # `fspath` was added in Python 3.6 try: from os import fspath except ImportError: fspath = None __version__ = '...
7,047
Python
.py
186
29.586022
111
0.61709
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,360
server.py
QiE2035_NeuralCloudEnhancer/module/config/server.py
""" This file stores server, such as 'cn', 'en'. Use 'import module.config.server as server' to import, don't use 'from xxx import xxx'. """ server = 'cn' # Setting default to cn, will avoid errors when using dev_tools VALID_SERVER = ['cn', ] VALID_PACKAGE = { 'com.sunborn.neuralcloud.cn': 'cn', # 'com.HoYove...
1,678
Python
.py
48
30.0625
87
0.687461
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,361
config_generated.py
QiE2035_NeuralCloudEnhancer/module/config/config_generated.py
import datetime # This file was automatically generated by module/config/config_updater.py. # Don't modify it manually. class GeneratedConfig: """ Auto generated configuration """ # Group `Scheduler` Scheduler_Enable = False # True, False Scheduler_NextRun = datetime.datetime(2020, 1, 1, 0,...
1,460
Python
.py
31
42.354839
214
0.736101
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,362
stored_generated.py
QiE2035_NeuralCloudEnhancer/module/config/stored/stored_generated.py
# This file was auto-generated, do not modify it manually. To generate: # ``` python -m module/config/config_updater.py ``` class StoredGenerated: pass
157
Python
.py
4
37
71
0.743421
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,363
classes.py
QiE2035_NeuralCloudEnhancer/module/config/stored/classes.py
from datetime import datetime from functools import cached_property as functools_cached_property from module.base.decorator import cached_property from module.config.utils import DEFAULT_TIME, deep_get, get_server_last_update from module.exception import ScriptError def now(): return datetime.now().replace(micro...
8,221
Python
.py
248
23.125
111
0.557267
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,364
config.py
QiE2035_NeuralCloudEnhancer/module/webui/config.py
from filelock import FileLock from deploy.Windows.config import DeployConfig as _DeployConfig from deploy.Windows.utils import * def poor_yaml_read_with_lock(file): if not os.path.exists(file): return {} with FileLock(f"{file}.lock"): return poor_yaml_read(file) def poor_yaml_write_with_lo...
1,511
Python
.py
40
29.95
73
0.623457
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,365
setting.py
QiE2035_NeuralCloudEnhancer/module/webui/setting.py
import multiprocessing import threading from multiprocessing.managers import SyncManager from typing import TYPE_CHECKING, Callable, Generic, TypeVar if TYPE_CHECKING: from module.config.config_updater import ConfigUpdater from module.webui.config import DeployConfig T = TypeVar("T") class cached_class_prop...
2,470
Python
.py
72
27.375
71
0.644632
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,366
translate.py
QiE2035_NeuralCloudEnhancer/module/webui/translate.py
# This module is a ton of shit # you'd better close right now from pywebio.input import (actions, checkbox, input, input_group, input_update, select) from pywebio.output import put_buttons, put_markdown from pywebio.session import defer_call, hold, run_js, set_env import module.webui.lang as...
8,019
Python
.py
206
27.150485
101
0.485362
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,367
remote_access.py
QiE2035_NeuralCloudEnhancer/module/webui/remote_access.py
""" Copy from pywebio.platform.remote_access * Implementation of remote access Use https://github.com/wang0618/localshare service by running a ssh subprocess in PyWebIO application. The stdout of ssh process is the connection info. """ import json import shlex import threading import time from subprocess import PI...
7,337
Python
.py
193
30.481865
139
0.64936
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,368
app.py
QiE2035_NeuralCloudEnhancer/module/webui/app.py
import argparse import queue import threading import time from datetime import datetime from functools import partial from typing import Dict, List, Optional from pywebio import config as webconfig from pywebio.output import ( Output, clear, close_popup, popup, put_button, put_buttons, put_...
46,489
Python
.py
1,205
24.943568
115
0.487367
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,369
utils.py
QiE2035_NeuralCloudEnhancer/module/webui/utils.py
import datetime import operator import re import sys import threading import time import traceback from queue import Queue from typing import Callable, Generator, List import pywebio from module.config.utils import deep_iter from module.logger import logger from module.webui.setting import State from pywebio.input imp...
15,314
Python
.py
468
23.288462
96
0.535373
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,370
__init__.py
QiE2035_NeuralCloudEnhancer/module/webui/__init__.py
# This must be the first to import from module.logger import logger # Change folder import deploy.Windows.logger deploy.Windows.logger.logger = logger
153
Python
.py
4
37
49
0.824324
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,371
fastapi.py
QiE2035_NeuralCloudEnhancer/module/webui/fastapi.py
""" Copy from pywebio.platform.fastapi """ import asyncio import os import uvicorn from pywebio.platform.fastapi import (STATIC_PATH, Session, cdn_validation, get_free_port, open_webbrowser_on_server_started, ...
2,604
Python
.py
87
22.436782
82
0.633786
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,372
base.py
QiE2035_NeuralCloudEnhancer/module/webui/base.py
from typing import Any, Dict from pywebio.output import clear, put_html, put_scope, put_text, use_scope from pywebio.session import defer_call, info, run_js from module.webui.utils import Icon, WebIOTaskHandler, set_localstorage class Base: def __init__(self) -> None: self.alive = True # Whether...
4,895
Python
.py
149
23.127517
95
0.528777
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,373
updater.py
QiE2035_NeuralCloudEnhancer/module/webui/updater.py
import datetime import subprocess import threading import time from typing import Generator, List, Tuple import requests from deploy.Windows.config import ExecutionError from deploy.Windows.git import GitManager from deploy.Windows.pip import PipManager from deploy.Windows.utils import DEPLOY_CONFIG from module.base.r...
9,050
Python
.py
255
24.807843
99
0.543294
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,374
lang.py
QiE2035_NeuralCloudEnhancer/module/webui/lang.py
import time from typing import Dict from module.config.utils import * from module.webui.fake import list_mod from module.webui.setting import State LANG = "zh-CN" TRANSLATE_MODE = False def set_language(s: str, refresh=False): global LANG for i, lang in enumerate(LANGUAGES): # pywebio.session.info.u...
2,578
Python
.py
79
26.101266
90
0.59887
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,375
widgets.py
QiE2035_NeuralCloudEnhancer/module/webui/widgets.py
import copy import json import random import string from typing import TYPE_CHECKING, Any, Callable, Dict, Generator, List, Optional, Union from pywebio.exceptions import SessionException from pywebio.io_ctrl import Output from pywebio.output import * from pywebio.session import eval_js, local, run_js from rich.consol...
15,604
Python
.py
452
25.610619
112
0.545117
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,376
fake.py
QiE2035_NeuralCloudEnhancer/module/webui/fake.py
from module.config.config import AzurLaneConfig """ Return default values, since submodules shouldn't have nested submodules """ def start_ocr_server_process(*args, **kwargs): pass def stop_ocr_server_process(*args, **kwargs): pass def load_config(config_name): return AzurLaneConfig(config_name, '') ...
565
Python
.py
24
19.666667
72
0.692748
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,377
process_manager.py
QiE2035_NeuralCloudEnhancer/module/webui/process_manager.py
import argparse import os import queue import threading from multiprocessing import Process from typing import Dict, List, Union from filelock import FileLock from module.config.utils import filepath_config from module.logger import logger, set_file_logger, set_func_logger from module.webui.fake import get_config_mod,...
6,910
Python
.py
179
27.519553
88
0.578735
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,378
pin.py
QiE2035_NeuralCloudEnhancer/module/webui/pin.py
""" Copy from pywebio.pin Add **other_html_attrs to put_xxx() """ from pywebio.io_ctrl import Output from pywebio.output import OutputPosition from pywebio.pin import _pin_output, check_dom_name_value def put_input(name, type='text', *, label='', value=None, placeholder=None, readonly=None, datalist=None, ...
2,696
Python
.py
40
59.725
126
0.693353
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,379
sensitive_info.py
QiE2035_NeuralCloudEnhancer/module/handler/sensitive_info.py
def handle_sensitive_image(image): """ Args: image: Returns: np.ndarray: """ # Paint UID to black image[680:720, 0:180, :] = 0 return image def handle_sensitive_logs(logs): return logs
236
Python
.py
12
14.416667
34
0.59276
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,380
switch.py
QiE2035_NeuralCloudEnhancer/module/ui/switch.py
from module.base.base import ModuleBase from module.base.button import Button from module.base.timer import Timer from module.exception import ScriptError from module.logger import logger class Switch: """ A wrapper to handle switches in game, switch among states with retries. Examples: # Definit...
4,758
Python
.py
139
22.877698
116
0.525594
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,381
scroll.py
QiE2035_NeuralCloudEnhancer/module/ui/scroll.py
import numpy as np from module.base.base import ModuleBase from module.base.button import Button, ButtonWrapper from module.base.timer import Timer from module.base.utils import color_similarity_2d, random_rectangle_point from module.logger import logger class Scroll: color_threshold = 221 drag_threshold = 0...
7,096
Python
.py
167
32.035928
112
0.582778
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,382
draggable_list.py
QiE2035_NeuralCloudEnhancer/module/ui/draggable_list.py
from typing import Optional import numpy as np from module.base.base import ModuleBase from module.base.button import ButtonWrapper from module.base.timer import Timer from module.base.utils import area_size, random_rectangle_vector_opted from module.logger import logger from module.ocr.keyword import Keyword from mo...
8,053
Python
.py
215
26.748837
107
0.565112
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,383
app_control.py
QiE2035_NeuralCloudEnhancer/module/device/app_control.py
from lxml import etree from module.device.method.adb import Adb from module.device.method.uiautomator_2 import Uiautomator2 from module.device.method.utils import HierarchyButton from module.device.method.wsa import WSA from module.logger import logger class AppControl(Adb, WSA, Uiautomator2): hierarchy: etree._...
2,351
Python
.py
59
31.084746
107
0.636722
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,384
connection_attr.py
QiE2035_NeuralCloudEnhancer/module/device/connection_attr.py
import os import re import adbutils import uiautomator2 as u2 from adbutils import AdbClient, AdbDevice from module.base.decorator import cached_property from module.config.config import AzurLaneConfig from module.config.utils import deep_iter from module.exception import RequestHumanTakeover from module.logger impor...
10,601
Python
.py
245
32.889796
133
0.602198
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,385
device.py
QiE2035_NeuralCloudEnhancer/module/device/device.py
import sys from collections import deque from module.base.timer import Timer from module.device.app_control import AppControl from module.device.control import Control from module.device.screenshot import Screenshot from module.exception import ( EmulatorNotRunningError, GameNotRunningError, GameStuckError...
6,052
Python
.py
158
28.531646
106
0.606412
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,386
screenshot.py
QiE2035_NeuralCloudEnhancer/module/device/screenshot.py
import os import time from collections import deque from datetime import datetime import cv2 import numpy as np from PIL import Image from module.base.decorator import cached_property from module.base.timer import Timer from module.base.utils import get_color, image_size, limit_in, save_image from module.device.metho...
10,047
Python
.py
225
33.031111
120
0.598652
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,387
control.py
QiE2035_NeuralCloudEnhancer/module/device/control.py
from module.base.button import ClickButton from module.base.decorator import cached_property from module.base.timer import Timer from module.base.utils import * from module.device.method.hermit import Hermit from module.device.method.maatouch import MaaTouch from module.device.method.minitouch import Minitouch from mod...
7,033
Python
.py
155
34.748387
119
0.587352
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,388
connection.py
QiE2035_NeuralCloudEnhancer/module/device/connection.py
import ipaddress import logging import re import socket import subprocess import time from functools import wraps import uiautomator2 as u2 from adbutils import AdbClient, AdbDevice, AdbTimeout, ForwardItem, ReverseItem from adbutils.errors import AdbError import platform from module.base.decorator import Config, cac...
32,325
Python
.py
780
29.783333
143
0.569746
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,389
droidcast.py
QiE2035_NeuralCloudEnhancer/module/device/method/droidcast.py
import typing as t from functools import wraps import cv2 import numpy as np import requests from adbutils.errors import AdbError from module.base.decorator import Config, cached_property, del_cached_property from module.base.timer import Timer from module.device.method.uiautomator_2 import Uiautomator2, ProcessInfo ...
10,347
Python
.py
246
31.138211
143
0.595565
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,390
hermit.py
QiE2035_NeuralCloudEnhancer/module/device/method/hermit.py
import json from functools import wraps import requests from adbutils.errors import AdbError from module.base.decorator import cached_property from module.base.timer import Timer from module.base.utils import point2str, random_rectangle_point from module.device.method.adb import Adb from module.device.method.utils im...
8,644
Python
.py
205
29.682927
117
0.560619
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,391
ascreencap.py
QiE2035_NeuralCloudEnhancer/module/device/method/ascreencap.py
import os from functools import wraps import lz4.block from adbutils.errors import AdbError from module.base.utils import * from module.device.connection import Connection from module.device.method.utils import (RETRY_TRIES, retry_sleep, handle_adb_error, ImageTruncated) from m...
7,476
Python
.py
170
32.476471
114
0.595598
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,392
utils.py
QiE2035_NeuralCloudEnhancer/module/device/method/utils.py
import random import re import socket import time import typing as t import uiautomator2 as u2 from adbutils import AdbTimeout from lxml import etree try: # adbutils 0.x from adbutils import _AdbStreamConnection as AdbConnection except ImportError: # adbutils >= 1.0 from adbutils import AdbConnection ...
9,639
Python
.py
298
24.748322
125
0.609764
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,393
minitouch.py
QiE2035_NeuralCloudEnhancer/module/device/method/minitouch.py
import asyncio import json import re import socket import time from functools import wraps from typing import List import websockets from adbutils.errors import AdbError from uiautomator2 import _Service from module.base.decorator import Config, cached_property, del_cached_property from module.base.timer import Timer...
18,620
Python
.py
485
28.268041
116
0.563491
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,394
maatouch.py
QiE2035_NeuralCloudEnhancer/module/device/method/maatouch.py
import socket from functools import wraps from adbutils.errors import AdbError from module.base.decorator import cached_property, del_cached_property from module.base.timer import Timer from module.base.utils import * from module.device.connection import Connection from module.device.method.minitouch import CommandBu...
7,933
Python
.py
206
27.427184
98
0.568176
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,395
uiautomator_2.py
QiE2035_NeuralCloudEnhancer/module/device/method/uiautomator_2.py
import typing as t from dataclasses import dataclass from functools import wraps from json.decoder import JSONDecodeError from subprocess import list2cmdline import uiautomator2 as u2 from adbutils.errors import AdbError from lxml import etree from module.base.utils import * from module.device.connection import Conne...
10,612
Python
.py
282
26.48227
119
0.553806
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,396
adb.py
QiE2035_NeuralCloudEnhancer/module/device/method/adb.py
import re from functools import wraps import cv2 import numpy as np import time from adbutils.errors import AdbError from lxml import etree from module.base.decorator import Config from module.device.connection import Connection from module.device.method.utils import (RETRY_TRIES, retry_sleep, remove_prefix, handle_a...
10,556
Python
.py
270
28.433333
136
0.569307
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,397
wsa.py
QiE2035_NeuralCloudEnhancer/module/device/method/wsa.py
import re from functools import wraps from adbutils.errors import AdbError from module.device.connection import Connection from module.device.method.utils import (RETRY_TRIES, retry_sleep, handle_adb_error, PackageNotInstalled) from module.exception import RequestHumanTakeover ...
5,164
Python
.py
130
28.207692
164
0.556132
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,398
const.py
QiE2035_NeuralCloudEnhancer/module/device/method/scrcpy/const.py
""" This module includes all consts used in this project """ # Action ACTION_DOWN = 0 ACTION_UP = 1 ACTION_MOVE = 2 # KeyCode KEYCODE_UNKNOWN = 0 KEYCODE_SOFT_LEFT = 1 KEYCODE_SOFT_RIGHT = 2 KEYCODE_HOME = 3 KEYCODE_BACK = 4 KEYCODE_CALL = 5 KEYCODE_ENDCALL = 6 KEYCODE_0 = 7 KEYCODE_1 = 8 KEYCODE_2 = 9 KEYCODE_3 = 10...
7,478
Python
.py
320
22.35
52
0.783977
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)
2,284,399
options.py
QiE2035_NeuralCloudEnhancer/module/device/method/scrcpy/options.py
import typing as t import module.device.method.scrcpy.const as const class ScrcpyOptions: frame_rate = 10 @classmethod def codec_options(cls) -> str: """ Custom codec options passing through scrcpy. https://developer.android.com/reference/android/media/MediaFormat Return...
4,836
Python
.py
121
28.793388
112
0.556335
QiE2035/NeuralCloudEnhancer
8
0
0
GPL-3.0
9/5/2024, 10:47:35 PM (Europe/Amsterdam)