# pyhasher/__main__.py import tkinter as tk from pyhasher.gui.gui import PyHasherApp def main(): """ Main function to initialize and run the PyHasher application. This function sets up the main Tkinter window and starts the GUI application. """ # Create the main window root = tk.Tk() # Create an instance of the application app = PyHasherApp(root) # Start the Tkinter event loop root.mainloop() if __name__ == "__main__": # This block allows the script to be run directly, # though the primary entry point is via 'python -m pyhasher' main()