Skip to content

TigerGraph-DevLabs/GraphML-TG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TigerGraph GraphML Parser ( beta version - Work in progress )

Introduction

This repository contains a parser.py and a sample.graphml file to showcase how to import the graphml schema and data into TigerGraph DB.

Installation

1- Install the project dependencies :

user@box:~$ python3 -m venv venv
user@box:~$ source venv/bin/activate
(venv) user@box:~$ pip install -r requirements.txt

2- Edit the parser.py default values:

Variable Default Desctiption
DEBUG 0 The Debug Mode ( 0 : N , 1 : Y )
fileGraphML sample.graphml a sample file that goes with the project
EDGE_NAME EDGE_NAME the name of the Edge in the Graph
NODE_NAME GraphMLNode the name of the node in the graph
host http://127.0.0.1 the tigergraph host ( Ex: https://solution.i.tgcloud.io)
username tigergraph the TigerGraph user
password tigergraph the TigerGraph password
tg_version 3.1.0 the TigerGraph version

Running

after Installing the dependencies and configuring the variables, use the following command :

(venv) user@box:~$ python parser.py

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages