While one of pytm biggest strength is the "threat model as code" concept atm it's not easily possible to decouple customer specific rules, model libs, etc. from the pytm "runtime" (report generation, diagram generation). This topic relates to #295 (comment) and #19 as well potentially. E.g. ideally all the "models as code" could be handled separately from the pytm CLI application capabilities. This would significantly simplify enable people to integrate pytm into CI workflows as well as to scale pytm usage in general.
@izar What are your longer term goals related to this topic?