Python Package
Currently LingoDB is distributed as two seperate python packages:
lingodb-bridge
: bundles LingoDB as a binary and implements a basic integration using pybind11lingodb
: a python-only library that wrapslingodb-bridge
and provides a nice interface (and much more in the future)
Working on lingo-db
If you only plan to adapt/extend the python implementation, you do not have to build the lingodb-bridge
package yourselve.
First install the current version of the lingodb-bridge
package.
pip install lingodb-bridge
Then, install the package in development mode so that you can just change the code (tools/python/lingodb
) and directly test the changes:
cd tools/python
python -m pip install -e .
For building a release package:
cd tools/python
python -m build .