#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Entrypoint of the Project.
This project serves as a template for building a more elaborate routine with specific functionalities.
By default this project includes the utils module, where functions are defined to relaunch the instance
of a logger and print the general aspects of the python version.
"""
# Custom imports
from initialization.system_information import print_python_details
from initialization.logger_control import start_logger, get_logger
# Star logger
start_logger()
logger = get_logger(__name__)
[docs]
def main_process() -> bool:
"""_summary_
Returns:
bool: _description_
"""
try:
logger.info("Running main process.\n")
print_python_details()
return True
except Exception as e:
logger.error(e)
return False
if __name__ == "__main__":
# Start the main execution process
if main_process():
logger.info("Successful execution.")
else:
logger.error("Failed execution.")