Pelutils

Latest version: v3.1.0

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

Scan your dependencies

Page 3 of 8

0.6.2

- `TickTock.__str__` now raises a `ValueError` if profiling is still ongoing to prevent incorrect calculations
- Printing a `TickTock` instance now indents percentage of time spent to indicate task subsets

0.6.1

- Added `subfolder` argument to `Parser.document_settings`

0.6.0

- A global instance of `TickTock`, `TT`, has been added - similar to `log`
- Added `TickTock.profile_iter` for performing profiling over a for loop
- Fixed wrong error being thrown when keyboard interrupting within `with TT.profile(...)`
- All collected logs are now logged upon an exception being thrown when using `log.log_errors` and `collect_logs`
- Made `log.log_errors` capable of handling chained exeptions
- Made `log.throw` private, as it had little use and could be exploited
- `get_repo` no longer throws an error if a repository has not been found
- Added utility functions for reading and writing `.jsonl` files
- Fixed incorrect `torch` installations breaking importing `pelutils`

0.5.9

Not secure
- Add `split_path` function which splits a path into components
- Fix bug in `MainTest` where test files where not deleted

0.5.7

Not secure
- Logger prints to `stderr` instead of `stdout` at level WARNING or above
- Added `log.tqdm` that disables printing while looping over a `tqdm` object
- Fixed `from __future__ import annotations` breaking `DataStorage`

0.5.6

Not secure
- DataStorage can save all picklable formats + `torch.Tensor` specifically

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.