libpysal icon indicating copy to clipboard operation
libpysal copied to clipboard

Make Load Examples Optional

Open Cheetos opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

In libpysal/__init__.py, you have the following import.

from . import examples

and inside the __init__.py of the examples package, it is loading the examples every time, which is time-consuming.

Describe the solution you'd like

I was wondering if loading the examples could be optional since it is time-consuming because always loads the examples from the internet.

Describe alternatives you've considered

We have considered creating a Fork and avoiding loading the examples every time, but it is not desirable.

Additional context Add any other context or screenshots about the feature request here.

Cheetos avatar May 10 '23 16:05 Cheetos

xref https://github.com/pysal/libpysal/issues/522

sjsrey avatar May 27 '23 15:05 sjsrey