gregglind/jsonselect-python — Issue #1: If we are jQuery, let's be jQuery...
Author: gregglind
Created: 2011-12-29 14:48:19+00:00
State: open

in that we have:

* search / selectors
* chainable methods (parent, children)
* modification (text, content, etc)

For not, this is YAGNI, but a possible way forward is:

* instead of the *things themselves*, store the *paths* to the things, in the object. The means ``parent()`` operates like this:

def _parent(selector,path):
# straw implementation
return path[:-1]

This requires some thinking about how what is analogous to various jQuery methods.