Anypytools

Latest version: v1.11.5

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

Scan your dependencies

Page 9 of 13

0.11.0

**New:**

- Added option to the set the priority of the macro operations.
The option is an argument to {class}`AnyPyProcess()`.

python
from anypytools import IDLE_PRIORITY_CLASS

app = AnyPyProcess(priority = IDLE_PRIORITY_CLASS)


Default is `BELOW_NORMAL_PRIORITY_CLASS`, and possible values are

- `IDLE_PRIORITY_CLASS`
- `BELOW_NORMAL_PRIORITY_CLASS`
- `NORMAL_PRIORITY_CLASS`
- `ABOVE_NORMAL_PRIORITY_CLASS`.

- Added argument `fatal_warnings` to {class}`AnyPyProcess()` which
treat warnings as errors when running macros.

python
app = AnyPyProces(warnings_to_include=['OBJ.MCH.KIN9'], fatal_warnings=True)


The argument will only triggers for specific warnings given
by `warnings_to_include` argument.

**Changed:**

- Macro operation now run with slightly lower priority (BELOW_NORMAL_PRIORITY_CLASS) to prevent
Windows to become unusable when running many processes.

**Fixed:**

- Fixed a bug preventing really large variables to be read by AnyPyTools. The AnyBody Modeling System
could split really large data matrixes across several lines in the log files which meant they
were not picked up. The function {func}`anypytools.tools.parse_anybodycon_output` has been
rewritten to fix this.

**Removed:**

- The AnyScript Pygments plugin is no longer part of AnyPyTools. It now has its own library
[pygments_anyscript](https://pypi.python.org/pypi/pygments-anyscript).

0.10.10

**fixed:**

- Fix crash when `--define` option was not provided.

0.10.9

**New:**

- Add option to the pytest plugin, to set the define statements with an argument to pytest.

0.10.8

**Fixed:**

- Wrong error report when AnyBody exists abnormally during batch processing.

0.10.7

**Changed:**

- Always append 'exit' command to all macros. Seems to solve problem with AMS not shutting down correctly.
- Only enable pytest plugin on Windows platform

0.10.6

**Fixed:**

- Bug where no AMS license was not detected as a failed macro.

Page 9 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.