from dataclasses import dataclass, field
from typing import ClassVar
@dataclass
class DeveloperProfile:
name: str
location: str
since: int
skills: list[str]
goals: list[str]
_intro_template: ClassVar[str] = """
Hi, I'm {name} from {location}.
Developer since {since} — still running on caffeine and curiosity.
Roles: {skills}.
I focus on strong foundations over chasing version numbers.
Upcoming goals:
{goals}"""
def __str__(self) -> str:
return self._intro_template.format(
name=self.name,
location=self.location,
since=self.since,
skills=', '.join(self.skills),
goals='\n'.join(f" - {goal}" for goal in self.goals)
).strip()
if __name__ == "__main__":
profile = DeveloperProfile(
name="Alex Tran",
location="Hanoi, Vietnam",
since=2011,
skills=["Backend", "Frontend", "System Architecture", "Team Leadership"],
goals=[
"Master DevOps practices and cloud infrastructure",
"Build and deploy ML models in production",
"Fine-tune pre-trained models for domain-specific tasks"
]
)
print(profile)
-
Freelancer
- Hà Nội, Việt Nam
- https://github.com/source-hub-org
- https://github.com/calm-canvas
- https://wordpress.org/themes/origamiez/
Highlights
Pinned Loading
-
source-hub-org/hirebot-ai-api
source-hub-org/hirebot-ai-api PublicThe backend service of Hirebot AI, responsible for generating, storing, and managing AI-powered technical interview quizzes for developer candidates. Built with Node.js, using Express for RESTful A…
JavaScript
-
source-hub-org/hirebot-ai-app-lite
source-hub-org/hirebot-ai-app-lite PublicHireBot AI App Lite is a streamlined technical assessment platform for evaluating candidates' programming skills. This application allows recruiters and hiring managers to create customized assessm…
TypeScript
-
seminar-kong-microservices-jwt
seminar-kong-microservices-jwt PublicKong API Gateway Demo: A practical repository showcasing an Event-Driven Architecture (EDA) proof-of-concept. Features Express.js microservices (Auth, Product) and Kong Gateway in DB-less mode for …
JavaScript 1
-
-
calm-canvas/archetype-theme-kit
calm-canvas/archetype-theme-kit PublicArchetype-Theme-Kit is a high-performance PHP library for WordPress developers. It provides a standardized foundation of core functions, global constants, and reusable utilities. Designed to stream…
PHP
-
calm-canvas/origamiez-premium-free
calm-canvas/origamiez-premium-free PublicOrigamiez is a modern WordPress theme designed for professional blogs, magazines, forums, and online stores. With intelligent responsive design, Origamiez delivers exceptional user experience acros…
PHP
If the problem persists, check the GitHub status page or contact support.