bergamot-translator/bindings/python
Jerin Philip 61d2c35dbd
Set up python packaging for pypi distribution (#424)
Old GitHub CI using Ubuntu and MacOS explicitly and building wheels have
been removed in favour of the more portable pypa specified builds. These
wheels should work just as well across a wider range of distributions.

pybind11:CMakeLists.txt requires Development.Module instead of
Development.* to avoid Embed from getting in the way of manylinux
builds.

manylinux_x86_64 builds are added for cp3.6 - 3.10. The linux build
uses an old image via docker.  Since the docker images are able to use
shared ccache folder, builds quite fast on warm starts.

ccache usage in setup.py is now triggered by an environment variable.
This allows for builds not to fail if ccache not present.

On tag pushes corresponding to versions, CI is configured to deliver
built wheels to PyPI, reading from repository secrets.

Improves setup.py including documentation and some formatting, and
additional links to source.

Fixes: #315
2022-06-20 14:35:29 +01:00
..
__init__.py Batteries included python package (#310) 2022-01-26 20:33:43 +00:00
__main__.py Batteries included python package (#310) 2022-01-26 20:33:43 +00:00
bergamot.cpp Simplify cache config and bind for use in JS (#359) 2022-02-23 13:25:12 +00:00
CMakeLists.txt Set up python packaging for pypi distribution (#424) 2022-06-20 14:35:29 +01:00
cmds.py Batteries included python package (#310) 2022-01-26 20:33:43 +00:00
README.md Set up python packaging for pypi distribution (#424) 2022-06-20 14:35:29 +01:00
repository.py Batteries included python package (#310) 2022-01-26 20:33:43 +00:00
typing_utils.py Batteries included python package (#310) 2022-01-26 20:33:43 +00:00
utils.py Batteries included python package (#310) 2022-01-26 20:33:43 +00:00

bergamot-translator

The Bergamot project adds and improves client-side machine translation in a web browser.

This package provides Python bindings to bergamot-translator developed as part of the Bergamot Project and extras assorted in a package to enable further use of the library developed for local-translation on the consumer machine.

Bergamot is a consortium coordinated by the University of Edinburgh with partners Charles University in Prague, the University of Sheffield, University of Tartu, and Mozilla.