Redbaron

Latest version: v0.9.2

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

Scan your dependencies

Page 3 of 3

0.3

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

- proxy lists, major improvement in the management of list of things
- .append_value is no more since it is useless now due to proxy lists
- .index has been renamed to .index_on_parent to be more coherent

0.2

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

- for EVERY NODES in RedBaron, the automagic behavior when passing a string to
modify an attribute has been done, this is HUGE improvement
https://redbaron.readthedocs.io/en/latest/modifying.htmlfull-documentations
- it's now possible to use regex, globs, list/tuple and lambda (callable) in .find and
.find_all, see https://redbaron.readthedocs.io/en/latest/querying.htmladvanced-querying
- new method on node: .replace() to replace in place a node
https://redbaron.readthedocs.io/en/latest/other.htmlreplace
- .map .filter and .apply are now documented https://redbaron.readthedocs.io/en/latest/other.htmlmap-filter-apply
- .edit() new helper method to launch a text editor on the selected node and
replace the node with the modified code https://redbaron.readthedocs.io/en/latest/other.htmledit
- .root node attribute (property) that return the root node of the tree in which the
node is stored https://redbaron.readthedocs.io/en/latest/other.htmlroot
- .index node attribute (property) that returns the index at which the node is
store if it's store in a nodelist, None otherwise https://redbaron.readthedocs.io/en/latest/other.htmlindex
- setitem (a[x] = b) on nodelist now works as expected (accepting string, fst
node and redbaron node)
- new method to handle indentation: .increase_indentation and .decrease_indentation https://redbaron.readthedocs.io/en/latest/other.htmlincrease-indentation-and-decrease-indentation
- various small bugfix
- we have one new contributor \o/ https://github.com/ze42
- to_node has been move to a class method of Node: Node.from_fst
- pretty print of nodes when using redbaron in a script

0.1

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

- First release

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.