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


def Project(
    data:Any
)->None:

Model for a project and the graph of related projects


source

load_projects


def load_projects(
    
):

source

get_categories


def get_categories(
    projects:list
)->list:

source

filter_projects


def filter_projects(
    projects:list, category:str
)->list:

source

projects_to_dot


def projects_to_dot(
    projects:list, category:str
)->str:

source

project_to_markdown


def project_to_markdown(
    project:Project
)->str:

run

nbdev_clean --fname ./nbs --clear_all

before commit.