Skip to content

tejeshwar20/code_p2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation


HTML Resume Generator in Python

This project is a simple interactive resume generator written in Python. It collects user information through console input and automatically generates a formatted HTML resume file (resume.html) using the Jinja2 templating engine.


1. Features

  • Interactive input prompts for:

    • Personal details
    • Education
    • Experience (optional)
    • Skills
    • Projects (optional)
    • Achievements
  • Input validation for:

    • 10-digit phone number
    • Gmail address format
  • Automatically generates:

    • Well-structured HTML resume
    • Organized sections when data exists
  • Clean layout using basic CSS styling


2. Technologies Used

Component Library
Template rendering Jinja2
Input validation re (regular expressions)
Language Python

3. Installation

Install the required dependency:

pip install jinja2

4. How to Run

Run the Python script:

python resume_generator.py

You will be prompted to enter:

  • Name
  • Phone number
  • Email address
  • Education details
  • Work experience (optional)
  • Skills
  • Projects (optional)
  • Achievements

After completion, the program will output:

Resume saved as 'resume.html'. Open it in your browser!

Open resume.html to view your generated resume.


5. Output

The script produces:

  • resume.html — a formatted resume page containing your entered information.

The resume includes sections only when data is provided (skills, projects, achievements, experience are optional).


6. Validation Rules

  • Phone number must be exactly 10 digits

  • Email must end with:

    • @gmail.com
    • @gmail.in

Invalid inputs will be rejected until corrected.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages