Rename Dockerfile to app.py
Browse files- Dockerfile +0 -20
- app.py +104 -0
Dockerfile
DELETED
|
@@ -1,20 +0,0 @@
|
|
| 1 |
-
FROM python:3.13.5-slim
|
| 2 |
-
|
| 3 |
-
WORKDIR /app
|
| 4 |
-
|
| 5 |
-
RUN apt-get update && apt-get install -y \
|
| 6 |
-
build-essential \
|
| 7 |
-
curl \
|
| 8 |
-
git \
|
| 9 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
-
|
| 11 |
-
COPY requirements.txt ./
|
| 12 |
-
COPY src/ ./src/
|
| 13 |
-
|
| 14 |
-
RUN pip3 install -r requirements.txt
|
| 15 |
-
|
| 16 |
-
EXPOSE 8501
|
| 17 |
-
|
| 18 |
-
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 19 |
-
|
| 20 |
-
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import pandas as pd
|
| 3 |
+
import plotly.express as px
|
| 4 |
+
|
| 5 |
+
# Page Configuration
|
| 6 |
+
st.set_page_config(page_title="Jashan Malhotra | Portfolio", page_icon="π", layout="wide")
|
| 7 |
+
|
| 8 |
+
# Custom CSS for Dark Mode Aesthetic
|
| 9 |
+
st.markdown("""
|
| 10 |
+
<style>
|
| 11 |
+
.main { background-color: #0e1117; color: #ffffff; }
|
| 12 |
+
.stButton>button { background-color: #007bff; color: white; border-radius: 5px; }
|
| 13 |
+
.experience-card { padding: 15px; border-radius: 10px; border-left: 5px solid #007bff; margin-bottom: 10px; background-color: #1e2130; }
|
| 14 |
+
</style>
|
| 15 |
+
""", unsafe_allow_html=True)
|
| 16 |
+
|
| 17 |
+
# --- SIDEBAR NAVIGATION ---
|
| 18 |
+
st.sidebar.title("π Navigation")
|
| 19 |
+
page = st.sidebar.radio("Go to", ["Home", "Experience", "Technical Toolkit", "Projects", "Education"])
|
| 20 |
+
|
| 21 |
+
# --- DATA ---
|
| 22 |
+
skills_data = {
|
| 23 |
+
"Skill": ["Python", "SQL", "Data Engineering", "Machine Learning", "Data Visualization", "API Integration"],
|
| 24 |
+
"Proficiency": [95, 90, 85, 75, 85, 80]
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
# --- HOME / HERO SECTION ---
|
| 28 |
+
if page == "Home":
|
| 29 |
+
col1, col2 = st.columns([2, 1])
|
| 30 |
+
with col1:
|
| 31 |
+
st.title("Jashan Malhotra")
|
| 32 |
+
st.subheader("Software Engineer & Data Analyst")
|
| 33 |
+
st.write("π Bengaluru, India")
|
| 34 |
+
st.write("""
|
| 35 |
+
Professional with 3+ years of experience in Python, SQL, and AI integration.
|
| 36 |
+
Specialized in building automated reporting systems and data pipelines[cite: 7, 8].
|
| 37 |
+
""")
|
| 38 |
+
|
| 39 |
+
# Social Links
|
| 40 |
+
st.markdown("[LinkedIn](https://linkedin.com) | [GitHub](https://github.com) | [Leetcode](https://leetcode.com)")
|
| 41 |
+
st.button("π Download Summary PDF")
|
| 42 |
+
|
| 43 |
+
# --- EXPERIENCE SECTION ---
|
| 44 |
+
elif page == "Experience":
|
| 45 |
+
st.header("π Professional Journey")
|
| 46 |
+
|
| 47 |
+
with st.expander("Product Trainer (Tech & Data Platforms) | Allen Digital", expanded=True):
|
| 48 |
+
st.write("**Sept 2025 β Present** [cite: 13, 14]")
|
| 49 |
+
st.write("- Delivered technical product enablement across 80+ centers[cite: 15].")
|
| 50 |
+
st.write("- Improved resolution workflows, achieving 80%+ same-day issue closure[cite: 16].")
|
| 51 |
+
|
| 52 |
+
with st.expander("Inside Sales Associate | Intellipaat"):
|
| 53 |
+
st.write("**Apr 2025 β Sept 2025** [cite: 18, 20]")
|
| 54 |
+
st.write("- Analyzed lead and conversion data using SQL to identify performance trends[cite: 20].")
|
| 55 |
+
|
| 56 |
+
with st.expander("Python Trainer | Whizrobo"):
|
| 57 |
+
st.write("**Feb 2024 β Feb 2025** [cite: 23, 40]")
|
| 58 |
+
st.write("- Taught Python, SQL, and data structures to 700+ students.")
|
| 59 |
+
|
| 60 |
+
# --- TECHNICAL TOOLKIT ---
|
| 61 |
+
elif page == "Technical Toolkit":
|
| 62 |
+
st.header("π οΈ Technical Toolkit")
|
| 63 |
+
df_skills = pd.DataFrame(skills_data)
|
| 64 |
+
fig = px.bar(df_skills, x='Proficiency', y='Skill', orientation='h',
|
| 65 |
+
title="Proficiency Radar", color='Proficiency', color_continuous_scale='Blues')
|
| 66 |
+
st.plotly_chart(fig, use_container_width=True)
|
| 67 |
+
|
| 68 |
+
st.markdown("""
|
| 69 |
+
**Core Competencies:**
|
| 70 |
+
* **Programming:** Python, SQL, Java (Basic), OOP [cite: 10]
|
| 71 |
+
* **Data:** Pandas, NumPy, Statistics, MySQL, Power BI [cite: 11]
|
| 72 |
+
* **AI:** OpenAI APIs, Hugging Face, LLM Integration [cite: 11]
|
| 73 |
+
""")
|
| 74 |
+
|
| 75 |
+
# --- PROJECTS SECTION ---
|
| 76 |
+
elif page == "Projects":
|
| 77 |
+
st.header("π Featured Projects")
|
| 78 |
+
p1, p2 = st.columns(2)
|
| 79 |
+
|
| 80 |
+
with p1:
|
| 81 |
+
st.subheader("Gold Market Intelligence")
|
| 82 |
+
st.info("#Pandas #Seaborn #Kaggle")
|
| 83 |
+
st.write("EDA on historical gold prices to identify market volatility[cite: 51].")
|
| 84 |
+
st.link_button("View on GitHub", "https://github.com")
|
| 85 |
+
|
| 86 |
+
with p2:
|
| 87 |
+
st.subheader("Daily Habit Tracker")
|
| 88 |
+
st.info("#FullStack #Productivity")
|
| 89 |
+
st.write("Web application for personal productivity and habit consistency[cite: 57].")
|
| 90 |
+
st.link_button("View Live Demo", "https://huggingface.co")
|
| 91 |
+
|
| 92 |
+
# --- EDUCATION & HONORS ---
|
| 93 |
+
elif page == "Education":
|
| 94 |
+
st.header("π Education & Certifications")
|
| 95 |
+
st.write("### M.Tech in Blockchain Technology")
|
| 96 |
+
st.write("IIT Patna | 2025 β Present ")
|
| 97 |
+
|
| 98 |
+
st.write("### B.Tech in Information Technology")
|
| 99 |
+
st.write("GNDEC Ludhiana | CGPA: 8.02/10 [cite: 81, 84, 89]")
|
| 100 |
+
|
| 101 |
+
st.divider()
|
| 102 |
+
st.write("### π Achievements")
|
| 103 |
+
st.write("- **First Prize**: Generative AI Hackathon [cite: 92]")
|
| 104 |
+
st.write("- **NCC 'C' Certificate**: Grade A [cite: 93]")
|