I am a self motivated student currently pursuing a Master of Computer Applications at the College of Engineering, Guindy. Discovered my passion for crafting data-driven applications, I naturally gravitated towards the dynamic realm of software engineering. Presently, I am engaged in self-paced mini-projects focusing on both machine learning and backend development, honing my skills and expanding my knowledge in these fields.
- 🔭 I’m currently working on Deep Learning
- 🌱 I’m currently learning Computer Vision
- 👯 I’m looking to collaborate on Machine Learning
- 😄 Pronouns : Siva/Prakash
- ⚡ Fun fact : I listen to music atleast 30 mins/day
- 🎉 Merged PR #5 in Prakashdeveloper03/CareerBot
- 💪 Opened PR #5 in Prakashdeveloper03/CareerBot
- 🔒 Closed issue #4 in Prakashdeveloper03/CareerBot
- ❌ Closed PR #5 in rizkimcitra/expense-app
- 💪 Opened PR #5 in rizkimcitra/expense-app
from fastapi import FastAPI, HTTPException, status
from datetime import datetime
app = FastAPI()
@app.get("/name", status_code=status.HTTP_200_OK)
async def get_name():
return {"Name": "Siva Prakash"}
@app.get("/age", status_code=status.HTTP_200_OK)
async def get_age():
birth_date = datetime(2001, 3, 10)
current_year = datetime.now().year
age = current_year - birth_date.year
if datetime.now() < datetime(current_year, 3, 10):
age -= 1
return {"Age": age}
@app.get("/description", status_code=status.HTTP_200_OK)
async def get_description():
return {"Description": ["Passionate", "Optimistic", "Energetic", "Team Player"]}
@app.get("/education", status_code=status.HTTP_200_OK)
async def get_education():
education = [
{"College": "College of Engineering, Guindy", "Year": [2022, 2023, 2024]},
{"College": "Apollo arts and science college", "Year": [2019, 2020, 2021, 2022]},
{"School": "Seventh Day Adventist Matriculation Higher Secondary School", "Year": [2017, 2018, 2019]}
]
return education
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=5000)