semvec/pypi-packages huggingface dataset:
gridgraph-importer 3.0
gridgraph importer library
License: Apache 2.0
Keywords: gridgraph,importer

# gridgraph python importer
gridgraph python importer provides the python interfaces for importing csv data.
## requirements
```commandline
python3.6+
```
```commandline
pip install gremlinpython
```
```commandline
pip install gridgraph-importer -i https://pypi.org/simple 
```
## example
```commandline
args:
gridgraph server ip: 127.0.0.1
gridgraph server port: 8381
local csv data dir: /Users/hetao/work/gridgraph/bulkload/bulkload/standalone/strong-schema
data dir content example:
bulkloadCsv.json  Created.csv  graphStruct.json  knows.csv  Person.csv  Software.csv
```
```python
from gridgraph_importer import data_importer


def exe_import():
    data_importer.import_csv_data("127.0.0.1", 8381,
                                  '/Users/hetao/work/gridgraph/bulkload/bulkload/standalone/strong-schema')


if __name__ == '__main__':
    exe_import()

```
## log
```commandline
log dir:
/tmp/logs/gridgraph/data-importer
```