License
- **Switched to GNU Lesser General Public License (LGPL)**: This update marks a change in the licensing of EasyTL, providing more freedom in how the software can be used and integrated into other projects.
- **Readme Update**: The readme file has been updated to reflect the change in the license. It now includes information regarding the GNU Lesser General Public License.
New Features
- **API Validation and Exception Handling**:
- Added license disclaimer and set up API validation for Google Translate services.
- Implemented general exception exposure to help with debugging and error tracking.
- **Asynchronous Translation**:
- Adjusted the DeepL service to handle asynchronous translations more effectively.
- **New Translation Services**:
- Added translation methods for both Gemini and OpenAI, supporting both synchronous and asynchronous operations.
- **Cost Calculation**:
- Added a utility module that includes model costs and allowed models, making it easier to manage resources and budget for translations.
- Enhanced the system to calculate costs across all supported translation services, accompanied by a multitude of assorted bug fixes.
Improvements and Bug Fixes
- **Error Handling and Configuration**:
- Added base EasyTL exception classes, including a specific exception for invalid EasyTL settings, enhancing error handling and configuration validation.
- **Service Integration and Configuration**:
- Added support for allowed OpenAI and Gemini models which can now be imported and utilized within the EasyTL framework, offering more options and flexibility for translation services.
- **General Enhancements**:
- Assorted bug fixes and improvements across the board to ensure smoother operation and integration of new features.
- **Documentation Updates**:
- The readme file has been updated to include information about new features, cost calculation methods, and the inclusion of new translation services.