Indexing Elda filesΒΆ
To make Elda files management easier, ELDAM provides an Elda files indexing feature.
Elda files indexing is done by the EldaIndexer
class. Its method build_index()
will scan a directory and try to read each .xlsm files as Eldas to gather information on them. save_index()
will export the index in .xlsx format.
from eldam.core.elda_index import EldaIndexer
elda_indexer = EldaIndexer('/path/of/the/directory')
elda_indexer.build_index()
elda_indexer.save_index()
Note
As indexing a large number of Elda files can take a long time, the EldaIndexer
class uses the observer design pattern to notify any potential suscriber of its progress. This is used for updating a progressbar in the dedicated GUI widget.