Skip to content

Integrated labeled property graph generation using neo4j

License

Notifications You must be signed in to change notification settings

msk-mind/graph-db

Repository files navigation

graph-db

Documentation Status

A library for the generation of an integrated labeled property graph using neo4j.

This library allows users to import records from various sources like CSV, parquet etc into noe4j and form relationships on the imported records. It is assumed that the user of this library is familiar with neo4j's cypher query language.

Test

$ make test

Usage

Setup a local neo4j instance with credentials as specified in tests/test_app_config.yml and execute the following commmand.

$ python -m graph_db.builder -d tests/test_data_config.yml -a tests/test_app_config.yml

Features

  • Minimal and generic code for loading nodes from various sources (csv, parquet etc.)
  • Create hierarchical associations to make a data model that is remarkably similar in its form to the real world
  • Normalized yet richly connected entities
  • Declarative interface for generating a hierarchical graph database from a set of independent tables
  • Ability to easily create many such databases on the fly and not be limited to one. Leads to flexibility and adaptability - especially useful for R&D
  • Idempotent graph generation process

Todo

  • simplify app_config and data_config by removing lists

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Integrated labeled property graph generation using neo4j

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published