jazzband / tablib

Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
https://tablib.readthedocs.io/
MIT License
4.61k stars 593 forks source link

Load formats "on-demand" #422

Closed claudep closed 4 years ago

claudep commented 4 years ago

When you import tablib in a not-too-recent system, you have to wait a bit (~5 seconds on my system), mainly due to all libraries used by all tablib formats being loaded at startup even if they are never used.

I'd suggest to only load the format files/libraries when the format is required by an import or export.