Demal

Latest version: v2.1.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.1.0

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!

2.0.0

Among several bug fixes, this update introduces:

- New feature! JSON to MAL conversion:
- Command-line: `-r` or `--reverse`
- API: `dump_mal(out="filename")`
- 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.

1.2.3

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](https://github.com/mal-lang/malcompiler/blob/master/update_mal/update_mal.py) to convert from old spec to new spec.
- Allow for more leniency with spaces.
- Adjust some code for readability.

1.2.2

Published this project to the [Python Package Index](https://pypi.python.org/pypi/demal) and adjusted GitHub Actions.

One small functional change: added `-v` and `--version` flags to the command-line tool.

1.2.0

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

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.