Pyswarm generates a Python server application from your UML 2.0 model.
A new release of Pyswarm features several important improvements. However, it is important to note that this release is incompatible with all prior releases of Pyswarm. Therefore, before installing this new release, it is recommended that you read the installation part of the pyswarm documentation to learn how to remove prior releases.
One of the most significant improvements in this release is that the PyXML dependency has been removed, increasing the speed of the generation process by up to five times with debug turned off, and up to two times with debug turned on. Although the Pyswarm SDK now only requires a compatible Python interpreter, testing or running a generated application and its databases will still require the installation of some third-party libraries that are not distributed with Python or Pyswarm. Detailed instructions on the requirements can be found in the application installation part of the documentation.
In addition to the removal of PyXML, the changes made to Pyswarm in this release also remove the dependency of the generator's parse process from PyXML. This means that future releases of Pyswarm SDK will not require the installation of PyXML. Furthermore, reading and writing of PYSP files now uses the xml.dom.minidom from Python standard lib, and PyXML installation is no longer needed for this module.
The new generator in this release is significantly faster in consuming the XMI file. For example, in the case of the PetStore.xml, Pyswarm-generate.py needed only nine seconds to complete the process with the --brief option on, compared to fifty seconds before. The --verbose option took ten seconds before and now takes only one second. The --debug option took thirty seconds before, but now takes only nineteen seconds.
Finally, several bugs have been fixed in this release. For example, in sdklib/project.py, an import mx.DateTime statement was still present, which is no longer needed. This could lead to an ImportError exception if you do not have mx.DateTime installed when calling an SDK command that needs to read or write a PYSP file.
Version 0.7.1: N/A