Ubelt

Latest version: v1.3.5

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

Scan your dependencies

Page 8 of 11

0.5.0

Added
* added `ub.expandpath`

Changed
* Certain imports are now lazy to optimize startup time
* change `ub.cmd` `tee` parameter to `tee_backend` (BREAKING CHANGE)
* change `ub.cmd` `verbout` parameter to `tee` (BREAKING CHANGE)
* `import_module_from_path` can now handle zip-imports where the zip-file is followed by a slash rather than a colon

Removed
* `tee` parameter from `ub.cmd` to `tee_backend`
* `verbout` from `ub.cmd`

0.4.0

Added
* `ub.find_exe` - a python implementation of which
* `ub.find_path` - finds matching files in your PATH variables
* `ub.CacheStamp`

Modified
* Replace in-house implementation of `OrderedSet` with the ordered-set PyPI package.
* `ub.download` now accepts `hash_prefix` and `hasher` args.
* `ub.hash_file` now accepts `types` args
* `ub.augpath` now accepts `multidot` args
* `ub.cmd` now accepts `cwd` and `env` args
* Changing default behavior of `util_hash`. (BREAKING CHANGE)
- Default of `ub.Cacher` `maxlen` changed to 40 for sha1 considerations
- Default of `ub.hash_data` `base` changed from `abc` to `hex`
- Default of `ub.hash_data` `types` changed from True to False.
- Moved argument position of `hashlen` to the end.

Removed
* Remove `ub.OrderedSet`.extend

Fixed
* `ub.NoParam` is now Falsey

0.3.0

Changed
* `ub.import_module_from_path` can now import modules within zip-files

Removed
* `ub.PY2` and `ub.PY3`. Use `six` instead.

0.2.1

Modified
* `ub.dzip` now accepts a backend dict class as a keyword argument
* `OrderedSet.intersection` can now handle a single argument
* `Timerit` `num` now defaults to 1
* Add function `print` to Timerit

0.2.0

* Fix timezone issue with negative time-zones
* Move internal `__init__` auto-generation logic to new `mkinit` repo
* Network tests no longer run by default and require `--network`

0.1.1

* Add `ub.argmin` and `ub.argmax`
* `ub.Cacher` can now be used as a decorator.
* Rename `util_decor.py` to `util_memoize.py`
* Add `key` argument to `ub.unique` and `ub.unique_flags`
* Add `ub.argunique`
* `import_module_from_path` now prefers the path module when there are name conflicts
* Fix `ub.repr2` precision with numpy scalars
* Add `ub.dzip`

Page 8 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.