wizardofzos / pyracf

RACF parsing for the rest of us...
Apache License 2.0
6 stars 8 forks source link

split capabilities in separate packages #39

Open rob-vh opened 4 months ago

rob-vh commented 4 months ago

Currently, everything is shipped in package pyracf.

Core irrdbu00 reader is in pyracf/__init__.py, which defines the RACF class. The RACF class has methods:

RACF instances create dfs:

It is easy to delete XlsWriter from the RACF class, and force users to import the module containing XlsWriter.
The same applies to RuleVerifier, i.e. create verifier instances explitly using v = RuleVerifier(r), but where should we store the rule_verifier.py module?

Also, RuleVerifier needs some of the same classes that RACF uses. That implies creating a separate directory with class definitions, that modules in both pyracf and verifier directories import from.

Same could be done with the ProfilePublisher class (optional), and the FrameFilter class (also shared between pyracf and verifier).

Do we want multiple packages?