Resetting utils subtree.

This commit is contained in:
2025-11-14 17:00:18 +05:30
parent 9049a01292
commit 5a3ed7106d
226 changed files with 0 additions and 151722 deletions
-102
View File
@@ -1,102 +0,0 @@
"""
AUTHOR:
Khushal P Soonderji
DATE:
Tuesday, 14th Oct., 2025.
OBJECTIVE:
To provide a standard logo that can be rendered from anywhere.
REFERENCES:
1) https://docs.streamlit.io/develop/api-reference
DOWNLOADS:
N/A
"""
# *****************************************************************************************************************
# ***** ****
# *** IMPORT ***
# ***** ****
# *****************************************************************************************************************
# To make sibling directories accessible for imports:
import sys
sys.path.append(".")
sys.path.append("..")
# Streamlit:
import streamlit as st
# For working with datatypes:
from typing import Literal
# *****************************************************************************************************************
# ***** ****
# *** MACROS / ONE-TIME INIT ***
# ***** ****
# *****************************************************************************************************************
# --- Nothing Yet
# *****************************************************************************************************************
# ***** ****
# *** VARIABLES ***
# ***** ****
# *****************************************************************************************************************
# --- Nothing Yet
# *****************************************************************************************************************
# ***** ****
# *** FUNCTIONS ***
# ***** ****
# *****************************************************************************************************************
def draw(
full_image: str,
icon_image: str,
size: Literal["small", "medium", "large"] = "large",
) -> None:
"""
Draws the logo of the site with the provided inputs.
:param full_image: The full-sized image to when the sidebar is open.
:param icon_image: The icon-size image to use when the sidebar is closed.
:param size: The desired size of the logo.
:return: None.
"""
st.logo(
image = full_image,
icon_image = icon_image,
size = size
)
# *****************************************************************************************************************
# ***** ****
# *** MAIN PROGRAM ***
# ***** ****
# *****************************************************************************************************************
if __name__ == "__main__":
pass