How to use the pyforest.lazy_imports function in pyforest

To help you get started, we’ve selected a few pyforest examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 8080labs / pyforest / tests / test_pyforest.py View on Github external
def test_lazy_imports():
    from pyforest import lazy_imports

    # if the module e.g. "re" has been imported in test_imports() this test will fail
    assert "import re" in lazy_imports()

pyforest

Lazy-import of all popular Python Data Science libraries. Stop writing the same imports over and over again.

MIT
Latest version published 5 months ago

Package Health Score

74 / 100
Full package analysis