From 6e15d2714234c9cd64e248c346fce5cfcc107021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=A0s?= Date: Sat, 13 Jan 2024 10:46:39 +0100 Subject: [PATCH] Add more informations about me and animated emojis --- .gitignore | 2 + README.md | 25 +++-- assets/banner.svg | 222 --------------------------------------- requirements | 3 +- src/config.py | 14 +-- src/model/skill_list.py | 18 ++-- src/model/social_list.py | 13 +-- src/template.py | 2 +- template.md | 27 ++--- 9 files changed, 50 insertions(+), 276 deletions(-) delete mode 100644 assets/banner.svg diff --git a/.gitignore b/.gitignore index c9c738e..241e833 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .idea/ .vscode/ +venv/ + .DS_Store diff --git a/README.md b/README.md index 0fa24e1..a45b9ad 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,22 @@ -
-
+## Hi there! Waving Hand -![Hi I'm Lucàs👋](assets/banner.svg) +I'm **Lucàs**, a passionate developer based in 🇫🇷 **Pau, France**.
+My journey in the world of programming started 7 years ago when I fell in love with ![HTML5](https://img.shields.io/static/v1?message=HTML5&logo=html5&logoColor=white&label=+&color=E34F26) ![CSS3](https://img.shields.io/static/v1?message=CSS3&logo=css3&logoColor=white&label=+&color=1572B6) ![JavaScript](https://img.shields.io/static/v1?message=JavaScript&logo=javascript&logoColor=white&label=+&color=F7DF1E). -
-
+### Rocket What I do -## 🚀 About Me +- 💻 Currently, I'm studying at **UPPA** for my Master's degree in Informatics. +- 🌐 I specialize in Web Development, and I'm always eager to explore new technologies and frameworks. +- 🌱 I'm constantly learning and expanding my skill set to stay up-to-date with the ever-evolving tech landscape. -I'm a passionate developer from 🇫🇷 **Pau, France**. - -## 🔗 Social Links +### Globe Showing Europe-Africa Connect with me [![Linkedin](https://img.shields.io/static/v1?message=LinkedIn&style=for-the-badge&logo=linkedin&logoColor=white&label=+&color=0A66C2&link=https%3A%2F%2Fwww.linkedin.com%2Fin%2Flucasvbr)](https://www.linkedin.com/in/lucasvbr) [![FreeCodeCamp](https://img.shields.io/static/v1?message=freeCodeCamp&style=for-the-badge&logo=freecodecamp&logoColor=white&label=+&color=0A0A23&link=https%3A%2F%2Fwww.freecodecamp.org%2FLucasVbr)](https://www.freecodecamp.org/LucasVbr) [![OpenClassRooms](https://img.shields.io/static/v1?message=OpenClassRooms&style=for-the-badge&logoColor=white&label=+&color=black&link=https%3A%2F%2Fopenclassrooms.com%2Ffr%2Fmembers%2F97j9zltv6225)](https://openclassrooms.com/fr/members/97j9zltv6225) [![Exercism](https://img.shields.io/static/v1?message=Exercism&style=for-the-badge&logo=exercism&logoColor=white&label=+&color=009CAB&link=https%3A%2F%2Fexercism.org%2Fprofiles%2FLucasVbr)](https://exercism.org/profiles/LucasVbr) -## 🛠 Skills +### Hammer and Wrench Tech Stack ![Android](https://img.shields.io/static/v1?message=Android&logo=android&logoColor=white&label=+&color=3DDC84) ![Angular](https://img.shields.io/static/v1?message=Angular&logo=angular&logoColor=white&label=+&color=DD0031) @@ -48,6 +47,10 @@ I'm a passionate developer from 🇫🇷 **Pau, France**. ![Symfony](https://img.shields.io/static/v1?message=Symfony&logo=symfony&logoColor=white&label=+&color=000000) ![TypeScript](https://img.shields.io/static/v1?message=TypeScript&logo=typescript&logoColor=white&label=+&color=3178C6) +### Handshake Let's collaborate + +👀 I'm always open to collaboration and exciting projects. If you have something in mind, feel free to reach out! + --- \ No newline at end of file + diff --git a/assets/banner.svg b/assets/banner.svg deleted file mode 100644 index bb07842..0000000 --- a/assets/banner.svg +++ /dev/null @@ -1,222 +0,0 @@ - - -
- -
-

Hi I'm Lucàs👋

-

Hi I'm Lucàs👋

-

Hi I'm Lucàs👋

-
-
-
-
\ No newline at end of file diff --git a/requirements b/requirements index 5b4e75c..98eb82d 100644 --- a/requirements +++ b/requirements @@ -1,4 +1,5 @@ pyyaml json requests -simpleicons \ No newline at end of file +simpleicons +urllib3 \ No newline at end of file diff --git a/src/config.py b/src/config.py index 0f56f1b..71a72e1 100644 --- a/src/config.py +++ b/src/config.py @@ -1,7 +1,7 @@ import yaml -from src.model.skill_list import SkillList +from src.model.skill_list import skill_list import requests -from src.model.social_list import SocialList +from src.model.social_list import social_list class Config: @@ -22,16 +22,10 @@ class Config: raise Exception("User not found") self.config_data["user"] = response.json() - def handle_skill_section(self): - self.config_data["skills"] = str(SkillList(self.config_data["skills"])) - - def handle_social_section(self): - self.config_data["socials"] = str(SocialList(self.config_data["socials"])) - def get_data(self): self.load_config_file() self.handle_user_info() - self.handle_skill_section() - self.handle_social_section() + self.config_data["skills"] = skill_list(self.config_data["skills"]) + self.config_data["socials"] = social_list(self.config_data["socials"]) return self.config_data diff --git a/src/model/skill_list.py b/src/model/skill_list.py index e30517d..ee746ad 100644 --- a/src/model/skill_list.py +++ b/src/model/skill_list.py @@ -1,15 +1,11 @@ from src.model.skill import Skill -class SkillList: - skills: list[Skill] +def skill_list(skills: list[str]) -> dict[str, str]: + # Sort and remove duplicates + skills = list(set(skills)) + skills.sort() - def __init__(self, skills: list[str]): - # Sort and remove duplicates - skills = list(set(skills)) - skills.sort() - - self.skills = [Skill(skill) for skill in skills] - - def __str__(self) -> str: - return "\n".join([str(skill) for skill in self.skills]) + skills = {skill: Skill(skill).__str__() for skill in skills} + skills["all"] = "\n".join([str(skill) for skill in skills.values()]) + return skills diff --git a/src/model/social_list.py b/src/model/social_list.py index 0d6b2a9..f3106ca 100644 --- a/src/model/social_list.py +++ b/src/model/social_list.py @@ -1,11 +1,8 @@ from src.model.social import Social -class SocialList: - socials: list[Social] - - def __init__(self, socials: list): - self.socials = [Social(social.get("name"), social.get("url")) for social in socials] - - def __str__(self) -> str: - return "\n".join([str(social) for social in self.socials]) +def social_list(socials: list) -> dict[str, str]: + socials: dict[str, str] = {social.get("name"): str(Social(social.get("name"), social.get("url"))) for social in + socials} + socials["all"] = "\n".join([str(social) for social in socials.values()]) + return socials diff --git a/src/template.py b/src/template.py index c96987b..b5a91f9 100644 --- a/src/template.py +++ b/src/template.py @@ -3,7 +3,7 @@ class Template: def __init__(self, template_path: str): self.template_path = template_path - def render(self, **kwargs) -> str: + def render(self, **kwargs): with open(self.template_path, 'r') as f: template = f.read() diff --git a/template.md b/template.md index 2fe98e1..181c03b 100644 --- a/template.md +++ b/template.md @@ -1,22 +1,25 @@ -
-
+## Hi there! Waving Hand -![Hi I'm Lucàs👋](assets/banner.svg) +I'm **{user[name]}**, a passionate developer based in 🇫🇷 **{user[location]}**.
+My journey in the world of programming started 7 years ago when I fell in love with {skills[HTML5]} {skills[CSS3]} {skills[JavaScript]}. -
-
+### Rocket What I do -## 🚀 About Me +- 💻 Currently, I'm studying at **{user[company]}** for my Master's degree in Informatics. +- 🌐 I specialize in Web Development, and I'm always eager to explore new technologies and frameworks. +- 🌱 I'm constantly learning and expanding my skill set to stay up-to-date with the ever-evolving tech landscape. -I'm a passionate developer from 🇫🇷 **{user[location]}**. +### Globe Showing Europe-Africa Connect with me -## 🔗 Social Links +{socials[all]} -{socials} +### Hammer and Wrench Tech Stack -## 🛠 Skills +{skills[all]} -{skills} +### Handshake Let's collaborate + +👀 I'm always open to collaboration and exciting projects. If you have something in mind, feel free to reach out! --- @@ -30,4 +33,4 @@ I'm a passionate developer from 🇫🇷 **{user[location]}**. ![Made with love](https://img.shields.io/badge/-made%20with%20%E2%9D%A4%EF%B8%8F-red) - \ No newline at end of file +