Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 1.15 KB

README.md

File metadata and controls

33 lines (17 loc) · 1.15 KB

About

Python program that fetches today's holidays from nationaldaycalendar and formats into a text message to send to friends.

Tech

  • Python

    • BeautifulSoup: used to parse html retrieved from the website.

    • Emoji: used to convert text to emojis for the text message.

    • Pyperclip: used for copying to clipboard for each operating system.

Setup

  1. git clone https://github.com/eric-mahoney/national-holidays.git.

  2. Navigate to the directory that this repo was cloned to.

  3. Install pipenv if you haven't already: pip install pipenv (or pip3 install pipenv if using python3 alias in cli).

  4. Install all dependencies for the project: pipenv install.

Use

  1. Make sure you're in the directory that this was repo was cloned to.

  2. Run the script by running py Main.py or py3 Main.py depending on your alias.

  3. The script should run and copy the contents of the holidays to your clipboard.

  4. Paste this anywhere you'd like to share it with people: text, email, social media, etc.