LOOKING FOR A NEW MAINTAINER
If you are interested to be a new maintainer, please create an issue with the title "Become a new maintainer".
This extension for StarUML(http://staruml.io) support to generate Python code from UML model. Install this extension from Extension Manager of StarUML.
Tools > Python > Generate Code...
)Belows are the rules to convert from UML model elements to Python source codes.
__init__.py
)..py
).def __init__(self):
)documentation
property to docstring.py
).isStatic
property is false, or a class variable if isStatic
property is truename
property to identifierdocumentation
property to docstringmultiplicity
is one of 0..*
, 1..*
, *
, then the variable will be initialized with []
.isStatic
property is false, or a class method (@classmethod
) if isStatic
property is truename
property to identifierdocumentation
property to docstring