v2.1
New release for translatepy!
translatepy v2.1
Some minor and major updates!
New
- Improved Function and Classes Documentation (ex: the
Request
class) - Lazy Loading of the translators to avoid slowing down the
Translate
class instantiation (on-time translator instantiation) - Support for a single string in the
proxy_urls
parameter forRequest
- Update result models string representation (
__repr__
) - New language data file : minified, fixed, more accurate
- Language name vectors file : minified, with more information (counter) to avoid redundant computation time at startup, curated (less unused languages, making the results more accurate)
- Custom class for language extras
- Fast Mode (concurrent/threaded processing)
- Isolated cache and cache duration set from
Request
instantiation
… and other
Fixes
A lot of patches and fixes have been applied with this update: