Files
cover_letter_autofill/cover_letter_autofill_job.py

58 lines
2.9 KiB
Python

#!/usr/bin/env python
import argparse
def main():
parser = argparse.ArgumentParser(description='Cover letter autofill')
parser.add_argument('--job_title', '-jt', required=True, help='Job title')
parser.add_argument('--company_name', '-cn', required=True, help='Company name')
parser.add_argument('--hiring_manager_name', '-hmn', required=True, help='Hiring manager name')
parser.add_argument('--job_reference', '-jr', required=False, help='Job reference')
args = parser.parse_args()
job_title = args.job_title
company_name = args.company_name
hiring_manager_name = args.hiring_manager_name
job_reference = args.job_reference
print('\n')
print('Arguments:')
print(f'Job title: {job_title}')
print(f'Company name: {company_name}')
print(f'Hiring manager name: {hiring_manager_name}')
print(f'Job reference: {job_reference}')
subject, cover_letter = make_cover_letter_for_job(
job_title = job_title,
company_name = company_name,
hiring_manager_name = hiring_manager_name,
job_reference = job_reference
)
print('\n')
print(f'Subject: {subject}')
print(f'Cover letter: {cover_letter}')
def make_cover_letter_for_job(job_title, company_name, hiring_manager_name, job_reference):
hiring_manager_name = "Hiring Manager" if hiring_manager_name == "" else hiring_manager_name
return f"Application for {job_title} Position {'' if job_reference == '' else f' - {job_reference}'}", f"""
Dear {hiring_manager_name},
Your search for a {job_title} caught my attention because I see an opportunity to bring both technical expertise and a proven track record of delivering business impact through web development. While leading development at Precision And Research Technology Systems, I designed and implemented an integrated e-commerce platform that streamlined operations across multiple marketplaces using RESTful APIs - the kind of full stack solution that drives real business value.
My experience spans the entire stack - from optimising database queries that improved performance by 90% to creating responsive front-end interfaces that increased conversion rates by 9000% at 4 Shires Builders Merchants. I bring proficiency in modern frameworks like React, Node.js, and Flask, along with extensive experience in SQL databases.
What excites me most about this role is the opportunity to combine technical excellence with business impact. Whether it's implementing fraud prevention systems that improved ROI by 30% or crafting training modules to elevate team capabilities, I focus on delivering solutions that matter.
I would welcome the opportunity to discuss how my full stack development experience could help drive {company_name}'s continued success.
Best regards,
Edward Middleton-Smith
edward.middletonsmith@gmail.com
07375571430
https://teddy.org.uk/
https://www.linkedin.com/in/teddyms/
"""
if __name__ == '__main__':
main()