Skip to content

v2.1.1

Choose a tag to compare

@monosans monosans released this 07 Nov 15:57
· 33 commits to main since this release
  • Import a language's models the first time they are used, not all 76 with the package: import pywttr_models takes about 15 ms instead of 520 ms, and asking for one language, through Language.RU._model_ or pywttr_models.ru, loads only its models. AnyModel, the union of all of them, still loads every language when it is used at runtime.