yaml_resume package

class yaml_resume.Resume(contact, profiles, experiences, education, skills, languages, projects, hobbies)

Class corresponding to a full resume.

  • contact (Contact) – Contact informations.

  • profiles (list[Profile]) – Profile section of the resume.

  • experiences (list[Experience]) – Experience section of the resume.

  • education (list[Degree]) – Education section of the resume.

  • skills (list[Skill]) – Skills section of the resume.

  • languages (list[Language]) – Languages section of the resume.

  • projects (list[Project]) – Projects section of the resume.

  • hobbies (list[Hobby]) – Hobbies section of the resume.


Interactively create a Resume object.


A Resume object from provided answers.


Load dictionary and returns a Resume object.


data (dict[]) – A dictionary loaded from a yaml file.


A Resume object.

class yaml_resume.Validator(*args, **kwargs)

Validator class. Normalizes and/or validates any mapping against a validation-schema which is provided as an argument at class instantiation or upon calling the validate(), validated() or normalized() method. An instance itself is callable and executes a validation.

All instantiation parameters are optional.

There are the introspective properties types, validators, coercers, default_setters, rules, normalization_rules and validation_rules.

The attributes reflecting the available rules are assembled considering constraints that are defined in the docstrings of rules’ methods and is effectively used as validation schema for schema.

  • schema (any mapping) – See schema. Defaults to None.

  • ignore_none_values (bool) – See ignore_none_values. Defaults to False.

  • allow_unknown (bool or any mapping) – See allow_unknown. Defaults to False.

  • require_all (bool) – See require_all. Defaults to False.

  • purge_unknown (bool) – See purge_unknown. Defaults to to False.

  • purge_readonly (bool) – Removes all fields that are defined as readonly in the normalization phase.

  • error_handler (class or instance based on BaseErrorHandler or tuple) – The error handler that formats the result of errors. When given as two-value tuple with an error-handler class and a dictionary, the latter is passed to the initialization of the error handler. Default: BasicErrorHandler.