This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author: Sven Bosau | |
# YouTube: https://youtube.com/@codingisfun | |
# This script is a modified version of the original code from the following video: | |
# https://github.com/Sven-Bo/word-entry-form/blob/master/2.Step%20-%20Create%20GUI/Vendor_Contract_Example/vendor-contract-gui.py | |
# The modification allows the user to save generated documents in a specified folder. | |
import datetime | |
from pathlib import Path | |
import PySimpleGUI as sg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas_datareader as pdr # pip install pandas-datareader | |
import pandas as pd | |
start = "2020-01-01" | |
end = "2020-07-31" | |
# List of FRED codes for economic indicators | |
economic_indicators = { | |
"GDP": "GDP", | |
"Unemployment Rate": "UNRATE", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests # pip install requests | |
import streamlit as st # pip install streamlit | |
from streamlit_lottie import st_lottie # pip install streamlit-lottie | |
# GitHub: https://github.com/andfanilo/streamlit-lottie | |
# Lottie Files: https://lottiefiles.com/ | |
def load_lottiefile(filepath: str): |
NewerOlder