A passionate developer from Madrid, Spain
โ
from __future__ import annotations
import json
from dataclasses import asdict, dataclass
@dataclass
class Skillset:
languages: tuple[str, ...] = ("C++", "Python", "Kotlin")
mobile: tuple[str, ...] = ("Android", "Flutter")
databases: tuple[str, ...] = ("SQLite", "PostgreSQL", "MySQL")
misc : tuple[str, ...] = ("Docker", "Firebase", "Selenium", "Rx")
os: tuple[str, ...] = ("Windows Server", "Arch Linux", "Ubuntu", "MacOS")
ongoing : tuple[str, ...] = ("Django", "DRF", "Asyncio")
def jsonify(self) -> str:
return json.dumps(asdict(self), indent=4)
skillset = Skillset()
print(skillset.jsonify())
print("Power is pizza")
โ