data_models: update sample data model

This commit is contained in:
Sina Atalay 2024-05-19 17:15:54 +03:00
parent 40bfd689dd
commit b9d8b9e212
1 changed files with 156 additions and 85 deletions

View File

@ -1359,35 +1359,41 @@ def get_a_sample_data_model(
) )
name = name.encode().decode("unicode-escape") name = name.encode().decode("unicode-escape")
sections = { sections = {
"this_is_a_section_title": [ "welcome_to_rendercv!": [
BulletEntry( (
bullet=(
"[RenderCV](https://github.com/sinaatalay/rendercv) is a LaTeX" "[RenderCV](https://github.com/sinaatalay/rendercv) is a LaTeX"
" CV/resume framework. It allows you to create a high-quality CV as" " CV/resume framework. It allows you to create a high-quality CV as"
" a PDF from a YAML file with **full Markdown syntax support** and" " a PDF from a YAML file with **full Markdown syntax support** and"
" **complete control over the LaTeX code**." " **complete control over the LaTeX code**."
)
), ),
(
"A substantial"
" part of the content is taken from"
" [here](https://www.careercup.com/resume), where a *clean and tidy CV*"
" pattern is proposed by **Gayle L. McDowell**."
),
],
"quick_guide": [
BulletEntry( BulletEntry(
bullet=( bullet=(
"Each section title is arbitrary, and each section contains a list" "Each section title is arbitrary, and each section contains a list"
" of entries." " of entries."
) ),
), ),
BulletEntry( BulletEntry(
bullet=( bullet=(
"There are seven different entry types:" "There are seven different entry types:"
" [BulletEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#bullet-entry)" " [BulletEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#bullet-entry)"
" (this" " (this section contains bullet entries),"
" section contains bullet entries),"
" [TextEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#text-entry)," " [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)," " [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)," " [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)," " [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)," " [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)." " and [OneLineEntry](https://docs.rendercv.com/user_guide/structure_of_the_yaml_input_file/\\#one-line-entry)."
) ),
), ),
BulletEntry( BulletEntry(
bullet=( bullet=(
@ -1395,100 +1401,110 @@ def get_a_sample_data_model(
" section!" " section!"
) )
), ),
BulletEntry(
bullet=(
"You can include some math as well:"
" $\\mathcal{O}(n^2)\\vec{\\omega}$"
)
),
BulletEntry( BulletEntry(
bullet=( bullet=(
"[Here](https://docs.rendercv.com/user_guide/), you can find a" "[Here](https://docs.rendercv.com/user_guide/), you can find a"
" comprehensive user guide that covers the data model (YAML" " comprehensive user guide."
" structure) and command-line interface (CLI) in greater detail."
) )
), ),
], ],
"your_education_section": [ "education": [
EducationEntry( EducationEntry(
institution="University of Example", institution="University of Pennsylvania",
area="Mechanical Engineering", area="Computer Science",
degree="PhD",
start_date="2017-09",
end_date="2021-06",
highlights=[
'**Thesis:** "This is an EducationEntry"',
],
),
EducationEntry(
institution="University of Example",
area="Mechanical Engineering",
degree="BS", degree="BS",
start_date="2012-01", start_date="2000-09",
end_date="2017-06", end_date="2005-05",
highlights=[ highlights=[
"GPA: 3.9/4.0 ([Transcript](https://example.com))",
( (
"**GPA:** 3.9/4.0 ([Transcript](https://example.com), this is a" "**Coursework:** Software Foundations, Computer"
" Markdown link)" " Architecture, Algorithms, Artificial Intelligence, Comparison"
), " of Learning Algorithms, Computational Theory."
(
"**Relevant Courses:** Advanced LaTeX, Python for Document"
" Automation"
), ),
], ],
), ),
], ],
"experience": [ "experience": [
ExperienceEntry( ExperienceEntry(
company="RenderCV", company="Apple Computer",
position="Lead Developer", position="Software Engineer, Intern",
start_date="2020-05", start_date="2004-06",
end_date="present", end_date="2004-08",
location="Remote", location="CA, USA",
highlights=[ highlights=[
"This is an *ExperienceEntry*.",
( (
"Implemented Markdown support to enhance text formatting" "Reduced time to render the user's buddy list by 75% by"
" capabilities in CVs." " implementing a prediction algorithm."
),
(
"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="GitHub", company="Microsoft Corporation",
position="Developer", position="Lead Student Ambassador",
date="A Custom *Date*", start_date="2003-09",
location="San Francisco, CA, USA", end_date="2005-04",
location="WA, USA",
highlights=[ highlights=[
"This is another *ExperienceEntry*.", (
"Used technologies: Python, JavaScript", "Promoted to Lead Student Ambassador in the Fall of 2004,"
], " supervised 10 - 15 Student Ambassadors."
),
(
"Created and taught a computer science course, CSE 099:"
" Software Design and Development."
), ),
], ],
"personal_projects": [ ),
NormalEntry( ExperienceEntry(
name="Project Name", company="University of Pennsylvania",
location="[Github Repository](https://github.com)", position="Head Teaching Assistant",
start_date="2001-10",
end_date="2005-05",
location="PA, USA",
highlights=[ highlights=[
"This is a *NormalEntry*.", (
"You don't have to provide all the fields in an entry!", "Implemented a user interface for the VS open file switcher"
], " (ctrl-tab) and extended it to tool windows."
), ),
NormalEntry( (
name="Another Project Name", "Created a service to provide gradient across VS and VS"
location="Istanbul", " add-ins. Optimized service via caching."
date="Fall 2024", ),
highlights=["This is another *NormalEntry* with a custom date."], "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."
), ),
], ],
"additional_skills_and_awards": [
OneLineEntry(
label="This is",
details="a *OneLineEntry*",
), ),
OneLineEntry( ExperienceEntry(
label="Languages", company="Microsoft Corporation",
details="English, Turkish", position="Software Design Engineer, Intern",
start_date="2003-06",
end_date="2003-08",
location="WA, USA",
highlights=[
(
"Promoted to Lead Student Ambassador in the Fall of 2004,"
" supervised 10 - 15 Student Ambassadors."
),
],
), ),
], ],
"publications": [ "publications": [
@ -1508,16 +1524,71 @@ def get_a_sample_data_model(
doi="10.1109/TASC.2023.3340648", doi="10.1109/TASC.2023.3340648",
) )
], ],
"anything_else": [ "projects": [
"This is a *TextEntry*. You can write anything here!", NormalEntry(
name="Multi-User Drawing Tool",
date="2004",
highlights=[
( (
"The source code of RenderCV is well-commented and documented. Reading" "Developed an electronic classroom where multiple users can"
" the source code might be fun as the software structure is explained" ' view and simultaneously draw on a "chalkboard" with each'
" with docstrings and comments." " 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"
),
), ),
], ],
} }
cv = CurriculumVitae( cv = CurriculumVitae(
name=name, name=name,
location="Your Location", location="Your Location",