hh-applicant-tool 0.6.6__tar.gz → 0.6.7__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.6.6/README.md → hh_applicant_tool-0.6.7/PKG-INFO +37 -1
- hh_applicant_tool-0.6.6/PKG-INFO → hh_applicant_tool-0.6.7/README.md +16 -21
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/apply_similar.py +10 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/types.py +1 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/pyproject.toml +1 -1
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/__init__.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/__main__.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/ai/__init__.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/ai/blackbox.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/api/__init__.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/api/client.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/api/errors.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/color_log.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/constants.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/jsonc.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/main.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/mixins.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/__init__.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/authorize.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/call_api.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/clear_negotiations.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/config.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/delete_telemetry.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/get_employer_contacts.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/list_resumes.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/refresh_token.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/reply_employers.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/update_resumes.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/whoami.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/telemetry_client.py +0 -0
- {hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/utils.py +0 -0
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hh-applicant-tool
|
|
3
|
+
Version: 0.6.7
|
|
4
|
+
Summary:
|
|
5
|
+
Author: Senior YAML Developer
|
|
6
|
+
Author-email: yamldeveloper@proton.me
|
|
7
|
+
Requires-Python: >=3.10,<4.0
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
14
|
+
Provides-Extra: qt
|
|
15
|
+
Requires-Dist: prettytable (>=3.6.0,<4.0.0)
|
|
16
|
+
Requires-Dist: pyqt6 (==6.7.0) ; extra == "qt"
|
|
17
|
+
Requires-Dist: pyqt6-webengine (==6.7.0) ; extra == "qt"
|
|
18
|
+
Requires-Dist: requests[socks] (>=2.32.3,<3.0.0)
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
1
21
|
## HH Applicant Tool
|
|
2
22
|
|
|
3
23
|

|
|
@@ -45,6 +65,8 @@ $$('[data-qa="vacancy-serp__vacancy_response"]').forEach((el) => el.click());
|
|
|
45
65
|
|
|
46
66
|
### Установка
|
|
47
67
|
|
|
68
|
+
Универсальный с использованием pipx (требует пакета `python-pipx` в Arch):
|
|
69
|
+
|
|
48
70
|
```bash
|
|
49
71
|
# Версия с поддержкой авторизации через запуск окна с браузером (эта версия очень много весит)
|
|
50
72
|
# Можно использовать обычный pip
|
|
@@ -57,6 +79,18 @@ $ pipx install git+https://github.com/s3rgeym/hh-applicant-tool
|
|
|
57
79
|
$ pipx upgrade hh-applicant-tool
|
|
58
80
|
```
|
|
59
81
|
|
|
82
|
+
pipx добавляет исполняемый файл `hh-appplicant-tool` в `~/.local/bin`, делая эту команду доступной. Путь до `~/.local/bin` должен быть в `$PATH` (в большинстве дистрибутивов он добавлен).
|
|
83
|
+
|
|
84
|
+
Традиционный способ для Linux/Mac:
|
|
85
|
+
|
|
86
|
+
```sh
|
|
87
|
+
mkdir -p ~/.venvs
|
|
88
|
+
python -m venv ~/.venvs/hh-applicant-tool
|
|
89
|
+
# Это придется делать постоянно, чтобы команда hh-applicant-tool стала доступна
|
|
90
|
+
. ~/.venvs/hh-applicant-tool/bin/activate
|
|
91
|
+
pip install 'hh-applicant-tool[qt]'
|
|
92
|
+
```
|
|
93
|
+
|
|
60
94
|
Отдельно я распишу процесс установки в **Windows** в подробностях:
|
|
61
95
|
|
|
62
96
|
* Для начала поставьте последнюю версию **Python 3** любым удобным способом.
|
|
@@ -69,7 +103,8 @@ $ pipx upgrade hh-applicant-tool
|
|
|
69
103
|
```ps
|
|
70
104
|
PS> python -m venv hh-applicant-venv
|
|
71
105
|
PS> .\hh-applicant-venv\Scripts\activate
|
|
72
|
-
```
|
|
106
|
+
```
|
|
107
|
+
|
|
73
108
|
* Поставьте все пакеты в виртуальное окружение `hh-applicant-venv`:
|
|
74
109
|
```ps
|
|
75
110
|
(hh-applicant-venv) PS> pip install hh-applicant-tool[qt]
|
|
@@ -311,3 +346,4 @@ https://hh.ru/employer/1918903
|
|
|
311
346
|
* [HH.RU OpenAPI](https://api.hh.ru/openapi/redoc)
|
|
312
347
|
|
|
313
348
|
Для тестирования запросов к API используйте команду `call-api` и `jq` для вывода JSON в удобочитаемом формате.
|
|
349
|
+
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: hh-applicant-tool
|
|
3
|
-
Version: 0.6.6
|
|
4
|
-
Summary:
|
|
5
|
-
Author: Senior YAML Developer
|
|
6
|
-
Author-email: yamldeveloper@proton.me
|
|
7
|
-
Requires-Python: >=3.10,<4.0
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
-
Provides-Extra: qt
|
|
14
|
-
Requires-Dist: prettytable (>=3.6.0,<4.0.0)
|
|
15
|
-
Requires-Dist: pyqt6 (==6.7.0) ; extra == "qt"
|
|
16
|
-
Requires-Dist: pyqt6-webengine (==6.7.0) ; extra == "qt"
|
|
17
|
-
Requires-Dist: requests[socks] (>=2.32.3,<3.0.0)
|
|
18
|
-
Description-Content-Type: text/markdown
|
|
19
|
-
|
|
20
1
|
## HH Applicant Tool
|
|
21
2
|
|
|
22
3
|

|
|
@@ -64,6 +45,8 @@ $$('[data-qa="vacancy-serp__vacancy_response"]').forEach((el) => el.click());
|
|
|
64
45
|
|
|
65
46
|
### Установка
|
|
66
47
|
|
|
48
|
+
Универсальный с использованием pipx (требует пакета `python-pipx` в Arch):
|
|
49
|
+
|
|
67
50
|
```bash
|
|
68
51
|
# Версия с поддержкой авторизации через запуск окна с браузером (эта версия очень много весит)
|
|
69
52
|
# Можно использовать обычный pip
|
|
@@ -76,6 +59,18 @@ $ pipx install git+https://github.com/s3rgeym/hh-applicant-tool
|
|
|
76
59
|
$ pipx upgrade hh-applicant-tool
|
|
77
60
|
```
|
|
78
61
|
|
|
62
|
+
pipx добавляет исполняемый файл `hh-appplicant-tool` в `~/.local/bin`, делая эту команду доступной. Путь до `~/.local/bin` должен быть в `$PATH` (в большинстве дистрибутивов он добавлен).
|
|
63
|
+
|
|
64
|
+
Традиционный способ для Linux/Mac:
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
mkdir -p ~/.venvs
|
|
68
|
+
python -m venv ~/.venvs/hh-applicant-tool
|
|
69
|
+
# Это придется делать постоянно, чтобы команда hh-applicant-tool стала доступна
|
|
70
|
+
. ~/.venvs/hh-applicant-tool/bin/activate
|
|
71
|
+
pip install 'hh-applicant-tool[qt]'
|
|
72
|
+
```
|
|
73
|
+
|
|
79
74
|
Отдельно я распишу процесс установки в **Windows** в подробностях:
|
|
80
75
|
|
|
81
76
|
* Для начала поставьте последнюю версию **Python 3** любым удобным способом.
|
|
@@ -88,7 +83,8 @@ $ pipx upgrade hh-applicant-tool
|
|
|
88
83
|
```ps
|
|
89
84
|
PS> python -m venv hh-applicant-venv
|
|
90
85
|
PS> .\hh-applicant-venv\Scripts\activate
|
|
91
|
-
```
|
|
86
|
+
```
|
|
87
|
+
|
|
92
88
|
* Поставьте все пакеты в виртуальное окружение `hh-applicant-venv`:
|
|
93
89
|
```ps
|
|
94
90
|
(hh-applicant-venv) PS> pip install hh-applicant-tool[qt]
|
|
@@ -330,4 +326,3 @@ https://hh.ru/employer/1918903
|
|
|
330
326
|
* [HH.RU OpenAPI](https://api.hh.ru/openapi/redoc)
|
|
331
327
|
|
|
332
328
|
Для тестирования запросов к API используйте команду `call-api` и `jq` для вывода JSON в удобочитаемом формате.
|
|
333
|
-
|
{hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/apply_similar.py
RENAMED
|
@@ -37,6 +37,7 @@ class Namespace(BaseNamespace):
|
|
|
37
37
|
search: str
|
|
38
38
|
schedule: str
|
|
39
39
|
dry_run: bool
|
|
40
|
+
experience: str
|
|
40
41
|
|
|
41
42
|
|
|
42
43
|
class Operation(BaseOperation, GetResumeIdMixin):
|
|
@@ -114,6 +115,12 @@ class Operation(BaseOperation, GetResumeIdMixin):
|
|
|
114
115
|
default=False,
|
|
115
116
|
action=argparse.BooleanOptionalAction,
|
|
116
117
|
)
|
|
118
|
+
parser.add_argument(
|
|
119
|
+
"--experience",
|
|
120
|
+
help="Уровень опыта работы в вакансии. Возможные значения: noExperience, between1And3, between3And6, moreThan6",
|
|
121
|
+
type=str,
|
|
122
|
+
default=None,
|
|
123
|
+
)
|
|
117
124
|
|
|
118
125
|
def run(
|
|
119
126
|
self, args: Namespace, api_client: ApiClient, telemetry_client: TelemetryClient
|
|
@@ -157,6 +164,7 @@ class Operation(BaseOperation, GetResumeIdMixin):
|
|
|
157
164
|
self.search = args.search
|
|
158
165
|
self.schedule = args.schedule
|
|
159
166
|
self.dry_run = args.dry_run
|
|
167
|
+
self.experience = args.experience
|
|
160
168
|
self._apply_similar()
|
|
161
169
|
|
|
162
170
|
def _get_application_messages(self, message_list: TextIO | None) -> list[str]:
|
|
@@ -370,6 +378,8 @@ class Operation(BaseOperation, GetResumeIdMixin):
|
|
|
370
378
|
params["text"] = self.search
|
|
371
379
|
if self.schedule:
|
|
372
380
|
params['schedule'] = self.schedule
|
|
381
|
+
if self.experience:
|
|
382
|
+
params['experience'] = self.experience
|
|
373
383
|
res: ApiListResponse = self.api_client.get(
|
|
374
384
|
f"/resumes/{self.resume_id}/similar_vacancies", params
|
|
375
385
|
)
|
|
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.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/__init__.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/authorize.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/call_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/delete_telemetry.py
RENAMED
|
File without changes
|
|
File without changes
|
{hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/list_resumes.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/refresh_token.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/reply_employers.py
RENAMED
|
File without changes
|
{hh_applicant_tool-0.6.6 → hh_applicant_tool-0.6.7}/hh_applicant_tool/operations/update_resumes.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|