File size: 1,567 Bytes
26eddcc
 
 
 
 
 
b8dc332
26eddcc
 
 
 
a1ceec7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26eddcc
a1ceec7
 
732b899
a1ceec7
 
 
 
 
 
732b899
 
a1ceec7
 
 
 
 
732b899
a1ceec7
732b899
a1ceec7
26eddcc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
title: Age Calculator
emoji: πŸ“…
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: "1.46.1"
app_file: app.py
pinned: false
---

# πŸ“… Age Calculator App (Years, Months, Days)

This is a simple and interactive web app built using **Streamlit** that allows users to calculate their exact age in **years, months, and days** based on their birthdate.

---

## πŸš€ Features

- Select your **birthdate** using a calendar widget
- Displays your age in a friendly format:
  > πŸŽ‰ You are 25 years, 3 months, and 12 days old!
- Clean, responsive interface powered by Streamlit

---

## πŸ“¦ Requirements

This app uses the following Python packages:

- `streamlit`
- `python-dateutil`

These are already included in the `requirements.txt` file.

---

## πŸ“ Files Included

- `app.py` β€” Main application file
- `requirements.txt` β€” Python dependencies
- `README.md` β€” You're reading it!

---

## 🌐 Deployment

You can deploy this app on:

### ➀ Hugging Face Spaces

1. Go to [https://huggingface.co/spaces](https://huggingface.co/spaces)
2. Click on **Create New Space**
3. Choose:
   - SDK: **Streamlit**
   - Python version: 3.9 or 3.10
4. Upload:
   - `app.py`
   - `requirements.txt`
   - `README.md`
5. Done! Your app is live πŸŽ‰

---

## πŸ§‘β€πŸ’» Built With

- [Streamlit](https://streamlit.io)
- [Python Dateutil](https://dateutil.readthedocs.io/)

---

## πŸ“œ License

This project is open-source and free to use.

---

## πŸ™‹β€β™‚οΈ Author

**Najaf Ali**  
_A non-CS professional building AI-powered education tools using GenAI_