hired.matching#
Job matching and scoring utilities.
Match candidate profiles against job postings to identify the best opportunities.
Functions
|
Quick utility function to match jobs against candidate skills. |
Classes
|
Match candidate profiles against job postings. |
|
Score for a job match. |
- class hired.matching.JobMatcher(candidate_skills=None, candidate_keywords=None, required_skills=None, min_salary=None, max_salary=None, preferred_locations=None, remote_only=False)[source]#
Bases:
objectMatch candidate profiles against job postings.
Examples
>>> matcher = JobMatcher(candidate_skills=['python', 'django', 'aws']) >>> scores = matcher.score_jobs(job_results) >>> top_jobs = matcher.get_top_matches(job_results, n=10)
- get_recommendations(jobs, top_n=5)[source]#
Get human-readable recommendations based on job matches.
- identify_skill_gaps(jobs)[source]#
Identify skills frequently requested but not possessed by candidate.
- class hired.matching.MatchScore(job, overall_score, skill_match_score, keyword_match_score, matched_skills=<factory>, missing_skills=<factory>, matched_keywords=<factory>, compensation_match=None, location_match=None)[source]#
Bases:
objectScore for a job match.
- hired.matching.quick_match(candidate_skills, jobs, top_n=10)[source]#
Quick utility function to match jobs against candidate skills.
- Parameters:
- Return type:
- Returns:
List of top MatchScore objects
Examples
>>> from hired import JobSources, SearchCriteria >>> from hired.matching import quick_match >>> >>> sources = JobSources() >>> jobs = sources.jobspy.search(SearchCriteria(query="python developer")) >>> >>> matches = quick_match( ... candidate_skills=['python', 'django', 'postgresql'], ... jobs=jobs, ... top_n=5 ... ) >>> >>> for match in matches: ... print(match.get_summary())