crocs-muni / sec-certs

Tool for analysis of security certificates and their security targets (Common Criteria, NIST FIPS140-2...).
https://sec-certs.org
MIT License
13 stars 9 forks source link

Aggregate to-be-imported modules into proper __init__.py file #190

Closed adamjanovsky closed 2 years ago

adamjanovsky commented 2 years ago

Currently, when one wants to import e.g. DependencyFinder estimator, they must write:

from sec_certs.model.dependency_finder import DependencyFinder

It would be wise to aggregate the classes into a module at one level higher, so that one can import more estimators from model module. E.g.,

from sec_certs.model import DependencyFinder, CPEClassifier, ...

This holds also for Dataset and Sample modules.