This is a POC to feed our popit database to graph software, Currently on networkx and neo4j
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
popit_to_neo4j.py
popit_to_networkx.py
requirements.txt
tests_popit_relationship.py

README.md

This is a POC

Deprecate networkx version for now as the API endpoint change.

Installation

For Ubuntu:

After that install the necessary python dependencies

pip install -r requirements.txt

Usage

Create a configuration file config.yaml with the following content. The config is there just in case that you use neo4j on other server.

graph_db: bolt://neo4j:password@localhost:7687
refresh: True

There are no parameters needed to run popit_to_neo4j.py, just run the script

$ python popit_to_neo4j.py