JobSelect 0.10.3__tar.gz → 0.10.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.
- {jobselect-0.10.3 → jobselect-0.10.4}/JobSelect.egg-info/PKG-INFO +1 -1
- {jobselect-0.10.3 → jobselect-0.10.4}/JobSelect.egg-info/SOURCES.txt +2 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/PKG-INFO +1 -1
- jobselect-0.10.4/cli/jobselect.py +41 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/cli/utils.py +8 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/pyproject.toml +1 -1
- {jobselect-0.10.3 → jobselect-0.10.4}/JobSelect.egg-info/dependency_links.txt +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/JobSelect.egg-info/entry_points.txt +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/JobSelect.egg-info/requires.txt +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/JobSelect.egg-info/top_level.txt +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/LICENSE +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/README.md +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/cli/model_select.py +0 -0
- /jobselect-0.10.3/cli/jobselect.py → /jobselect-0.10.4/cli/test_cli.py +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/Model.py +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/__init__.py +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/eval.py +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/pred.py +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/prep/__init__.py +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/prep/data_prep.py +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/prep/label_vocab.json +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/prep/prepared_data.npz +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/prep/sym_map.py +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/prep/test.py +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model/prep/vectorizer.pkl +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model_out/skill_classifier.pt +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/model_out/training_history.json +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/setup.cfg +0 -0
- {jobselect-0.10.3 → jobselect-0.10.4}/test/test_model.py +0 -0
|
@@ -3,6 +3,7 @@ README.md
|
|
|
3
3
|
pyproject.toml
|
|
4
4
|
./cli/jobselect.py
|
|
5
5
|
./cli/model_select.py
|
|
6
|
+
./cli/test_cli.py
|
|
6
7
|
./cli/utils.py
|
|
7
8
|
./model/Model.py
|
|
8
9
|
./model/__init__.py
|
|
@@ -25,6 +26,7 @@ JobSelect.egg-info/requires.txt
|
|
|
25
26
|
JobSelect.egg-info/top_level.txt
|
|
26
27
|
cli/jobselect.py
|
|
27
28
|
cli/model_select.py
|
|
29
|
+
cli/test_cli.py
|
|
28
30
|
cli/utils.py
|
|
29
31
|
model/Model.py
|
|
30
32
|
model/__init__.py
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
from cli.utils import *
|
|
2
|
+
from rich import print
|
|
3
|
+
from cli.model_select import *
|
|
4
|
+
|
|
5
|
+
def cli() -> None:
|
|
6
|
+
clear_console()
|
|
7
|
+
title()
|
|
8
|
+
|
|
9
|
+
print("[yellow][JobAuto] ")
|
|
10
|
+
print("[yellow]>> Welcome to JobAuto!")
|
|
11
|
+
|
|
12
|
+
query("Enter Job Description")
|
|
13
|
+
jd = input(" >> ")
|
|
14
|
+
|
|
15
|
+
query("Enter Role (AI Engineer / AI Developer)")
|
|
16
|
+
role = input(" >> ")
|
|
17
|
+
|
|
18
|
+
query("Enter Type (Internship / Junior / Senior)")
|
|
19
|
+
job_type = input(" >> ")
|
|
20
|
+
|
|
21
|
+
results, mode = predict(jd, role=role, job_type=job_type)
|
|
22
|
+
|
|
23
|
+
clear_console()
|
|
24
|
+
title()
|
|
25
|
+
|
|
26
|
+
mode_colour = "green" if mode == "API" else "cyan"
|
|
27
|
+
print(f"\n [{mode_colour}][Mode: {mode}][/{mode_colour}]")
|
|
28
|
+
|
|
29
|
+
print("\n [yellow]Job Description Provided : \n", jd.strip())
|
|
30
|
+
print("\n [yellow]Job Role : \n", role)
|
|
31
|
+
print("\n [yellow]Type : \n", job_type)
|
|
32
|
+
print()
|
|
33
|
+
|
|
34
|
+
print("\n [yellow]TOP Skills \n")
|
|
35
|
+
for label, prob in results:
|
|
36
|
+
bar = "█" * int(prob * 30)
|
|
37
|
+
print(f" {label:25s} {prob:.2f} {bar}\n")
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
if __name__ == "__main__":
|
|
41
|
+
cli()
|
|
@@ -10,6 +10,14 @@ def clear_console() -> None:
|
|
|
10
10
|
subprocess.run(["clear"])
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
def API_title() -> None:
|
|
14
|
+
f = Figlet(font="slant")
|
|
15
|
+
print("——————————————————————————————————————————————————————————————————————")
|
|
16
|
+
print(f.renderText("JobSelect CLI"))
|
|
17
|
+
print(" Copyright Akshay Babu, All rights reserved")
|
|
18
|
+
print("——————————————————————————————————————————————————————————————————————")
|
|
19
|
+
|
|
20
|
+
|
|
13
21
|
def title() -> None:
|
|
14
22
|
f = Figlet(font="slant")
|
|
15
23
|
print("——————————————————————————————————————————————————————————————————————")
|
|
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
|
|
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
|