semvec/pypi-packages huggingface dataset:
json-graph-traversal 0.1.0
A package to traverse nested JSON data structures using BFS or DFS algorithms
Requires Python: >=3.6
Keywords: json, graph, traversal, bfs, dfs, search

from json_graph_traversal import JSONGraphTraversal

# Create a JSONGraphTraversal object from a dictionary
data = {
    "name": "root",
    "children": [
        {
            "name": "child1",
            "children": [
                {"name": "grandchild1", "value": 1},
                {"name": "grandchild2", "value": 2}
            ]
        },
        {
            "name": "child2",
            "value": 3
        }
    ]
}

traversal = JSONGraphTraversal(data)

# Perform BFS traversal
print("BFS Traversal:")
for path, value in traversal.bfs():
    print(f"Path: {path}, Value: {value}")

# Perform DFS traversal
print("\nDFS Traversal:")
for path, value in traversal.dfs():
    print(f"Path: {path}, Value: {value}")
cmeel-console-bridge 1.0.2.3
cmeel distribution for console-bridge, A ROS-independent package for logging that seamlessly pipes into rosconsole/rosout for ROS-dependent packages.
Requires Python: >=3.8

# CMeel console-bridge

[![PyPI version](https://badge.fury.io/py/cmeel-console-bridge.svg)](https://pypi.org/project/cmeel-console-bridge)
[![Release](https://github.com/cmake-wheel/cmeel-console-bridge/actions/workflows/release.yml/badge.svg)](https://github.com/cmake-wheel/cmeel-console-bridge/actions/workflows/release.yml)
[![Build Status](https://api.cirrus-ci.com/github/cmake-wheel/cmeel-console-bridge.svg)](https://cirrus-ci.com/github/cmake-wheel/cmeel-console-bridge)

[console-bridge](https://github.com/ros/console_bridge) distribution for cmeel packages.