mirror of https://github.com/eyhc1/rendercv.git
data_models: update the sample data model
This commit is contained in:
parent
debce0551c
commit
16b2cfd147
|
@ -1071,7 +1071,7 @@ class LocaleCatalog(RenderCVBaseModel):
|
||||||
"""Update the `locale_catalog` dictionary with the provided translations."""
|
"""Update the `locale_catalog` dictionary with the provided translations."""
|
||||||
if value:
|
if value:
|
||||||
locale_catalog[info.field_name] = value
|
locale_catalog[info.field_name] = value
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
|
@ -1360,113 +1360,135 @@ def get_a_sample_data_model(
|
||||||
|
|
||||||
name = name.encode().decode("unicode-escape")
|
name = name.encode().decode("unicode-escape")
|
||||||
sections = {
|
sections = {
|
||||||
"summary": [
|
"this_is_a_section_title": [
|
||||||
(
|
BulletEntry(
|
||||||
"This is an example resume to showcase the capabilities of the"
|
bullet=(
|
||||||
" open-source LaTeX CV generator,"
|
"[RenderCV](https://github.com/sinaatalay/rendercv) is a LaTeX"
|
||||||
" [RenderCV](https://github.com/sinaatalay/rendercv). A substantial"
|
" CV/resume framework. It allows you to create a high-quality CV as"
|
||||||
" part of the content is taken from"
|
" a PDF from a YAML file with **full Markdown syntax support** and"
|
||||||
" [here](https://www.careercup.com/resume), where a *clean and tidy CV*"
|
" **complete control over the LaTeX code**."
|
||||||
" pattern is proposed by **Gayle L. McDowell**."
|
)
|
||||||
|
),
|
||||||
|
BulletEntry(
|
||||||
|
bullet=(
|
||||||
|
"Each section title is arbitrary, and each section contains a list"
|
||||||
|
" of entries."
|
||||||
|
)
|
||||||
|
),
|
||||||
|
BulletEntry(
|
||||||
|
bullet=(
|
||||||
|
"There are seven different entry types:"
|
||||||
|
" [BulletEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#bullet-entry)"
|
||||||
|
" (this"
|
||||||
|
" section contains bullet entries),"
|
||||||
|
" [TextEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#text-entry),"
|
||||||
|
" [EducationEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#education-entry),"
|
||||||
|
" [ExperienceEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#experience-entry),"
|
||||||
|
" [NormalEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#normal-entry),"
|
||||||
|
" [PublicationEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#publication-entry),"
|
||||||
|
" and [OneLineEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#one-line-entry)."
|
||||||
|
)
|
||||||
|
),
|
||||||
|
BulletEntry(
|
||||||
|
bullet=(
|
||||||
|
"Select a section title, pick an entry type, and start writing your"
|
||||||
|
" section!"
|
||||||
|
)
|
||||||
|
),
|
||||||
|
BulletEntry(
|
||||||
|
bullet=(
|
||||||
|
"You can include some math as well:"
|
||||||
|
" $\\mathcal{O}(n^2)\\vec{\\omega}$"
|
||||||
|
)
|
||||||
|
),
|
||||||
|
BulletEntry(
|
||||||
|
bullet=(
|
||||||
|
"[Here](https://docs.rendercv.com/user_guide/), you can find a"
|
||||||
|
" comprehensive user guide that covers the data model (YAML"
|
||||||
|
" structure) and command-line interface (CLI) in greater detail."
|
||||||
|
)
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
"education": [
|
"your_education_section": [
|
||||||
EducationEntry(
|
EducationEntry(
|
||||||
institution="University of Pennsylvania",
|
institution="University of Example",
|
||||||
area="Computer Science",
|
area="Mechanical Engineering",
|
||||||
degree="BS",
|
degree="PhD",
|
||||||
start_date="2000-09",
|
start_date="2017-09",
|
||||||
end_date="2005-05",
|
end_date="2021-06",
|
||||||
|
highlights=[
|
||||||
|
'**Thesis:** "This is an EducationEntry"',
|
||||||
|
],
|
||||||
|
),
|
||||||
|
EducationEntry(
|
||||||
|
institution="University of Example",
|
||||||
|
area="Mechanical Engineering",
|
||||||
|
degree="BS",
|
||||||
|
start_date="2012-01",
|
||||||
|
end_date="2017-06",
|
||||||
highlights=[
|
highlights=[
|
||||||
"GPA: 3.9/4.0 ([Transcript](https://example.com))",
|
|
||||||
(
|
(
|
||||||
"**Coursework:** Software Foundations, Computer"
|
"**GPA:** 3.9/4.0 ([Transcript](https://example.com), this is a"
|
||||||
" Architecture, Algorithms, Artificial Intelligence, Comparison"
|
" Markdown link)"
|
||||||
" of Learning Algorithms, Computational Theory."
|
),
|
||||||
|
(
|
||||||
|
"**Relevant Courses:** Advanced LaTeX, Python for Document"
|
||||||
|
" Automation"
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
"experience": [
|
"experience": [
|
||||||
ExperienceEntry(
|
ExperienceEntry(
|
||||||
company="Apple Computer",
|
company="RenderCV",
|
||||||
position="Software Engineer, Intern",
|
position="Lead Developer",
|
||||||
start_date="2004-06",
|
start_date="2020-05",
|
||||||
end_date="2004-08",
|
end_date="present",
|
||||||
location="CA, USA",
|
location="Remote",
|
||||||
highlights=[
|
highlights=[
|
||||||
|
"This is an *ExperienceEntry*.",
|
||||||
(
|
(
|
||||||
"Reduced time to render the user's buddy list by 75% by"
|
"Implemented Markdown support to enhance text formatting"
|
||||||
" implementing a prediction algorithm."
|
" capabilities in CVs."
|
||||||
),
|
|
||||||
(
|
|
||||||
"Implemented iChat integration with OS X Spotlight Search by"
|
|
||||||
" creating a tool that extracts metadata from saved chat"
|
|
||||||
" transcripts and provides metadata to a system-wide search"
|
|
||||||
" database."
|
|
||||||
),
|
|
||||||
(
|
|
||||||
"Redesigned chat file format and implemented backward"
|
|
||||||
" compatibility for search."
|
|
||||||
),
|
),
|
||||||
|
"Led a team of five in the design of new CV templates.",
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
ExperienceEntry(
|
ExperienceEntry(
|
||||||
company="Microsoft Corporation",
|
company="GitHub",
|
||||||
position="Lead Student Ambassador",
|
position="Developer",
|
||||||
start_date="2003-09",
|
date="A Custom *Date*",
|
||||||
end_date="2005-04",
|
location="San Francisco, CA, USA",
|
||||||
location="WA, USA",
|
|
||||||
highlights=[
|
highlights=[
|
||||||
(
|
"This is another *ExperienceEntry*.",
|
||||||
"Promoted to Lead Student Ambassador in the Fall of 2004,"
|
"Used technologies: Python, JavaScript",
|
||||||
" supervised 10 - 15 Student Ambassadors."
|
|
||||||
),
|
|
||||||
(
|
|
||||||
"Created and taught a computer science course, CSE 099:"
|
|
||||||
" Software Design and Development."
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
ExperienceEntry(
|
],
|
||||||
company="University of Pennsylvania",
|
"personal_projects": [
|
||||||
position="Head Teaching Assistant",
|
NormalEntry(
|
||||||
start_date="2001-10",
|
name="Project Name",
|
||||||
end_date="2005-05",
|
location="[Github Repository](https://github.com)",
|
||||||
location="PA, USA",
|
|
||||||
highlights=[
|
highlights=[
|
||||||
(
|
"This is a *NormalEntry*.",
|
||||||
"Implemented a user interface for the VS open file switcher"
|
"You don't have to provide all the fields in an entry!",
|
||||||
" (ctrl-tab) and extended it to tool windows."
|
|
||||||
),
|
|
||||||
(
|
|
||||||
"Created a service to provide gradient across VS and VS"
|
|
||||||
" add-ins. Optimized service via caching."
|
|
||||||
),
|
|
||||||
"Programmer Productivity Research Center (Summers 2001, 2002)",
|
|
||||||
(
|
|
||||||
"Built app to compute the similarity of all methods in a code"
|
|
||||||
" base, reduced time from $\\mathcal{O}(n^2)$ to"
|
|
||||||
" $\\mathcal{O}(n \\log n)$. "
|
|
||||||
),
|
|
||||||
(
|
|
||||||
"Created a test case generation tool that creates random XML"
|
|
||||||
" docs from XML Schema."
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
ExperienceEntry(
|
NormalEntry(
|
||||||
company="Microsoft Corporation",
|
name="Another Project Name",
|
||||||
position="Software Design Engineer, Intern",
|
location="Istanbul",
|
||||||
start_date="2003-06",
|
date="Fall 2024",
|
||||||
end_date="2003-08",
|
highlights=["This is another *NormalEntry* with a custom date."],
|
||||||
location="WA, USA",
|
),
|
||||||
highlights=[
|
],
|
||||||
(
|
"additional_skills_and_awards": [
|
||||||
"Promoted to Lead Student Ambassador in the Fall of 2004,"
|
OneLineEntry(
|
||||||
" supervised 10 - 15 Student Ambassadors."
|
label="This is",
|
||||||
),
|
details="a *OneLineEntry*",
|
||||||
],
|
),
|
||||||
|
OneLineEntry(
|
||||||
|
label="Languages",
|
||||||
|
details="English, Turkish",
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
"publications": [
|
"publications": [
|
||||||
|
@ -1486,68 +1508,12 @@ def get_a_sample_data_model(
|
||||||
doi="10.1109/TASC.2023.3340648",
|
doi="10.1109/TASC.2023.3340648",
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
"projects": [
|
"anything_else": [
|
||||||
NormalEntry(
|
"This is a *TextEntry*. You can write anything here!",
|
||||||
name="Multi-User Drawing Tool",
|
(
|
||||||
date="2004",
|
"The source code of RenderCV is well-commented and documented. Reading"
|
||||||
highlights=[
|
" the source code might be fun as the software structure is explained"
|
||||||
(
|
" with docstrings and comments."
|
||||||
"Developed an electronic classroom where multiple users can"
|
|
||||||
' view and simultaneously draw on a "chalkboard" with each'
|
|
||||||
" person's edits synchronized."
|
|
||||||
),
|
|
||||||
"Used C++ and MFC.",
|
|
||||||
],
|
|
||||||
),
|
|
||||||
NormalEntry(
|
|
||||||
name="Synchronized Calendar",
|
|
||||||
start_date="2003",
|
|
||||||
end_date="2004",
|
|
||||||
highlights=[
|
|
||||||
(
|
|
||||||
"Developed a desktop calendar with globally shared and"
|
|
||||||
" synchronized calendars, allowing users to schedule meetings"
|
|
||||||
" with other users."
|
|
||||||
),
|
|
||||||
"Used C#.NET, SQL, and XML.",
|
|
||||||
],
|
|
||||||
),
|
|
||||||
NormalEntry(
|
|
||||||
name="Operating System",
|
|
||||||
date="2002",
|
|
||||||
highlights=[
|
|
||||||
(
|
|
||||||
"Developed a UNIX-style OS with a scheduler, file system, text"
|
|
||||||
" editor, and calculator."
|
|
||||||
),
|
|
||||||
"Used C.",
|
|
||||||
],
|
|
||||||
),
|
|
||||||
],
|
|
||||||
"additional_experience_and_awards": [
|
|
||||||
OneLineEntry(
|
|
||||||
label="Instructor (2003 - 2005)",
|
|
||||||
details="Taught two full-credit Computer Science courses.",
|
|
||||||
),
|
|
||||||
OneLineEntry(
|
|
||||||
label="Third Prize, Senior Design Projects",
|
|
||||||
details=(
|
|
||||||
"Awarded 3rd prize for a synchronized calendar project out of 100"
|
|
||||||
" projects."
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
"technologies": [
|
|
||||||
OneLineEntry(
|
|
||||||
label="Languages",
|
|
||||||
details="C++, C, Java, Objective-C, C#.NET, SQL, JavaScript",
|
|
||||||
),
|
|
||||||
OneLineEntry(
|
|
||||||
label="Software",
|
|
||||||
details=(
|
|
||||||
"Visual Studio, Microsoft SQL Server, Eclipse, XCode, Interface"
|
|
||||||
" Builder"
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue