Releases: victorazzam/demal
Releases · victorazzam/demal
Stability and reliability update.
In summary:
- Documentation corrections.
- Behaves more consistently and reliably.
- Plays nicely with file-like objects (e.g.
io
module). - A few fixes, code tweaks, and added comments for clarity.
- Passes all tests with flying rainbows!
Facelift and new features.
Among several bug fixes, this update introduces:
- New feature! JSON to MAL conversion:
- Command-line:
-r
or--reverse
- API:
dump_mal(out="filename")
- Command-line:
- Improved handling of associations with the same name.
- Flexibility with repeating asset expressions, i.e. using -> multiple times will not overwrite values unless variable names are explicitly re-defined.
- Associations are now expressed in JSON as an array of objects instead of an object of objects.
- Additional
-h
and--help
command-line arguments. - Clearer command-line help.
- Documentation corrections.
Polished code and widened MAL support
A minor update to polish the code and documentation and to:
- Add support for enterpriseLang's old asset declaration syntax.
- Note: demal only supports the latest MAL version; use this official script to convert from old spec to new spec.
- Allow for more leniency with spaces.
- Adjust some code for readability.
Published to PyPI
Published this project to the Python Package Index and adjusted GitHub Actions.
One small functional change: added -v
and --version
flags to the command-line tool.
Python module and CLI tool improvements
Among other things, the focus of this update was to:
- Greatly enhance the installation experience with pip (soon on PyPI)
- Tweak how MalParser objects are treated in arithmetic operations
- Better handle command line arguments
- Improve terminal recognition for printing colored (coloured) usage
- Fix issues related to stdin and stdout when used as a standalone tool
- Adjust documentation to reflect real-world installation and usage