Universite-Gustave-Eiffel / Tempus

C++ framework to develop multimodal path planning requests
76 stars 13 forks source link

Python API #38

Closed mhugo closed 7 years ago

mhugo commented 7 years ago

Add the ability to write graph plugins in Python. This would involve:

Tasks:

mhugo commented 7 years ago

Interesting concept here : https://www.tensorflow.org/versions/0.6.0/get_started/basic_usage.html where the user inputs a "computation graph" that is then "compiled" and send to CPU/GPU. Avoid making actual computations inside Python. Would it make sense for Tempus ?

mhugo commented 7 years ago

Consider the following libs for integration or inspiration:

mhugo commented 7 years ago

We went for boost python

mhugo commented 7 years ago

We can avoid to embed a Python interpreter by allowing a python module to be loaded as a plugin when the application is made in Python. See for instance an example here https://github.com/Ifsttar/Tempus/blob/dev/python/pytempus/standalone/main.py#L41

The modification of QGIS plugin is postponed to the next release