A thin rest api over networkx, can serve as a graph database.
All graphs are loaded into memory and persisted in compressed binary pickles. This is done periodically and on server shutdown.
See requirements.txt
The following environment variables can be set:
GRAPHX_PERSIST_PATH
: location where the graphs will be persisted, default: current dirGRAPHX_PERSIST_INTERVAL
: interval for periodic persistance, default: 30 secondsGRAPHX_BIND_ADDRESS
: bind address for the server, default: localhostGRAPHX_PORT
: port for the server, default: 8070
Run: :
twistd -y graphservice.py