Pycomex

Latest version: v0.15.0

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

Scan your dependencies

Page 1 of 8

0.15.0

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

- Fixed a bug where ``__PREFIX__`` did not have an initial value when the experiment object is created
- Added the ``Experiment.import_from`` class method which can be used to dynamically import the experiment
object from the relative/absolute path of an experiment module such that it can subsequently be
executed with the "run" method from within another experiment module, for example.
- When adding data to the experiment storage keys which start with an underscore are now excluded from being
exported to the persistent JSON file inside the archive folder and can therefore be used to exchange
data between hooks for example.

0.14.2

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

- Fixed a bug which caused the experiment to crash if a parameter was defined without a type annotation.

0.14.1

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

- Added the ``uv`` dependency to the ``pyproject.toml`` file

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.

Page 1 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.