import json
from dataclasses import dataclass, field
from typing import Dict, List
@dataclass
class Profile:
name: str = "Park Hee Chan"
description: str = "Software Engineer over 8 years"
nickname: str = "CHANN"
job: str = "👨🏻💻 Software Engineer"
nationality: str = "🇰🇷 South Korea"
resume: Dict[str, str] = field(
default_factory=lambda: {
"english": "https://resume.chann.kr/en/",
"korean": "https://resume.chann.kr/ko/",
}
)
skills: List[str] = field(
# fmt: off
default_factory=lambda: [
"python", "go", "typescript",
"postgres", "mysql", "redis", "kafka",
"devops", "docker", "kubernetes", "automation",
"homelab", "keyboard",
"finance", "investment",
"hci", "etc."
]
)
education: List[Dict[str, str]] = field(
default_factory=lambda: [
{"field": "💻 Computer", "type": "B.E."},
{"field": "🧠 Brain", "type": "B.Sci."},
]
)
hobbies: List[str] = field(
# fmt: off
default_factory=lambda: [ "🥾 Hiking", "🎾 Tennis", "🚴🏻 Cycling", "💪🏻 Fitness"]
)
social: Dict[str, str] = field(
default_factory=lambda: {
"blog": "https://blog.chann.kr",
"instagram": "https://instagram.com/channprj",
"linkedin": "https://linkedin.com/in/channprj",
"x": "https://x.com/channprj",
"fediverse": "https://mastodon.social/@chann",
}
)
def json(self):
return json.dumps(self, default=lambda o: o.__dict__)
# Example usage
profile = Profile()
print(profile.json())
- 👨🏻💻 Software Engineer
- 🇰🇷 From South Korea
- 🥰 Like Hiking 🥾 and Cycling 🚴🏻♂️ and Tennis 🎾
- 🎓 B.E. in 💻 and B.Sci. in 🧠
- 🏷 go, py, ts, devops, docker, k8s, automation, rpi, homelab, keyboard, investment, finance, hci, etc.
- 🌐 https://blog.chann.kr
- Resume: English 🇺🇸 or 한국어 🇰🇷