Hansel

Latest version: v2.0.1

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

Scan your dependencies

Page 1 of 2

2.0.1

--------------------------

- Add type annotations accross all code base.

- Fixed documentation. Now it README example code snippets are tested.

2.0.0

--------------------------

- Drop support for Python 2.7. Add support for Python 3.6.

1.0.0

-----------------------------

- add CLI docs to README.

- set in `ls` function `make_crumbs` to False if `fullpath` is also False.

- make in `ls` function `arg_name` parameter mandatory when `fullpath` is False.

0.9.0

---------------------

- "cli diff" and "cli intersect" have the same interface.

- changed how "cli intersect" prints results. Added 'base_crumb' option.

- added to CLI default ignore list for crumbs: `['.*']`.

- add `crumb diff` to CLI.

- add `difference` utility function with test.

- add `test__utils.py` as a WIP.

- move CLI to click.

- Annoying bug fixed.

- Add `crumb_copy`.

- Now it doesn't bother with relative paths.

- Fix `crumb_copy` for existing paths and linking relative paths.

- Add `crumb_copy` CLI.

- Make `click` a dependency and move `crumb_copy` to `crumb copy`.

- Add `crumb ls` and `crumb intersect` CLI.

- Add `is_crumb_arg` function to utils.

- Fix error in `crumb copy` parameter names.

0.8.0

---------------------
- Set to True the default value for `check_exists` in `Crumb.ls` function.
I don't think anybody is interested in non-existing paths.

- Now it is possible to set a non-open item in a Crumb, i.e., I can replace the value for an already set crumb argument.

- Update README.rst

- Code clean-up.

- Replace dict to OrderedDict output in `valuesmap_to_dict` function.

- Add regex option within `arg_name` argument of `ls` and `__get_item__`.

0.7.0

---------------------
- Refactoring of how Crumb works, now using string.Formatter.
This will help with new features due to simpler logic.Now it is not possible to change the syntax of the Crumbs,
although I guess nobody is interested in that.
- Fixed a few bugs from previous versions.
- Now `copy` function is not a classmethod anymore, so you can do `crumb.copy()` as well as `Crumb.copy(crumb)`.
- `patterns` is not a dictionary anymore, the regexes are embedded in the `_path` string.
The property `patterns` returns the dictionary as before. The function `set_pattern` must be used instead to set a different pattern to a given argument.

- Update README.rst

- Fix README.rst because of bad syntax for PyPI.

- Fix bug for Python 2.7

- Fix the bug in .rst for PyPI.

- Code cleanup

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.