initial commit

This commit is contained in:
2023-10-12 23:51:14 +03:00
commit 56792b892d
16 changed files with 254 additions and 0 deletions

11
scanner/search.py Normal file
View File

@@ -0,0 +1,11 @@
from scanner.enums import CodeType
from scanner.utils import guess_code_type
class ScannerSearch:
def __init__(self, string_value: str):
self.string_value = string_value
self._code_type = guess_code_type(self.string_value)
def get_code_type(self) -> CodeType:
return self._code_type