-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,9 @@ The library is built specifically for converting data into a [neo4j](https://neo | |
|
||
Note: The [py2neo](https://py2neo.org/2021.1/index.html) library does not support parallel relations of the same type (same source, same target and same type). If your graph requires such parallel relations please checkout the provided [py2neo extensions](/docs/documentation.md#py2neo-extensions). | ||
## Installation | ||
If you have setup a private ssh key for your github, copy-paste the command below to install the latest version ([v0.2.2][latest_tag]): | ||
If you have setup a private ssh key for your github, copy-paste the command below to install the latest version ([v0.3.0][latest_tag]): | ||
``` | ||
$ pip install git+ssh://[email protected]/sg-dev/rel2graph@v0.2.2 | ||
$ pip install git+ssh://[email protected]/sg-dev/rel2graph@v0.3.0 | ||
``` | ||
|
||
If you don't have ssh set up, download the latest wheel [here][latest_wheel] and install the wheel with: | ||
|
@@ -28,7 +28,7 @@ $ pip install **path-to-repository** | |
The rel2graph libary supports Python 3.7+. | ||
|
||
## Quick Start | ||
A quick example for converting data in a [Pandas](https://pandas.pydata.org) dataframe into a graph. The full example code can be found under [examples](/examples). For more details, please checkout the [full documentation][wiki] (coming soon, I'm working on it :D ). We first define a *convertion schema* in a YAML style config file. In this config file we specify, which entites are converted into which nodes and which relations. | ||
A quick example for converting data in a [Pandas](https://pandas.pydata.org) dataframe into a graph. The full example code can be found under [examples](/examples). For more details, please checkout the [full documentation][wiki]. We first define a *convertion schema* in a YAML style config file. In this config file we specify, which entites are converted into which nodes and which relations. | ||
##### **`schema.yaml`** | ||
```yaml | ||
ENTITY("Flower"): | ||
|
@@ -83,7 +83,7 @@ converter = Converter("schema.yaml", iterator, graph) | |
converter() | ||
``` | ||
|
||
[latest_version]: v0.2.2 | ||
[latest_tag]: https://github.com/sg-dev/rel2graph/releases/tag/v0.2.2 | ||
[latest_wheel]: https://github.com/sg-dev/rel2graph/releases/download/v0.2.2/rel2graph-0.2.2-py3-none-any.whl | ||
[latest_version]: v0.3.0 | ||
[latest_tag]: https://github.com/sg-dev/rel2graph/releases/tag/v0.3.0 | ||
[latest_wheel]: https://github.com/sg-dev/rel2graph/releases/download/v0.3.0/rel2graph-0.3.0-py3-none-any.whl | ||
[wiki]: docs/documentation.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
setup( | ||
name = "rel2graph", | ||
packages = find_packages(), | ||
version = "0.2.2", | ||
version = "0.3.0", | ||
description = "Library for converting relational data into graph data (neo4j)", | ||
author = "Julian Minder", | ||
author_email = "[email protected]", | ||
|