from typing import Tuple, List, Dict
class TestStack:
pass
class Attributes(TestStack):
@property
def contact(self) -> Tuple[str, Dict[str, str]]:
linkedin = '/in/arthur-testard/'
emails = {
'personal': '[email protected]',
'ecn' : '[email protected]',
'ntnu' : '[email protected]',
}
return linkedin, emails
@property
def life(self) -> Tuple[List[str], Dict[str, str], int, List[str]]:
ids = ['French', 'American']
langs = {
'French' : 'Native',
'English' : 'Fluent',
'Japanese': 'Beginner',
}
age = 25
passions = ['mathematics', 'informatic', 'physic', 'cello', 'hikes']
return ids, langs, age, passions
@property
def coding(self) -> Tuple[Dict[str, List[str]], List[str], List[str], Dict[str]]:
langs = {
'good' : ['python'],
'medium' : ['ts', 'js'],
'learning': ['c', 'c++']
}
prefs = ['ai', 'fullstack']
ide = ['vscode', 'pycharm', 'webstorm']
pc = {
'MacOS': {
'macbook pro m2': {
'processor': 'm2 | 8 cores',
'ram' : '16gb',
'gpu' : 'm2 | 8 cores'
}
},
}
return langs, prefs, ide, pc
Template found here1.