Esempio n. 1
0
def export_cypher(infile, outfile, edge_types):
    exporter = CypherGraphExporter(outfile, edge_types=edge_types)
    export_stream(exporter, infile)
Esempio n. 2
0
def export_neo4j_bulk(infile, outdir, edge_types):
    exporter = Neo4JCSVExporter(outdir, edge_types=edge_types)
    export_stream(exporter, infile)
Esempio n. 3
0
def export_rdf(infile, outfile, qualified=True):
    exporter = RDFExporter(outfile, qualified=qualified)
    export_stream(exporter, infile)
Esempio n. 4
0
def export_gexf(infile, outfile, edge_types):
    exporter = NXGraphExporter(outfile, edge_types=edge_types)
    export_stream(exporter, infile)
Esempio n. 5
0
def export_csv(infile, outdir):
    exporter = CSVExporter(outdir)
    export_stream(exporter, infile)
Esempio n. 6
0
def export_excel(infile, outfile):
    exporter = ExcelExporter(outfile)
    export_stream(exporter, infile)
Esempio n. 7
0
def export_cypher(infile: Path, outfile: Path, edge_types: List[str]) -> None:
    with text_out(outfile) as fh:
        exporter = CypherGraphExporter(fh, edge_types=edge_types)
        export_stream(exporter, infile)
Esempio n. 8
0
def export_rdf(infile: Path, outfile: Path, qualified: bool = True) -> None:
    with text_out(outfile) as fh:
        exporter = RDFExporter(fh, qualified=qualified)
        export_stream(exporter, infile)
Esempio n. 9
0
def export_excel(infile: Path, outfile: Path) -> None:
    exporter = ExcelExporter(outfile)
    export_stream(exporter, infile)
Esempio n. 10
0
def export_csv(infile: Path, outdir: Path) -> None:
    exporter = CSVExporter(outdir)
    export_stream(exporter, infile)
Esempio n. 11
0
def export_neo4j_bulk(infile: Path, outdir: Path, edge_types: List[str]) -> None:
    exporter = Neo4JCSVExporter(outdir, edge_types=edge_types)
    export_stream(exporter, infile)