Skip to content

small python script that pulls national holidays for the day and formats it into a text to send to friends

Notifications You must be signed in to change notification settings

eric-mahoney/national-holidays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

small python script that pulls national holidays for the day and formats it into a text to send to friends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages