Pycomex

Latest version: v0.14.1

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

Scan your dependencies

Page 1 of 7

0.14.0

-------------------

- Added ``reproducible`` mode to the experiment, which can be enabled by setting the magic parameter ``__REPRODUCIBLE__=True``.
This mode will export the dependencies of the experiment explicitly into the archive folder as well.
- Added the ``reproduce`` command to the CLI which can be used to reproduce an experiment run based on the experiment
archive folder, if the experiment was executed in reproducible mode.
- Switched to using ``uv`` for development instead of poetry.
- Added the ``ActionableParameterType`` interface which can be used to define custom type annotations for experiment parameters
with custom get and set behavior when interacting with the parameters via the experiment instance.

0.13.2

-------------------

- Reworked the ``ExperimentArgumentParser``
- now uses the ``rich`` package for the rendering of the help message.
- The parameters are also now ordered alphabetically in the help message.

0.13.1

-------------------

- Added the special ``__PREFIX__`` parameter which can be used to add a string prefix to the experiment archive folder
name. This is useful for example when running multiple experiments in parallel and you want to distinguish between
them in the file system.

0.13.0

-------------------

- Fixed an issue with the experiment command line argument parsing where parameters of sub experiments (defined by
Experiment.extend) would not show up in the help message. Solved by re-constructing the ExperimentArgumentParser
in the extend method.
- The help command will now also show the default values of experiment parameters (if their string representation is
below a certain length.)
- Cleaned up the unittests. In this version all of the unitests actually passed before the publish
- "notify" plugin
- can now actually be disabled using the ``__NOTIFY__`` special parameter
- "weights_biases" plugin
- Now actually correctly handles when the ``WANDB_PROJECT`` parameter is incorrectly set.

0.12.3

-------------------

- Ported the notification implementation as a plugin instead of having it in the main code
- Clicking a notification will now open the experiment record folder in the file explorer
- Disabled the notifications for the windows.

0.12.2

-------------------

- Removed the Python 3.10 Union type hint from the experiments module to restore compatibility with Python 3.9
- Added a try block for the loading of plugins such that they re-cast errors as warnings and don't actively break
the system such as when an import error in a plugin module occurs (aka we dont want to have to include all the plugin
dependencies in the main package)

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.