Model

As a developer, I like the idea of literate/explorative programming. This is why I decided to use nbdev to create the matlon website, using a simple graph structure.

source

Project

 Project (title:str, categories:list[str]|None=None, year_start:int,
          year_end:int|None=None, quote:str|None=None,
          description:str|None=None,
          related_project_titles:list[str]|None=None)

Model for a project and the graph of related projects


source

load_projects

 load_projects ()

source

get_categories

 get_categories (projects:list[__main__.Project])

source

filter_projects

 filter_projects (projects:list[__main__.Project], category:str)

source

projects_to_dot

 projects_to_dot (projects:list[__main__.Project], category:str)

source

project_to_markdown

 project_to_markdown (project:__main__.Project)

run

nbdev_clean --fname ./nbs --clear_all

before commit.