0.13.0 (July 10, 2022)#

Bump development status to Development Status :: 3 - Alpha on PyPi. Switched to the PyData Sphinx theme and enabled automatic summaries.

Changed#

  • Name of OfflineError changed to ConnectionStatusError.

  • Moved Cardinality to the mapping namespace.

  • Move utility.perf up one level.

  • Swapped generic TypeVar order for IdType and SourceType to match the name -> source -> ID hierarchy.

Added#

  • Implement override functions in Mapper.apply.

    • Also: Partial implementation of override functions for name-to-source mapping in Translator.translate.

  • Implement reverse translations. Added reverse argument to Translator.translate to translate from translations back to IDs.

  • An option maximal_untranslated_fraction to raise an error if translation fails for too many IDs in Translator.translate.

  • Make it possible to initialize Fetchers from arbitrary packages in Translator.from_config.

  • Make it possible configure ScoreFunctions, FilterFunctions and AliasFunctions from arbitrary modules . (still defaults to package functions).

  • The py.typed marker (PEP-561 compliance).

  • Additional types-modules for typehint imports.

Fixed#

  • Numerous doc fixes.