Torch-snippets

Latest version: v0.550

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

Scan your dependencies

Page 3 of 8

0.536

๐Ÿ†• `parse`ing a .ini file will add a `META` key by default which has `file` and `name` information. This header can be used in the file variables without creating META to begin with
๐Ÿ†• `parse` will merge a base config if a `META.base` key is found. Works recursively on base files (base of base etc...)
๐Ÿ†• `P` can tab complete existing file path name and access that file as an attribute
๐Ÿ’ก Did you know parse can perform arithmetic?
โœจ `registry` and `parse` are imported by default
โœจ `jitter` can work on `pd.DataFrame` directly
๐Ÿ”จ `bbs2df` clips negative coordinates
โœจ Using ๐Ÿท๏ธ to denote data-type in `AD`
๐Ÿž `AD2` is `AD` now
๐Ÿž `AD` preserves dict order during serialization
โœจ `warn_on_fail` decorator gives you a free try catch
โœจ `show`ing a dataframe of the correct format inside and outside jupyter environments
๐Ÿž `AD` has improved `get`, `update`, `map` and new `write_config`, `trymap` and `__json__`
โœจ `P` has two new properties `.sz` for size of file and `.tree` to print the tree

0.535

๐Ÿž `AD` hotfix

0.534

๐ŸŽ‰ `store_scrap` is a new way to store on disk and show jupyter cell outputs in other notebooks.
Best for presenting complex analyses without worrying about running time-consuming notebooks
๐ŸŽ‰ Add support for `P` in AD `summary` and `write_json`
๐ŸŽ‰ `__json__` supports custom objects' serializability
๐ŸŽ‰ `write_json` is compatible with above feature
๐ŸŽ‰ `AD_MAX_ITEMS` if given as -1 will change it to 1000
๐Ÿž `iou` will parse input dataframes more gracefully
๐Ÿž `AD` minor bug fix
๐ŸŽ‰ `tree` has a better default
๐ŸŽ‰ New functions `folder_structure_to_dict` and `folder_structure_to_json` in `paths`
๐ŸŽ‰ Add `jitter` (int) argument to `show` so that bounding boxes can be a bit jittered
๐ŸŽ‰ Add support for changing `spinner` in `notify_waiting`
๐ŸŽ‰ `dumpdill` can print a custom message (see `store_scrap` in paths.py)

0.531

๐ŸŽ‰ AD `__contains__` can do a nested `in` 'x.y.z' in AD(x={'y': {'z': 10}}) == True

0.530

โ˜ ๏ธ Stop using rich's print and revert back to builtin print
๐Ÿž Decouple AD and torch
๐ŸŽ‰ Add a new chart - spider / radar
๐ŸŽ‰ Add scp client with download upload functionality

0.529

๐Ÿงน change code to remove future warnings in text_utils

Page 3 of 8

ยฉ 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.