refyre.graph package#

Submodules#

refyre.graph.FileGraph module#

class refyre.graph.FileGraph.FileGraph[source]#

Bases: object

This class is really just a wrapper class.

The goal is to provide a proxy interface for the Refyre objects to interact with the fgraph without interfering with the inner workings.

add_graph(graph)[source]#

refyre.graph.FileGraphNode module#

class refyre.graph.FileGraphNode.FileGraphNode(children=[], pattern='', directory='', type='', name='', is_root=False, flags='', serialize='', imports='', mode='', link='', alias='', limit='')[source]#

Bases: object

How the graph will be orchestrated:

Problem: There may be multiple root “entry” directories the user many want to be able to target.

Solution: We abstract that away in the graph.

We will have one virtual “root” node stringing together all the other entry points.

add_child(child)[source]#
add_children(children)[source]#
copy()[source]#
is_root_dir()[source]#

Module contents#