Laurent Verweijen
Laurent Verweijen
Something more general that I would like would be a function to turn a list like this: ```python l = [('Europe", "Italy", "Rome"), ('Europe", "Italy", "Milan"), ('Europe", "France", "Paris")] ```...
Here are sample implementations for my ideas above: ```python def from_rows(rows, node_factory=anytree.Node, root_name="root"): created_nodes = {} root = node_factory(root_name) for row in rows: parent_node = root for depth, col in...
If you are looking for a dict to dict implementation, then I have made one at https://github.com/lverweijen/littletree. It's interface isn't too different from anytree, but creating a tree of 3M...
If I understood the queestion correctly this can be done with resolver? See https://anytree.readthedocs.io/en/latest/api/anytree.resolver.html
I would also be interested in this. I actually created my own version. It wasn't written for anytree (but can probably easily be changed) and it may not be very...
I would be interested in this. Some features I would want: - Make indentchar flexible. So not only space, but should also be able to use tab, "." or any...
For anytree this might be off-topic but I have recently been thinking about generalizing trees in python (exposing basically the same api as anytree). If you create an issue on...
I tried performing your query using [ODataQuery](https://cran.r-project.org/web/packages/ODataQuery/index.html) (I'm the author). It worked on http://beta-odata4.cbs.nl/ ```{R} library(ODataQuery) leeftijden
I know that vim and emacs use RFC1345 (with their own modifications) for making special characters, which has a lot of symbols. It does have a few downsides that you...
In https://github.com/lverweijen/FellegiHolt/blob/main/fellegiholt/rewrite_linear.py I managed to convert a few rules to linear ones like 'and', 'or', 'not', 'implication'. I took a different approach from above and started directly convert ast.Nodes. There...