hh-applicant-tool 0.5.3__tar.gz → 0.5.4__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 hh-applicant-tool might be problematic. Click here for more details.
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/PKG-INFO +2 -2
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/apply_similar.py +14 -13
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/utils.py +2 -2
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/pyproject.toml +1 -1
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/README.md +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/__init__.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/__main__.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/ai/__init__.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/ai/blackbox.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/api/__init__.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/api/client.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/api/errors.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/color_log.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/constants.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/main.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/mixins.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/__init__.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/authorize.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/call_api.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/clear_negotiations.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/config.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/get_employer_contacts.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/list_resumes.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/refresh_token.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/reply_employers.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/update_resumes.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/whoami.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/telemetry_client.py +0 -0
- {hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/types.py +0 -0
{hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/apply_similar.py
RENAMED
|
@@ -43,7 +43,7 @@ class Operation(BaseOperation, GetResumeIdMixin):
|
|
|
43
43
|
"-L",
|
|
44
44
|
"--message-list",
|
|
45
45
|
help="Путь до файла, где хранятся сообщения для отклика на вакансии. Каждое сообщение — с новой строки.",
|
|
46
|
-
type=argparse.FileType(),
|
|
46
|
+
type=argparse.FileType('r', encoding='utf-8', errors='replace'),
|
|
47
47
|
)
|
|
48
48
|
parser.add_argument(
|
|
49
49
|
"-f",
|
|
@@ -106,18 +106,19 @@ class Operation(BaseOperation, GetResumeIdMixin):
|
|
|
106
106
|
def run(self, args: Namespace) -> None:
|
|
107
107
|
self.enable_telemetry = True
|
|
108
108
|
if args.disable_telemetry:
|
|
109
|
-
print(
|
|
110
|
-
|
|
111
|
-
)
|
|
112
|
-
if (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
):
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
else:
|
|
120
|
-
|
|
109
|
+
# print(
|
|
110
|
+
# "👁️ Телеметрия используется только для сбора данных о работодателях и их вакансиях, персональные данные пользователей не передаются на сервер."
|
|
111
|
+
# )
|
|
112
|
+
# if (
|
|
113
|
+
# input("Вы действительно хотите отключить телеметрию (д/Н)? ")
|
|
114
|
+
# .lower()
|
|
115
|
+
# .startswith(("д", "y"))
|
|
116
|
+
# ):
|
|
117
|
+
# self.enable_telemetry = False
|
|
118
|
+
# logger.info("Телеметрия отключена.")
|
|
119
|
+
# else:
|
|
120
|
+
# logger.info("Спасибо за то что оставили телеметрию включенной!")
|
|
121
|
+
self.enable_telemetry = False
|
|
121
122
|
|
|
122
123
|
self.api = get_api(args)
|
|
123
124
|
self.resume_id = args.resume_id or self._get_resume_id()
|
|
@@ -44,7 +44,7 @@ class Config(dict):
|
|
|
44
44
|
def load(self) -> None:
|
|
45
45
|
if self._config_path.exists():
|
|
46
46
|
with self._lock:
|
|
47
|
-
with self._config_path.open() as f:
|
|
47
|
+
with self._config_path.open("r", encoding="utf-8", errors="replace") as f:
|
|
48
48
|
try:
|
|
49
49
|
self.update(json.load(f))
|
|
50
50
|
except ValueError:
|
|
@@ -54,7 +54,7 @@ class Config(dict):
|
|
|
54
54
|
self.update(*args, **kwargs)
|
|
55
55
|
self._config_path.parent.mkdir(exist_ok=True, parents=True)
|
|
56
56
|
with self._lock:
|
|
57
|
-
with self._config_path.open("w+") as fp:
|
|
57
|
+
with self._config_path.open("w+", encoding="utf-8", errors="replace") as fp:
|
|
58
58
|
json.dump(
|
|
59
59
|
self,
|
|
60
60
|
fp,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/__init__.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/authorize.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/call_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/list_resumes.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/refresh_token.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/reply_employers.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.5.3 → hh_applicant_tool-0.5.4}/hh_applicant_tool/operations/update_resumes.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|