Module ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias Import alias TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Return Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Return Call AttributeLoad Str attr NameLoad NameLoad NameLoad decorator_list Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore Dict Str Str NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass If Call NameLoad NameLoad NameLoad body If CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Str body Return Call NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body If Call NameLoad GeneratorExp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad body Return Call NameLoad NameLoad TryExcept body Expr Call NameLoad NameLoad Return Call NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotEq NameLoad Str body TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BoolOpOr NameLoad ListLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd CompareNotIn AttributeLoad NameLoad attr NameLoad CompareNotIn AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad body Expr Str TryExcept body Assign TupleStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Print Call AttributeLoad Str attr NameLoad ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list
N/A eralchemy.cst GRAPH_BEGINNING eralchemy.sqla metadata_to_intermediary declarative_to_intermediary database_to_intermediary pygraphviz.agraph AGraph sqlalchemy.engine.url make_url sqlalchemy.exc ArgumentError eralchemy.parser markdown_file_to_intermediary line_iterator_to_intermediary ParsingException N/A sys N/A N/A N/A basestring N/A N/A N/A NameError N/A N/A basestring str intermediary_to_markdown N/A N/A tables relationships output N/A N/A N/A  Saves the intermediary representation to markdown.  N/A er_markup N/A _intermediary_to_markdown tables relationships N/A N/A open output w file_out N/A N/A N/A N/A file_out write er_markup N/A intermediary_to_dot N/A N/A tables relationships output N/A N/A N/A  Save the intermediary representation to dot format.  N/A dot_file N/A _intermediary_to_dot tables relationships N/A N/A open output w file_out N/A N/A N/A N/A file_out write dot_file N/A intermediary_to_schema N/A N/A tables relationships output N/A N/A N/A  Transforms and save the intermediary representation to the file chosen.  N/A dot_file N/A _intermediary_to_dot tables relationships N/A graph N/A AGraph N/A graph N/A N/A graph from_string dot_file N/A extension N/A N/A N/A output split . N/A -1 N/A N/A N/A graph draw path output prog dot format extension N/A _intermediary_to_markdown N/A N/A tables relationships N/A N/A N/A  Returns the er markup source in a string.  N/A t N/A N/A join N/A N/A N/A t to_markdown N/A t tables N/A r N/A N/A join N/A N/A N/A r to_markdown N/A r relationships N/A N/A N/A {}
{} format t r N/A _intermediary_to_dot N/A N/A tables relationships N/A N/A N/A  Returns the dot source representing the database in a string.  N/A t N/A N/A join N/A N/A N/A t to_dot N/A t tables N/A r N/A N/A join N/A N/A N/A r to_dot N/A r relationships N/A N/A N/A {}
{}
{}
}} format GRAPH_BEGINNING t r N/A N/A switch_input_class_to_method N/A MetaData DeclarativeMeta _BoundDeclarativeMeta metadata_to_intermediary declarative_to_intermediary declarative_to_intermediary N/A switch_output_mode_auto N/A er graph dot intermediary_to_markdown intermediary_to_schema intermediary_to_dot N/A switch_output_mode N/A er dot intermediary_to_markdown intermediary_to_dot all_to_intermediary N/A N/A filename_or_input schema N/A None N/A N/A  Dispatch the filename_or_input to the different function to produce the intermediary syntax.
    All the supported classes names are in `swich_input_class_to_method`.
    The input can also be a list of strings in markdown format or a filename finishing by '.er' containing markdown
    format.
     N/A input_class_name N/A N/A filename_or_input __class__ __name__ N/A N/A N/A this_to_intermediary N/A switch_input_class_to_method N/A input_class_name N/A N/A tables relationships N/A this_to_intermediary filename_or_input N/A N/A tables relationships N/A N/A N/A KeyError N/A N/A N/A N/A isinstance filename_or_input basestring N/A N/A N/A N/A N/A N/A filename_or_input split . N/A -1 er N/A N/A N/A markdown_file_to_intermediary filename_or_input N/A N/A N/A isinstance filename_or_input basestring N/A N/A N/A all N/A N/A isinstance e basestring N/A e filename_or_input N/A N/A N/A line_iterator_to_intermediary filename_or_input N/A N/A N/A N/A make_url filename_or_input N/A N/A database_to_intermediary filename_or_input schema schema N/A N/A N/A ArgumentError N/A N/A N/A msg N/A N/A Cannot process filename_or_input {} format input_class_name N/A N/A ValueError msg N/A get_output_mode N/A N/A output mode N/A N/A N/A 
    From the output name and the mode returns a the function that will transform the intermediary
    representation to the output.
     N/A N/A mode auto N/A N/A N/A N/A N/A switch_output_mode_auto N/A mode N/A N/A N/A KeyError N/A N/A N/A ValueError Mode "{}" is not supported. N/A extension N/A N/A N/A output split . N/A -1 N/A N/A N/A N/A switch_output_mode N/A extension N/A N/A N/A KeyError N/A N/A intermediary_to_schema N/A filter_excludes N/A N/A tables relationships exclude N/A N/A N/A  This function excludes the tables and relationships with tables which are
    in the exclude (lst of str, tables names)  N/A exclude N/A exclude N/A N/A tables_filtered N/A t N/A t tables N/A N/A t name exclude N/A relationships_filtered N/A r N/A r relationships N/A N/A N/A r right_col exclude N/A N/A r left_col exclude N/A N/A tables_filtered relationships_filtered N/A render_er N/A N/A input output mode exclude schema N/A auto None None N/A N/A 
    Transforms the metadata into a representation.
    :param input: Possible inputs are instances of:
        MetaData: SQLAlchemy Metadata
        DeclarativeMeta: SQLAlchemy declarative Base
    :param output: name of the file to output the
    :param mode: str in list:
        'er': writes to a file the markup to generate an ER style diagram.
        'graph': writes the image of the ER diagram.
        'dot': write to file the diagram in dot format.
        'auto': choose from the filename:
            '*.er': writes to a file the markup to generate an ER style diagram.
            '.dot': returns the graph in the dot syntax.
            else: return a graph to the format graph
    :param schema: name of the schema
     N/A N/A N/A N/A tables relationships N/A all_to_intermediary input schema schema N/A N/A exclude None N/A N/A N/A tables relationships N/A filter_excludes tables relationships exclude N/A intermediary_to_output N/A get_output_mode output mode N/A N/A intermediary_to_output tables relationships output N/A N/A N/A ImportError N/A e N/A N/A module_name N/A N/A N/A N/A e message split N/A -1 N/A N/A N/A Please install {0} using "pip install {0}". format module_name N/A N/A ParsingException N/A e N/A N/A N/A N/A N/A sys stderr write N/A e message N/A