Ubelt

Latest version: v1.3.5

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

Scan your dependencies

Page 9 of 11

0.1.0

Added
* Add `inject_method` to `util_func.py`.
* Add `allsame`

Modified
* simplified dynamic imports
* `memoize_method` now handles kwargs
* Can now update `ProgIter` description on the fly
* Add methods to `OrderedSet` to complete the set API (e.g. `intersection`, `difference`, etc...)
* Can now index into an `OrderedSet` using a slice
* Add `appname` keyword argument to `grabdata`
* Add `extend` to ordered set API
* Increase `tqdm` compatibility with `ProgIter`

Fixed
* Fixed issue with `OrderedSet.union` where it ignored `self`
* Fixed issue with `OrderedSet.union` where `__eq__` and `isdisjoint` were wrong
* Fix issue with `ub.repr2` dictionaries with newlines in keys
* Fix issue with relative paths and symlink

0.0.44

Added
* `ub.iter_window`

0.0.43

Modified
* Spelling: changed the `Timer.ellapsed` attribute to `Timer.elapsed`.
* Verbosity of `Timer` and `Timerit` now depends on if a label was specified.
* `Timer.tic` now returns a reference to the `Timer` instance.

Removed
* Remove `util_stress`, it was out of scope.

0.0.42

Modified
* `hash_data` can now accept `OrderedDict` input
* `dict_union` now returns `OrderedDict` if the first argument is one

Fixed
* bug in `hash_data` where negative integers did not work.

0.0.41

Added
* `OrderedSet` / `oset`
* Add `symlink` function that works on UNIX and Windows*. (*if use has symlink permissions, it works just like UNIX without caveats. Otherwise `ub.symlink` falls back to using junctions and hard links, which should still work mostly the same, except `os.path.islink` and `os.readlink` will not work among other minor issues).

Modified
* Add base to `augpath`
* `ub.delete` now treats nested junctions as symlinks, unlike `shutil.rmtree`.

0.0.40

Modified
* Add `numpy` support to `ub.repr2`

Page 9 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.