Git Product home page Git Product logo

resume-creator-script's Introduction

image

Resume Creator

This python script creates PDF resumes using variables from a YAML file. You can give it a YAML file to use, or a directory if you want to process multiple YAML files one after another. If no file name, or directory was passed, it will look for vars.yaml as its input YAML file by default.

Install requirements

The script uses pdfkit which depends on wkhtmltopdf.

Install wkhtmltopdf:

Debian/Ubuntu:

$ sudo apt-get install wkhtmltopdf

macOS:

$ brew install homebrew/cask/wkhtmltopdf

If you are using Windows, I don't know, search for how to install wkhtmltopdf.

Now, installing the required libraries

pip install -r requirements.txt

or pip3 for python3

Usage

  1. Add the data you want to display in the resume to vars.yaml or the YAML file you want to use. Some fields are requried and some aren't, depending on the template.

Look in the yamls directory for examples.

template: Compact

# color in hex: rrggbb
primary color: 008080


full name: Mohamed Wafy


job title: Frontend Developer


summary: |
  Frontend Developer, Backend Developer, and Computer Science student with experince with frontend and backend technologies, cloud, linux and teamwork.

links:
  - Portfolio: https://mowafy001.github.io/portfolio/
  - GitHub: https://github.com/MoWafy001
  - LinkedIn: https://linkedin.com/in/mohamedwafy
  - [email protected]: mailto:[email protected]
  - "+201127813978": tel:+201127813978


not_links:
  - Egypt
  - Egypt | Alex
  - Egypt | Cairo


skills:
  - React
  - SASS
  - Bootstrap
  - NodeJS
  - GitHub
  - Linux
  - Cloud
  - Googling
  - CSS
  - JavaScript
  - Python
  - PHP


experience:
  - Intern Backend Developer, Airdonex:
    - Sep 2021 - Dec 2021
    - |
      - Created RESTful APIs
      - Created a login system
      - Managed a PostgreSQL Database

      Highlighted skills: Django - PostgreSQL

  - Fullstack Developer, freelance:
    - Mar 2021 - May 2021
    - |
      - Created a Speech-To-Text API
      - Another API to convert file formats
      - Created a Systemd service to automate
      - processes on a Linux server
      - Created a flask app to render DZI images

      Highlighted skills: Linux - Flask - Python - API Development

  - Member of The Google Developer Student Club - GDSC Damanhour University:
    - Aug 2021 - Jun 2022
    - |
      - Teaching fellow students coding, Node JS in particular.
      - Creating a course and find materials.
      - Giving online session, and doing projects.

      Highlighted skills: Team Work - NodeJS



education:
  - React Developement Cross-Skilling Nanodegree, Udacity:
    - "2022"
    - |
      Highlighted skills:
      ReactJS
      Redux

  - Advanced Web Development Nano Degree, Udacity:
    - "2021"
    - |
      Highlighted skills:
      Flask
      API Development
      Backend Developement
      Model View Controller Model

  - Web Development Professional Nano Degree, Udacity:
    - "2020"
    - |
      Highlighted skills:
      NodeJS
      Building responsive pages
      Integrating APIs

  - Intermediate Python, DataCamp:
    - "2022"
    - |
      Highlighted skills:
      Python
  1. run the script
# this will use vars.yaml by default
python3 script.py
# this will use a specific yaml file
python3 script.py file.yaml
# This will look for a directory named "yamls" and process all the yaml files in it, one by one
python3 script.py yamls

Output

The name of the output file is the full name of the user followed by an _ followed by the job title.

Full_Name_Job_Title.pdf

resume-creator-script's People

Contributors

mowafy001 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

resume-creator-script's Issues

having problem in running the script

i have ubuntu 18.04 installed and python 2.07.17 while running the script facing issue that import src.helpers does not exist but it exists actually how should i move further

hmm

PS C:\Users\14859\Desktop\Resume-Creator-Script-main> python .\script.py
Traceback (most recent call last):
File "C:\Users\14859\Desktop\Resume-Creator-Script-main\script.py", line 8, in
layout, file_name = engine.render()
File "C:\Users\14859\Desktop\Resume-Creator-Script-main\src\TemplateEngine.py", line 143, in render
return self.replace_blocks_with_html(), file_name
File "C:\Users\14859\Desktop\Resume-Creator-Script-main\src\TemplateEngine.py", line 49, in replace_blocks_with_html
html_lines = list(map(self.find_blocks_and_replace, html_lines))
File "C:\Users\14859\Desktop\Resume-Creator-Script-main\src\TemplateEngine.py", line 63, in find_blocks_and_replace
block_html = self.replace_blocks_with_html(block_html)
File "C:\Users\14859\Desktop\Resume-Creator-Script-main\src\TemplateEngine.py", line 46, in replace_blocks_with_html
html = self.find_list_and_dicts_and_replace(html)
File "C:\Users\14859\Desktop\Resume-Creator-Script-main\src\TemplateEngine.py", line 102, in find_list_and_dicts_and_replace
listordict = get_var(key)
File "C:\Users\14859\Desktop\Resume-Creator-Script-main\src\vars_loader.py", line 8, in get_var
raise Exception(f'Variable {var_name} not found')
Exception: Variable experience not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.