telekom / lazy-imports

Python tool to support lazy imports.
Apache License 2.0
25 stars 1 forks source link

Question about which packages this can be used with #15

Open jonesnc opened 10 months ago

jonesnc commented 10 months ago

I'm a little confused about where I can use this. Does the package author have to incorporate lazy-imports into their code in order to lazily load it? Or, could I import pandas, for example, lazily without having to modify the pandas source code?

PhilipMay commented 10 months ago

Hey @jonesnc :-)

Please have a look at this example: https://github.com/telekom/lazy-imports#usage--example-for-lazyimporter