-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.txt
26 lines (20 loc) · 1.28 KB
/
Readme.txt
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
--------------------------------------------------------|
Welcome to the super cool holiday management system 1.1 |
--------------------------------------------------------|
INTRODUCTION:
This project comes in two parts.
1) The Holiday Scraper (HolidayScraper.py) that scrapes holiday dates off of the website
https://www.timeanddate.com/holidays/us/ and stores it in a .json file, called HolidaysScraped.json. This
scraper can easily be repurposed to scrape data for other years, for a proof of form the year 2021 has been scraped
but a simple change of the https and a couple small modifications to the code.
2) The second part is holiday management system itself or HMS. This program stores an initial dictionary of holidays
called holidayStarter.json and merges the scraped data with this json dictionary. It stores this data in as an
object using classes in python. The HMS has four main functionalities:
1. Adding a new holiday object
2. Remove an existing holiday object
3. Save the current holiday objects to a .json file
4. View the holiday objects based on year and week of year [1-52]
USE:
1) Load all files into a python IDE. I recommend using pycharm.
2) Run the program.
3) Follow input instructions.