Ubelt

Latest version: v1.3.6

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

Scan your dependencies

Page 8 of 11

0.5.2

Added
* Add verbose flag to `ub.CacheStamp`

Changed
* `ub.group_items` argument names have changed, and it can now take a callable as the second argument. The `sorted_` argument is now deprecated.
* Symlink now reports location of old target when the new target does not match
* Docstrings now uses `PathLike` as the type for arguments and attributes that should be considered paths (note strings are still accepted).
* `ub.download` will now keep a potentially corrupted file if the hash does not match.
* `ub.grabdata` will compute the hash of an existing file on disk if the .hash stamp is missing to try and avoid re-downloading the file.
* Improved efficiency of `ub.argmax`

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`

Page 8 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.