Hansel

Latest version: v2.0.1

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

Scan your dependencies

Page 2 of 2

0.6.0

---------------------
- Added `intersection` function in `utils.py`.
- Change of behaviour in `__getitem__`, now it returns a list of values even if is only the one replace string from `_argval`.
- General renaming of the private functions inside Crumbs, more in accordance to the `open_args`/`all_args` idea.
- Fixed a few bugs and now the generated crumbs from `unfold` and `ls` will have the same parameters as the original Crumb.

- Change the behaviour or `intersection` with `len(arg_names) == 1` for compatibility with `crumb.build_path` function.
- Improve README, update with new examples using `intersection`.

- Add `pandas` helper functions.
- Add `utils` to convert from values_maps to dicts.
- Improve docstrings.

0.5.0

---------------------
- Add Python 2.7 compatibility. Friends don't let friends use Python 2.7!
- Add 're.ignorecase' option for the `regex` argument in the constructor.

- Add `utils.check_path` function.
- Fix `Crumb.split` function to return the not defined part of the crumb.

- Add `Crumbs.keys()` function.
- Rename `utils.remove_duplicates()` to `utils.rm_dups()`.

- Deprecating `Crumbs.keys()` function.
- Renamed `Crumbs.keys()` to `Crumbs.open_args()` and added `Crumbs.all_args()`.
- Substitute the internal logic of Crumbs to work with `Crumbs.open_args()`, made it a bit faster.

- Added CHANGES.rst to MANIFEST.in

0.4.0

---------------------
- Fill CHANGES.rst.

- All outputs from `Crumb.ls` function will be sorted.
- Add regular expressions or `fnmatch` option for crumb arguments.
- Change `exists` behaviour. Now the empty crumb arguments will return False when `exist()`.

- Code clean up.
- Fix bugs.

- Fix CHANGES.rst to correct restview in PyPI.
- Thanks to restview: https://pypi.python.org/pypi/restview.
Use: ``restview --long-description``
- Improve documentation in README.
- Rename member `_argreg` to `patterns`, so the user can use it to manage the argument patterns.

0.3.0

---------------------
- Add `_argval` member, a dict which stores crumb arguments replacements.
- Add tests.
- Remove `rm_dups` option in `Crumb.ls` function.
- Remove conversion to `Paths` when `Crumb` has no crumb arguments in `Crumb.ls`.

- Fix README.
- Code clean up.

0.2.0

-------------
- Add `ignore_list` parameter in `Crumb` constructor.

0.1.0

---------------------
- Simplify code.
- Increase test coverage.
- Add `exist_check` to `Crumb.ls` function.

- Fix bugs.
- Add `Crumb.unfold` function.
- Move `mktree` out of `Crumb` class.

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.