YAML/JSON/EYAML/Compatible get/set/merge/validate/scan/convert/diff processors using powerful, intuitive, command-line friendly syntax.
ISC License
Bot releases are hidden (Show)
Enhancements:
BREAKING CHANGES:
Published by wwkimball about 1 year ago
Bug Fixes:
Published by wwkimball over 1 year ago
Enhancements:
Bug Fixes:
Published by wwkimball almost 2 years ago
Enhancements:
((list1)&(list2))[distinct([NAME])]
.Bug Fixes:
Published by wwkimball almost 2 years ago
Enhancements:
Published by wwkimball almost 2 years ago
Bug Fixes:
Enhancements:
Published by wwkimball about 2 years ago
Bug Fixes:
Published by wwkimball about 2 years ago
Enhancements:
Bug Fixes:
Published by wwkimball about 2 years ago
Bug Fixes:
Published by wwkimball almost 3 years ago
Enhancements:
Bug Fixes:
Published by wwkimball almost 3 years ago
Bug Fixes:
Published by wwkimball almost 3 years ago
Bug Fixes:
Published by wwkimball over 3 years ago
3.6.1:
Enhancements:
Published by wwkimball over 3 years ago
Bug Fixes:
[
. So, /my_hash/&my_anchor was not working as expected.Enhancements:
/books/*[.=isbn]
or books.*[.=isbn]
/books[.=isbn]/isbn
or books[.=isbn].isbn
/books/*[has_child(isbn)]/isbn
or books.*[has_child(isbn)].isbn
/books[has_child(isbn)]/isbn
or books[has_child(isbn)].isbn
[parent()]
search keyword, which would be?
rather than a -
, they are not; theirAPI Changes:
Published by wwkimball over 3 years ago
Bug Fixes:
Enhancements:
Published by wwkimball over 3 years ago
Bug Fixes:
Enhancements:
literal=True
keyword parameter tosource
is literal serialized (String) YAML data rather than aKnown Issues:
Published by wwkimball almost 4 years ago
Bug Fixes:
Enhancements:
null
values. Non-JSON null results fromAPI Changes:
The yamlpath.func library is too big and some very useful general code has
become attached to special-purpose classes. As such, it's time for
refactoring before this becomes untennable. New, better-organized static
classes were created under a new yamlpath.common namespace. Since this
would be destructive to other Python code which depends on the old
organization, this is a heads-up. Your existing code will continue to work
without any changes, but only until 4.x (which is not yet planned). Until
then, you must update your own code to use the new static classes for the
following functions and methods so as to avoid fatal errors down the road:
yamlpath.func.append_list_element
-> yamlpath.common.Nodes.append_list_element
yamlpath.func.build_next_node
-> yamlpath.common.Nodes.build_next_node
yamlpath.func.clone_node
-> yamlpath.common.Nodes.clone_node
yamlpath.func.create_searchterms_from_pathattributes
-> yamlpath.common.Searches.create_searchterms_from_pathattributes
yamlpath.func.ensure_escaped
-> yamlpath.YAMLPath.ensure_escaped
yamlpath.func.escape_path_section
-> yamlpath.YAMLPath.escape_path_section
yamlpath.func.get_node_anchor
-> yamlpath.common.Anchors.get_node_anchor
yamlpath.func.get_yaml_data
-> yamlpath.common.Parsers.get_yaml_data
yamlpath.func.get_yaml_editor
-> yamlpath.common.Parsers.get_yaml_editor
yamlpath.func.get_yaml_multidoc_data
-> yamlpath.common.Parsers.get_yaml_multidoc_data
yamlpath.func.make_float_node
-> yamlpath.common.Nodes.make_float_node
yamlpath.func.make_new_node
-> yamlpath.common.Nodes.make_new_node
yamlpath.func.search_anchor
-> yamlpath.common.Searches.search_anchor
yamlpath.func.search_matches
-> yamlpath.common.Searches.search_matches
yamlpath.func.stringify_dates
-> yamlpath.common.Parsers.stringify_dates
NOTE that this method is deprecated and will be eliminated in favor of
using its more comprehensive replacement,
yamlpath.common.Parsers.jsonify_yaml_data
yamlpath.func.unwrap_node_coords
-> yamlpath.wrappers.nodecoords.NodeCoords.unwrap_node_coords
yamlpath.func.wrap_type
-> yamlpath.common.Nodes.wrap_type
yamlpath.merger.Merger.combine_merge_anchors
-> yamlpath.common.Anchors.combine_merge_anchors
yamlpath.merger.Merger.delete_all_comments
-> yamlpath.common.Anchors.delete_all_comments
yamlpath.merger.Merger.rename_anchor
-> yamlpath.common.Anchors.rename_anchor
yamlpath.merger.Merger.replace_anchor
-> yamlpath.common.Anchors.replace_anchor
yamlpath.merger.Merger.scan_for_anchors
-> yamlpath.common.Anchors.scan_for_anchors
yamlpath.merger.Merger.set_flow_style
-> yamlpath.common.Anchors.set_flow_style
Until you update your code, a deprecation warning will be printed to STDERR
every time the yamlpath.func file is imported and the first time one of the
relocated Merger static methods is called. To be rid of the message, update
your code to use the new sources of the deprecated functions/methods and
remove every import of and from yamlpath.func.
Published by wwkimball almost 4 years ago
Bug Fixes:
Enhancements:
API Changes:
path
attribute. This is an optional parameterPublished by wwkimball almost 4 years ago
3.2.0:
Enhancements:
Bug Fixes:
Published by wwkimball about 4 years ago
Enhancements:
Bug Fixes:
API Changes: