hired.job_utils#

Utilities for working with job postings and matching them to resumes.

Functions

extract_job_keywords(job[, top_n])

Extract top keywords from a job posting.

get_job_skills(job)

Extract skills mentioned in job posting.

job_to_text(job)

Convert a JobResult to formatted text for resume generation.

Classes

JobAnalyzer(job)

Analyze job postings to extract key information for resume tailoring.

class hired.job_utils.JobAnalyzer(job)[source]#

Bases: object

Analyze job postings to extract key information for resume tailoring.

extract_keywords(top_n=20)[source]#

Extract most important keywords from job posting.

Parameters:

top_n (int) – Number of top keywords to return

Return type:

List[str]

Returns:

List of keywords sorted by relevance

extract_requirements()[source]#

Extract job requirements from description.

Return type:

List[str]

Returns:

List of requirement strings

extract_skills(include_soft_skills=True)[source]#

Extract mentioned skills from job posting.

Parameters:

include_soft_skills (bool) – Whether to include soft skills

Return type:

Set[str]

Returns:

Set of identified skills

get_summary()[source]#

Get a summary of the job posting.

Return type:

Dict[str, Any]

Returns:

Dictionary with job summary

to_job_info_text()[source]#

Convert job posting to a formatted text suitable for resume generation.

Return type:

str

Returns:

Formatted job description text

hired.job_utils.extract_job_keywords(job, top_n=20)[source]#

Extract top keywords from a job posting.

Parameters:
  • job (JobResult) – JobResult object

  • top_n (int) – Number of keywords to return

Return type:

List[str]

Returns:

List of top keywords

hired.job_utils.get_job_skills(job)[source]#

Extract skills mentioned in job posting.

Parameters:

job (JobResult) – JobResult object

Return type:

Set[str]

Returns:

Set of skills

hired.job_utils.job_to_text(job)[source]#

Convert a JobResult to formatted text for resume generation.

Parameters:

job (JobResult) – JobResult object

Return type:

str

Returns:

Formatted text description