Easytl

Latest version: v0.5.1

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

0.1.2

Upgrades
- **Google GenerativeAI 0.5.0 Integration**: Moved to google-generativeai 0.5 to utilize its system prompt feature, enhancing prompt handling capabilities.

New Features
- **OpenAI Exception Handling**: Enhanced exception management with more OpenAI exceptions made importable, improving error resolution processes.
- **Gemini System Parameter**: Introduced system parameter support for the pro-1.5 Gemini model, enabling more refined control over translation configurations.
- **Asynchronous Request Management**: Added semaphore mechanisms for managing asynchronous requests and included the ability to customize semaphore settings, optimizing resource usage during high concurrency.

Improvements and Bug Fixes
- **DeepL Parameter Fix**: Corrected the default parameter for target language in DeepL translation methods, ensuring accuracy in language targeting.
- **Parameter Validation Enhancements**: Made several minor improvements in parameter validation to ensure robustness and reliability in API interactions.

What's Changed
* Implement system message for gemini-pro 1.5 by Bikatr7 in https://github.com/Bikatr7/EasyTL/pull/3
* Thanks to trulybeloved for the idea to add semaphore and planned logging functionality.

**Full Changelog**: https://github.com/Bikatr7/EasyTL/compare/v0.1.1...v0.1.2

0.1.1

APIConnectionError and APIStatusError from OpenAI are now importable from init.py

0.1.0

Redid model cost estimates, updated new models as of 4-9-24, fixed cost estimation.

0.0.4

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.

0.0.3

New Features:
- Added an option to include decorators when using DeepL for translation.

Enhancements:
- Updated the `google-generativeai` dependency to version 0.4.1.
- Transitioned to an internal API following the PEP (Python Enhancement Proposal) specification, laying groundwork for future expansions.

Preparations:
- Made internal changes in preparation for support of OpenAI and Gemini integrations.

Documentation:
- Updated the README.md file to reflect these changes.

**Full Changelog**: https://github.com/Bikatr7/EasyTL/compare/v0.0.2...v0.0.3

0.0.2

DeepL official support

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.