Easycore

Latest version: v0.4.2

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

Scan your dependencies

Page 1 of 2

0.4.2

Fix

+ `easycore.common.config.CfgNode` support python specified tag

Now, you can execute python code in yaml config file.

For example, specify code in your yaml file:

yaml
scale: !!python/object/apply:eval [ '[2 * 0, 2 * (1 / 3), 2 * (2 / 3)]' ]


And load it in python:

python
cfg = CfgNode.open('example.yaml')
assert cfg.scale == [2 * 0, 2 * (1 / 3), 2 * (2 / 3)]

0.4.1

Fix

+ `easycore.common.path.RedirectPathHandler` redirect path to incorrect path.

0.4.0

New Features

+ `easycore.common.path` package for path management.
+ `easycore.common.network` package for downloading files.

0.3.4

Feature

+ add `unregister` and `is_registered` to `easycore.common.registry.Registry`.

Fix

+ `easycore.torch.parallel.UnorderRunner` and `easycore.torch.parallel.OrderRunner` don't automatically close.

0.3.3

Fix

+ `easycore.common.parallel.UnorderRunner` and `easycore.common.parallel.OrderRunner` don't automatically shutdown while main function exits without closing manually.

0.3.2

New Features

+ `easycore.common.config.HierarchicalCfgNode` for loading yaml file hierarchically.
+ `easycore.common.config.CfgNode` is able to be tranformed to a `dict`.

Fix

+ `easycore.common.config.CfgNode.merge` don't merge config correctly.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.