mirror of https://github.com/eyhc1/rendercv.git
fix tests
This commit is contained in:
parent
842a749f08
commit
c73412d82d
BIN
John_Doe_CV.pdf
BIN
John_Doe_CV.pdf
Binary file not shown.
207
John_Doe_CV.yaml
207
John_Doe_CV.yaml
|
@ -1,207 +0,0 @@
|
||||||
cv:
|
|
||||||
name: John Doe
|
|
||||||
label: Mechanical Engineer
|
|
||||||
location: Geneva, Switzerland
|
|
||||||
email: johndoe@example.com
|
|
||||||
phone: "+sds33749882538sss"
|
|
||||||
website: https://example.com
|
|
||||||
social_networks:
|
|
||||||
- network: GitHub
|
|
||||||
username: johndoe
|
|
||||||
summary:
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque porta
|
|
||||||
vitae dolor vel placerat. Class aptent taciti sociosqu ad litora torquent per conubia
|
|
||||||
nostra, per inceptos himenaeos. Phasellus ullamcorper, neque id varius dignissim,
|
|
||||||
tellus sem maximus risus, at lobortis nisl sem id ligula.
|
|
||||||
section_order:
|
|
||||||
- Education
|
|
||||||
- Work Experience
|
|
||||||
- Academic Projects
|
|
||||||
- Certificates
|
|
||||||
- Personal Projects
|
|
||||||
- Skills
|
|
||||||
- Test Scores
|
|
||||||
- Extracurricular Activities
|
|
||||||
- Publications
|
|
||||||
- My Custom Section
|
|
||||||
- My Other Custom Section
|
|
||||||
- My Third Custom Section
|
|
||||||
- My Final Custom Section
|
|
||||||
education:
|
|
||||||
- institution: Boğaziçi University
|
|
||||||
url: https://boun.edu.tr
|
|
||||||
area: Mechanical Engineering
|
|
||||||
study_type: BS
|
|
||||||
location: Istanbul, Turkey
|
|
||||||
start_date: "2017-09-01"
|
|
||||||
end_date: "2023-01-01"
|
|
||||||
transcript_url: https://example.com
|
|
||||||
gpa: 3.10/4.00
|
|
||||||
highlights:
|
|
||||||
- "Class rank: 10 of 62"
|
|
||||||
- institution: The University of Texas at Austin
|
|
||||||
url: https://utexas.edu
|
|
||||||
area: Mechanical Engineering, Student Exchange Program
|
|
||||||
location: Austin, TX, USA
|
|
||||||
start_date: "2021-08-01"
|
|
||||||
end_date: "2022-01-15"
|
|
||||||
transcript_url: https://example.com
|
|
||||||
gpa: 4.00/4.00
|
|
||||||
highlights: []
|
|
||||||
work_experience:
|
|
||||||
- company: CERN
|
|
||||||
position: Mechanical Engineer
|
|
||||||
location: Geneva, Switzerland
|
|
||||||
url: https://home.cern
|
|
||||||
start_date: "2023-02-01"
|
|
||||||
end_date: present
|
|
||||||
highlights:
|
|
||||||
- CERN is a research organization that operates the world's largest and most
|
|
||||||
powerful particle accelerator.
|
|
||||||
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
|
|
||||||
incididunt ut labore et dolore magna aliqua.
|
|
||||||
- Id leo in vitae turpis massa sed, posuere aliquam ultrices sagittis orci a
|
|
||||||
scelerisque, lorem ipsum dolor sit amet.
|
|
||||||
- company: AmIACompany
|
|
||||||
position: Summer Intern
|
|
||||||
location: Istanbul, Turkey
|
|
||||||
url: https://example.com
|
|
||||||
start_date: "2022-06-15"
|
|
||||||
end_date: "2022-08-01"
|
|
||||||
highlights:
|
|
||||||
- AmIACompany is a technology company that provides web-based engineering
|
|
||||||
applications that enable the simulation and optimization of products and
|
|
||||||
manufacturing tools.
|
|
||||||
- Modeled and simulated a metal-forming process deep drawing using finite element
|
|
||||||
analysis with open-source software called CalculiX.
|
|
||||||
academic_projects:
|
|
||||||
- name: Design and Construction of a Dynamometer
|
|
||||||
location: Istanbul, Turkey
|
|
||||||
date: Fall 2022
|
|
||||||
highlights:
|
|
||||||
- Designed and constructed a controllable dynamometer that measures an electric
|
|
||||||
motor's torque and power output at different speeds for my senior design project.
|
|
||||||
url: https://example.com
|
|
||||||
- name: Design and Construction of an Automatic Guitar Tuner
|
|
||||||
location: Istanbul, Turkey
|
|
||||||
date: Fall 2020
|
|
||||||
highlights:
|
|
||||||
- Designed, built, and programmed a microcontroller-based device that tunes a
|
|
||||||
guitar with DC motors as part of a mechatronics course term project.
|
|
||||||
url: https://example.com
|
|
||||||
publications:
|
|
||||||
- title: Phononic band gaps induced by inertial amplification in periodic media
|
|
||||||
authors:
|
|
||||||
- Author 1
|
|
||||||
- John Doe
|
|
||||||
- Author 3
|
|
||||||
journal: Physical Review B
|
|
||||||
doi: 10.1103/PhysRevB.76.054309
|
|
||||||
date: "2007-08-01"
|
|
||||||
cited_by: 243
|
|
||||||
certificates:
|
|
||||||
- name: Machine Learning by Stanford University
|
|
||||||
date: "2022-09-01"
|
|
||||||
url: https://example.com
|
|
||||||
skills:
|
|
||||||
- name: Programming
|
|
||||||
details: C++, C, Python, JavaScript, MATLAB, Lua, LaTeX
|
|
||||||
- name: OS
|
|
||||||
details: Windows, Ubuntu
|
|
||||||
- name: Other tools
|
|
||||||
details: Git, Premake, HTML, CSS, React
|
|
||||||
- name: Languages
|
|
||||||
details: English (Advanced), French (Lower Intermediate), Turkish (Native)
|
|
||||||
test_scores:
|
|
||||||
- name: TOEFL
|
|
||||||
date: "2022-10-01"
|
|
||||||
details:
|
|
||||||
"113/120 — Reading: 29/30, Listening: 30/30, Speaking: 27/30, Writing:
|
|
||||||
27/30"
|
|
||||||
url: https://example.com
|
|
||||||
- name: GRE
|
|
||||||
details: "Verbal Reasoning: 160/170, Quantitative Reasoning: 170/170, Analytical
|
|
||||||
Writing: 5.5/6"
|
|
||||||
url: https://example.com
|
|
||||||
personal_projects:
|
|
||||||
- name: Ray Tracing in C++
|
|
||||||
date: Spring 2021
|
|
||||||
highlights:
|
|
||||||
- Coded a ray tracer in C++ that can render scenes with multiple light sources,
|
|
||||||
spheres, and planes with reflection and refraction properties.
|
|
||||||
url: https://example.com
|
|
||||||
extracurricular_activities:
|
|
||||||
- company: Dumanlikiz Skiing Club
|
|
||||||
position: Co-founder / Skiing Instructor
|
|
||||||
location: Chamonix, France
|
|
||||||
date: Summer 2017 and 2018
|
|
||||||
highlights:
|
|
||||||
- Taught skiing during winters as a certified skiing instructor.
|
|
||||||
custom_sections:
|
|
||||||
- title: My Custom Section
|
|
||||||
entry_type: OneLineEntry
|
|
||||||
entries:
|
|
||||||
- name: Testing custom sections
|
|
||||||
details: Wohooo!
|
|
||||||
- name: This is a
|
|
||||||
details: OneLineEntry!
|
|
||||||
- title: My Other Custom Section
|
|
||||||
entry_type: EducationEntry
|
|
||||||
entries:
|
|
||||||
- institution: Hop!
|
|
||||||
area: Hop!
|
|
||||||
study_type: HA
|
|
||||||
highlights:
|
|
||||||
- "There are only five types of entries: *EducationEntry*, *ExperienceEntry*,
|
|
||||||
*NormalEntry*, *OneLineEntry*, and *PublicationEntry*."
|
|
||||||
- This is an EducationEntry!
|
|
||||||
start_date: "2022-06-15"
|
|
||||||
end_date: "2022-08-01"
|
|
||||||
- title: My Third Custom Section
|
|
||||||
entry_type: ExperienceEntry
|
|
||||||
entries:
|
|
||||||
- company: Hop!
|
|
||||||
position: Hop!
|
|
||||||
date: My Date
|
|
||||||
location: My Location
|
|
||||||
highlights:
|
|
||||||
- I think this is really working. This is an *ExperienceEntry*!
|
|
||||||
|
|
||||||
- title: My Final Custom Section
|
|
||||||
entry_type: NormalEntry
|
|
||||||
entries:
|
|
||||||
- name: This is a normal entry!
|
|
||||||
highlights:
|
|
||||||
- You don't have to specify a *date* or **location** every time.
|
|
||||||
- You can use *Markdown* in the **highlights**!
|
|
||||||
|
|
||||||
design:
|
|
||||||
theme: classic
|
|
||||||
font: SourceSans3
|
|
||||||
font_size: 10pt
|
|
||||||
page_size: a4paper
|
|
||||||
options:
|
|
||||||
primary_color: rgb(0,79,144)
|
|
||||||
date_and_location_width: 3.6 cm
|
|
||||||
show_timespan_in:
|
|
||||||
- Work Experience
|
|
||||||
- My Other Custom Section
|
|
||||||
show_last_updated_date: True
|
|
||||||
|
|
||||||
margins:
|
|
||||||
page:
|
|
||||||
top: 1.35 cm
|
|
||||||
bottom: 1.35 cm
|
|
||||||
left: 1.35 cm
|
|
||||||
right: 1.35 cm
|
|
||||||
section_title:
|
|
||||||
top: 0.13 cm
|
|
||||||
bottom: 0.13 cm
|
|
||||||
entry_area:
|
|
||||||
left: 0.2 cm
|
|
||||||
right: 0.2 cm
|
|
||||||
vertical_between: 0.12 cm
|
|
||||||
highlights_area:
|
|
||||||
top: 0.12 cm
|
|
||||||
left: 0.6 cm
|
|
||||||
vertical_between_bullet_points: 0.07 cm
|
|
|
@ -74,3 +74,6 @@ def cli():
|
||||||
This function is the entry point for RenderCV.
|
This function is the entry point for RenderCV.
|
||||||
"""
|
"""
|
||||||
app()
|
app()
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
cli()
|
|
@ -1,7 +1,7 @@
|
||||||
from rendercv.__main__ import render
|
from rendercv.__main__ import render
|
||||||
|
|
||||||
input_file_path = "John_Doe_CV.yaml"
|
input_file_path = "John_Doe_CV.yaml"
|
||||||
render(input_file_path)
|
render(input_file_path) # type: ignore
|
||||||
|
|
||||||
# This script is equivalent to running the following command in the terminal:
|
# This script is equivalent to running the following command in the terminal:
|
||||||
# python -m rendercv personal.yaml
|
# python -m rendercv personal.yaml
|
||||||
|
|
Loading…
Reference in New Issue