Hi @mocnik-science,
thanks a lot for this very useful python package.
I am using OSMPythonTools in a server context and recognized, that there are some really heavy dependencies: matplotlib, numpy and pandas. Would you mind making these optional, as they are only used by the data module?
Here is a comparison of the virtual environment folder (Linux) with and without optional dependencies:
all requirements: 260 MB | 24 packages
without data requirements: 40 MB | 11 packages
Besides modifying setup.py, I did add some documentation where applicable.
Unfortunately I was not able to run the tests. This should be no problem, as there were no changes to the internal code. The output of pytest --verbose is:
Hi @mocnik-science, thanks a lot for this very useful python package.
I am using OSMPythonTools in a server context and recognized, that there are some really heavy dependencies:
matplotlib
,numpy
andpandas
. Would you mind making these optional, as they are only used by thedata
module?Here is a comparison of the virtual environment folder (Linux) with and without optional dependencies:
data
requirements: 40 MB | 11 packagesBesides modifying
setup.py
, I did add some documentation where applicable.Unfortunately I was not able to run the tests. This should be no problem, as there were no changes to the internal code. The output of
pytest --verbose
is: