$ whoami
from dataclasses import dataclass, field
from typing import List, Optional
@dataclass
class Andy:
"""
A technology enthusiast focused on infrastructure,
automation, networking, and self-hosted services.
"""
name: str = "Andy"
born_date: str = "1970-01-01"
origin: str = "Milky Way Galaxy"
location: str = "Planet Earth"
education: List[str] = field(
default_factory=lambda: ["Mars Institute of Technology"]
)
interests: List[str] = field(
default_factory=lambda: [
"Infrastructure",
"Networking",
"Automation",
"Self-Hosting",
"AI Agents"
]
)
mbti: Optional[str] = None
$ ping me
contact_info = {
"email": "[email protected]",
"blog": "www.andyio.com",
"status": "Ready to sync"
}
handlers = {
"status": lambda v: print(f"Status: {v}")
}
for platform, address in contact_info.items():
if platform in handlers:
handlers[platform](address)
else:
print(f"Connecting to {platform} at {address}...")