Lazy-imports-lite

Latest version: v0.1.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.1

Fix

- skip modules with exec/eval

0.1.0

Feat

- support for namespace packages
- added `lazy-imports-lite preview` command
- allow setattr for lazy module attributes
- raise LazyImportError if an error is raised during the lazy importing of a module
- disable lazy-imports with LAZY_IMPORTS_LITE_DISABLE
- loader works for simple examples
- implemented import & import as
- globals returns the imported modules
- globals returns the imported modules

Fix

- support packages with different names than the project
- fixed windows support
- use __package__ to find modules
- fixed some issues
- hide LazyObjects from modules

Refactor

- scan distributions at startup
- renamed v to _lazy_value

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.