Ubelt

Latest version: v1.3.6

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

Scan your dependencies

Page 7 of 11

0.7.0

Added
* Add `memoize_property`

Changed
* `ub.cmd` now reports `cwd` on exception
* Reworked requirements to minimize dependencies.
* The `xxhash` and `pygments` dependencies are now optional.
* The testing dependencies are now optional.

0.6.3

Added
* new tests
* add `util_stream`

Fixed
* Fixed issue in `ub.download` with bad content header urls

0.6.2

Added
* `ub.platform_cache_dir` and `ub.platform_config_dir` now respect XDG environs on Linux systems.

Changed
* `ub.download` can now accept `fpath` as either a file path or a `io.BytesIO` object
* `ub.FormatterExtensions.register` can now accept a type or tuple of types.

Deprecated
* `ub.platform_resource_dir` is deprecated in favor of `ub.platform_config_dir`.

0.6.1

Changed
* `ub.repr2` now accepts negative values for `newlines`, which means use newlines until the current height is only `-newline`.
* `ub.repr2` now keeps track of nesting depth from the bottom
* Make result `ub.memoize_method` appear more like a bound method.


Added
* Add custom extensions to `ub.repr2` and expose `ub.FormatterExtensions`
* Add `dict_isect` to `util_dict`.


Fixed
* Fixed misspelling in docs
* Fixed misspelled detach kwarg in `ub.cmd` (the old `detatch` argument is now deprecated and will be removed)

0.6.0

Added
* Add class variable `FORCE_DISABLE` to `ub.Cacher`
* Add the `xxhash` algorithm as an option to `ub.hash_data`
* Add `ub.peek` - 4-letter syntactic sugar for `lambda x: next(iter(x))`

0.5.3

Added
* Add `key` to `ub.find_duplicates`

Changed
* Renamed first argument of `ub.chunks` from sequence to items
* Improved type hints in google-style docstrings
* `ub.cmd` verbose >= 3 now uses nicer Unicode characters if possible

Fixed
* Fixed GH41

Page 7 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.