malwareDetector 0.1.8__tar.gz → 0.1.9__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.
Potentially problematic release.
This version of malwareDetector might be problematic. Click here for more details.
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/PKG-INFO +1 -1
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector/config.py +3 -3
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector.egg-info/PKG-INFO +1 -1
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/setup.py +1 -1
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/LICENCE.txt +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/README.md +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector/__init__.py +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector/const.py +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector/detector.py +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector/utils.py +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector.egg-info/SOURCES.txt +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector.egg-info/dependency_links.txt +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector.egg-info/requires.txt +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector.egg-info/top_level.txt +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/setup.cfg +0 -0
- {malwareDetector-0.1.8 → malwareDetector-0.1.9}/tests/test_detector.py +0 -0
|
@@ -85,10 +85,9 @@ class FolderConfig(BaseModel, extra=Extra.allow):
|
|
|
85
85
|
vectorize: str = VECTORIZE_DIR
|
|
86
86
|
model: str = MODEL_DIR
|
|
87
87
|
predict: str = PREDICT_DIR
|
|
88
|
-
folder_list: List[str] = [dataset, feature, vectorize, model, predict]
|
|
89
88
|
|
|
90
89
|
def update_folder_list(self):
|
|
91
|
-
self.folder_list = [self
|
|
90
|
+
self.folder_list = [getattr(self, folder) for folder in self.__dict__.keys()]
|
|
92
91
|
|
|
93
92
|
def __iter__(self):
|
|
94
93
|
return FolderClassIter(self.folder_list)
|
|
@@ -271,8 +270,9 @@ def write_config_to_file(config: Config):
|
|
|
271
270
|
the execution folder with the
|
|
272
271
|
default name `config.json`.
|
|
273
272
|
'''
|
|
273
|
+
|
|
274
274
|
with open(CONFIG_FILE_NAME, "w", encoding="utf8") as file:
|
|
275
|
-
file.write(config.json())
|
|
275
|
+
file.write(config.json(exclude={"folder": {"folder_list"}}))
|
|
276
276
|
|
|
277
277
|
def detect_config_file() -> None:
|
|
278
278
|
'''
|
|
@@ -11,7 +11,7 @@ required_packages = [
|
|
|
11
11
|
setup(
|
|
12
12
|
name='malwareDetector',
|
|
13
13
|
packages=find_packages(include=['malwareDetector']),
|
|
14
|
-
version='0.1.
|
|
14
|
+
version='0.1.9',
|
|
15
15
|
description='Malware detector specification for NTUST isLab',
|
|
16
16
|
long_description=long_description,
|
|
17
17
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malwareDetector-0.1.8 → malwareDetector-0.1.9}/malwareDetector.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|