51 lines
2.0 KiB
Python
51 lines
2.0 KiB
Python
#!/usr/bin/env python
|
|
import argparse
|
|
|
|
from cover_letter_autofill_shared import export_cover_letter_to_text_file, export_cover_letter_to_pdf
|
|
|
|
def main():
|
|
parser = argparse.ArgumentParser(description='Cover letter autofill')
|
|
parser.add_argument('--hiring_manager_name', '-hmn', required=False, help='Hiring manager name', default='Recruitment Team')
|
|
|
|
args = parser.parse_args()
|
|
|
|
hiring_manager_name = args.hiring_manager_name
|
|
|
|
print('\n')
|
|
print('Arguments:')
|
|
print(f'Hiring manager name: {hiring_manager_name}')
|
|
|
|
subject, cover_letter = make_cover_letter_for_recruitment_agency(
|
|
hiring_manager_name = hiring_manager_name
|
|
)
|
|
|
|
print('\n')
|
|
print(f'Subject: {subject}')
|
|
print(f'Cover letter: {cover_letter}')
|
|
|
|
export_cover_letter_to_text_file(cover_letter)
|
|
export_cover_letter_to_pdf(cover_letter)
|
|
|
|
def make_cover_letter_for_recruitment_agency(hiring_manager_name):
|
|
return "Experienced Web Developer - ERP Systems Specialist Seeking Opportunities", f"""
|
|
Dear {hiring_manager_name},
|
|
|
|
I'm writing to explore software engineering and data analysis opportunities. At my core, I'm a full-stack developer who enjoys solving complex technical challenges, particularly around system optimisation and data-driven automation.
|
|
|
|
My background spans both technical development and practical business experience. I specialise in building integrated platforms, optimising database performance, and creating automated systems that deliver measurable business results.
|
|
|
|
I'm particularly interested in roles that require strong problem-solving skills and end-to-end development capabilities. I have extensive experience with modern frameworks, SQL databases, and private dedicated hosting.
|
|
|
|
I'd welcome a discussion about how my technical expertise could benefit your clients. My CV is attached for you review.
|
|
|
|
Best regards,
|
|
Edward Middleton-Smith
|
|
edward.middletonsmith@gmail.com
|
|
07375571430
|
|
https://teddy.org.uk/
|
|
https://www.linkedin.com/in/teddyms/
|
|
https://github.com/Teddy-1024/
|
|
"""
|
|
|
|
if __name__ == '__main__':
|
|
main() |