Ducktools-lazyimporter

Latest version: v0.7.1

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

Scan your dependencies

Page 1 of 3

0.7.1

What's Changed
* Fail if a submodule import without an assigned name is detected in an import capture block by DavidCEllis in https://github.com/DavidCEllis/ducktools-lazyimporter/pull/29


**Full Changelog**: https://github.com/DavidCEllis/ducktools-lazyimporter/compare/v0.7.0...v0.7.1

0.7.0

What's Changed
* Add an experimental context manager that captures import statements to populate a LazyImporter by DavidCEllis in https://github.com/DavidCEllis/ducktools-lazyimporter/pull/27


**Full Changelog**: https://github.com/DavidCEllis/ducktools-lazyimporter/compare/v0.6.0...v0.7.0

0.6.0

What's Changed
* Rename import method from `do_import` to `import_objects`. by DavidCEllis in https://github.com/DavidCEllis/ducktools-lazyimporter/pull/25

**Full Changelog**: https://github.com/DavidCEllis/ducktools-lazyimporter/compare/v0.5.1...v0.6.0

0.5.1

What's Changed
* Add a try-fallback import that puts an object in place of a failed import. by DavidCEllis in https://github.com/DavidCEllis/ducktools-lazyimporter/pull/16
* Add environment variables/globals/arguments to enable/disable eager process/export by DavidCEllis in https://github.com/DavidCEllis/ducktools-lazyimporter/pull/17


**Full Changelog**: https://github.com/DavidCEllis/ducktools-lazyimporter/compare/v0.4.0...v0.5.1

0.4.0

What's Changed

* Add `force_imports` function to eagerly import all attributes in a lazy importer

0.3.0

What's Changed
* Convert to folder module from single file. by DavidCEllis in https://github.com/DavidCEllis/ducktools-lazyimporter/pull/12
* Require aliases for submodule imports by DavidCEllis in https://github.com/DavidCEllis/ducktools-lazyimporter/pull/14


**Full Changelog**: https://github.com/DavidCEllis/ducktools-lazyimporter/compare/v0.2.2...v0.3.0

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.