Pycomex

Latest version: v0.14.1

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

Scan your dependencies

Page 3 of 7

0.10.0

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

Added the "testing" functionality as it's own feature to the Experiment class

- it is now possible to define the hook with the necessary code to put the experiment into testing mode using
the ``Experiment.testing`` function and the ``__TESTING__`` magic parameter.
- Added a dedicated example that illustrates the testing mode ``05_testing_mode.py``

Command line interface

- fixed the command line interface. ``ExperimentCLI`` should now be working with the new pycomex functional API
- Switched to using python ``rich`` package for the CLI printing
- Changed the styling of the "list" and "info" commands to rich formatting

Other changes

- During construction an ``Experiment`` instance will now attempt to automatically parse the parameter description strings from the
module's comments and the parameter typing information from the type hints annotations dict. This information will then be stored
in ``Experiment.metadata`` dictionary.
- Added some more docstrings
- Updated the ``README.rst``
- Added the ``DOCUMENTATION.rst`` and started to compile some additional documentation that is not immediately
relevant to the README

0.9.5

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

- I had to change the name of the experiment file copy that is placed in the artifacts folder from "code.py"
to "experiment_code.py" because there was a very weird naming collision with tensorflow internals
- Also adjusted the anylsis file template accordingly.

0.9.4

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

- In the functional interface, added the crucial feature of default hook implementations
- Fixed an important bug to make analysis.py files work with sub experiments

0.9.3

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

- Fixed an important bug in ``dynamic_import`` which prevented ``inspect`` from working properly in the
imported modules

0.9.2

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

- Fixed a bug that sub experiment modules with relative paths to base experiments would cause errors when
the current working directory was not their parent directory

0.9.1

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

CRITICAL FIX: The prevsious package did not actually contain the "functional" sub package, but this one
does now!

- Added some more functionalities to ``functional.Experiment``
- Changed all the example files to use the functional interface now
- Some more code documentation

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.