summaryrefslogtreecommitdiff
path: root/devel/py-lazy_imports/pkg-descr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-lazy_imports/pkg-descr')
-rw-r--r--devel/py-lazy_imports/pkg-descr11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/py-lazy_imports/pkg-descr b/devel/py-lazy_imports/pkg-descr
new file mode 100644
index 000000000000..665fa0186f94
--- /dev/null
+++ b/devel/py-lazy_imports/pkg-descr
@@ -0,0 +1,11 @@
+This python utility package helps to create lazy modules. A lazy module defers
+loading (some of) its attributes until these attributes are first accessed. The
+module's lazy attributes in turn are attributes of other modules. These other
+modules will be imported/loaded only when (and if) associated attributes are
+used. A lazy import strategy can drastically reduce runtime and memory
+consumption.
+
+Additionally, this package provides a utility for optional imports with which
+one can import a module globally while triggering associated import errors only
+at use-sites (when and if a dependency is actually required, for example in the
+context of a specific functionality).