Open-source offline translation library written in Python
Argos Translate uses OpenNMT for translations and can be used as either a Python library, command-line, or GUI application.
Argos Translate supports installing language model packages which are zip archives with a ".argosmodel" extension containing the data needed for translation.
LibreTranslate is an API and web-app built on top of Argos Translate.