mads.getters

functions that can be used on objects.

dated(obj)[source]

fetch the date from an object.

days(obj)[source]

calculate the time passed since an object got logged.

fnn(obj)[source]

grep the file name from a code object.

get_path(obj, stime='')[source]

Return the path used to store the object’s json dump.

get_saved(obj)[source]

return the saved attribue of an object.

mi(name)[source]

grab an object from the mids module.

path(obj)[source]

calculate the path of an object.

root()[source]

return the root directory.

slice(obj, keys=[], skip=[], full=False)[source]

return a slice of an object.

timed(obj)[source]

calculated the time of an object.

urled(obj)[source]

return a url for the obj so it can be fetched with the REST service.