描述
With PyBridge it is possible to run Python scripts by bridging the code implemented in the project created with other platforms.
With PyBridge it is possible to create scripts that will run on:
1. Linux; 2. macOS; 3. Windows;
Note: PyBridge was born from Python 3.9. For this reason, the same version of Python (version 3.9) or higher is recommended to run the system.
PyBridge has a standard error handling library that can run in any environment. Every method implemented within the library can be called from any part of the code. That way, it is not necessary to implement the raise RuntimeError() exception call inside the program's runtime library. Just import the module and reference the function call according to the treatment that must be executed.
Note: Read more about the ErrorReport module in PyBridge Modules below.
• PyBridge Modules
The following modules are part of PyBridge:
• ErrorReport: The module contains two files with the purpose of raising errors generated by the program, in addition to checking minimum requirements for execution. - ErrorList.py: This library contains events that are raised when the program execution needs to be interrupted. - SystemRequirements.py: This library is used to check if the system complies with the minimum requirements to run.
• Linux: The module contains four libraries organized to run the program in a Linux environment - Linux.py: Codes implemented in this library will be executed before the Main Script. - LinuxApp.py: This library is used to implement code that will run in the Linux environment - FileSystem.py: This library contains default directories in Linux environments - SplashScreen.py: This library contains information about your project
• Mac: The module contains four libraries organized to run the program on macOS - Mac.py: Codes implemented in this library will be executed before the Main Script. - MacApp.py: This library is used to implement code that will run on macOS - FileSystem.py: This library contains standard macOS directories - SplashScreen.py: This library contains information about your project
• Windows: The module contains four libraries organized to run the program on Windows - Windows.py: Codes implemented in this library will be executed before the Main Script. - WindowsApp.py: This library is used to implement code that will run on Windows - FileSystem.py: This library contains standard Windows directories - SplashScreen.py: This library contains information about your project