ricgraph 2.13__tar.gz → 3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ricgraph-2.13/ricgraph.egg-info → ricgraph-3.0}/PKG-INFO +1 -1
- {ricgraph-2.13 → ricgraph-3.0}/README.md +4 -1
- {ricgraph-2.13 → ricgraph-3.0}/pyproject.toml +1 -1
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph.py +3 -3
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph_cypher.py +5 -4
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph_graphdb.py +5 -1
- {ricgraph-2.13 → ricgraph-3.0/ricgraph.egg-info}/PKG-INFO +1 -1
- {ricgraph-2.13 → ricgraph-3.0}/LICENSE +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/README-PyPI.md +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/__init__.py +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph_cache.py +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph_constants.py +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph_file.py +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph_harvest.py +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph_researchinfo.py +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph_restapi.py +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph/ricgraph_utils.py +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph.egg-info/SOURCES.txt +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph.egg-info/dependency_links.txt +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph.egg-info/requires.txt +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/ricgraph.egg-info/top_level.txt +0 -0
- {ricgraph-2.13 → ricgraph-3.0}/setup.cfg +0 -0
|
@@ -80,6 +80,9 @@ Currently, there are people working on the following extensions for Ricgraph:
|
|
|
80
80
|
* A tool that helps Pure administrators to clean up "external organizations" in Pure.
|
|
81
81
|
Status: planning stage (pre-alpha).
|
|
82
82
|
|
|
83
|
+
Starting around mid-September, you can see Ricgraph in action with the
|
|
84
|
+
[pilot project Open Ricgraph demo server](https://www.ricgraph.eu/pilot-project-open-ricgraph-demo-server.html).
|
|
85
|
+
|
|
83
86
|
Throughout this documentation, we illustrate how Ricgraph works by applying
|
|
84
87
|
it to the application area research information.
|
|
85
88
|
|
|
@@ -390,4 +393,4 @@ please let me know by creating a GitHub *Issue* at the top left of that page.
|
|
|
390
393
|
<!-- Do not change the lines below. The version number will be
|
|
391
394
|
modified by script maintenance/update_version.bash -->
|
|
392
395
|
This README.md file is part of the
|
|
393
|
-
documentation for version
|
|
396
|
+
documentation for version 3.0 of Ricgraph - Research in context graph.
|
|
@@ -101,8 +101,8 @@ In the default configuration of Ricgraph, the following properties are included:
|
|
|
101
101
|
from numpy import nan
|
|
102
102
|
from pandas import DataFrame, concat, set_option
|
|
103
103
|
from typing import Union
|
|
104
|
-
from .
|
|
105
|
-
|
|
104
|
+
from .ricgraph_utils import timestamp
|
|
105
|
+
from .ricgraph_graphdb import (create_update_node, create_two_nodes_and_edge,
|
|
106
106
|
RICGRAPH_NODEADD_MODE,
|
|
107
107
|
RICGRAPH_PROPERTIES_STANDARD, RICGRAPH_PROPERTIES_ADDITIONAL)
|
|
108
108
|
|
|
@@ -116,7 +116,7 @@ __package__ = 'Ricgraph'
|
|
|
116
116
|
# __version__ should be placed here instead of in __init__.py.
|
|
117
117
|
# If not here, it cannot be found when executing something like
|
|
118
118
|
# PYTHONPATH=../ricgraph ../bin/python ricgraph_explorer.py
|
|
119
|
-
__version__ = '
|
|
119
|
+
__version__ = '3.0'
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
# ##############################################################################
|
|
@@ -47,7 +47,8 @@ from typing import Union
|
|
|
47
47
|
from neo4j import GraphDatabase, Driver, Result
|
|
48
48
|
from neo4j.graph import Node
|
|
49
49
|
from .ricgraph_constants import A_LARGE_NUMBER
|
|
50
|
-
from .ricgraph_utils import
|
|
50
|
+
from .ricgraph_utils import (get_ricgraph_ini_file, get_configfile_key,
|
|
51
|
+
create_ricgraph_key, datetimestamp)
|
|
51
52
|
from .ricgraph_cache import (nodes_cache_key_id_create, nodes_cache_key_id_read,
|
|
52
53
|
nodes_cache_key_id_delete_id, nodes_cache_key_id_empty)
|
|
53
54
|
|
|
@@ -112,7 +113,7 @@ def open_ricgraph() -> Driver:
|
|
|
112
113
|
"""
|
|
113
114
|
global _graph
|
|
114
115
|
|
|
115
|
-
print('Opening Ricgraph.\n')
|
|
116
|
+
print('Opening Ricgraph at ' + datetimestamp() + '.\n')
|
|
116
117
|
try:
|
|
117
118
|
_graph = GraphDatabase.driver(_GRAPHDB_URL,
|
|
118
119
|
auth=(_GRAPHDB_USER, _GRAPHDB_PASSWORD))
|
|
@@ -141,7 +142,7 @@ def close_ricgraph() -> None:
|
|
|
141
142
|
print('\nclose_ricgraph(): Error: graph has not been initialized or opened.\n\n')
|
|
142
143
|
return
|
|
143
144
|
|
|
144
|
-
print('Closing Ricgraph.\n')
|
|
145
|
+
print('Closing Ricgraph at ' + datetimestamp() + '.\n')
|
|
145
146
|
_graph.close()
|
|
146
147
|
return
|
|
147
148
|
|
|
@@ -178,7 +179,7 @@ def empty_ricgraph(answer: str = '') -> None:
|
|
|
178
179
|
print('empty_ricgraph(): Ricgraph will not be emptied.\n')
|
|
179
180
|
return
|
|
180
181
|
|
|
181
|
-
print('empty_ricgraph(): Ricgraph will be emptied.\n')
|
|
182
|
+
print('empty_ricgraph(): Ricgraph will be emptied at ' + datetimestamp() + '.\n')
|
|
182
183
|
graphdb_name = ricgraph_database()
|
|
183
184
|
graphdb_databasename = ricgraph_databasename()
|
|
184
185
|
|
|
@@ -51,7 +51,11 @@ from .ricgraph_cypher import (cypher_create_node, cypher_read_node,
|
|
|
51
51
|
cypher_merge_nodes,
|
|
52
52
|
get_all_neighbor_nodes,
|
|
53
53
|
ricgraph_nr_edges_of_node)
|
|
54
|
-
from .ricgraph_utils import
|
|
54
|
+
from .ricgraph_utils import (get_ricgraph_ini_file, get_configfile_key,
|
|
55
|
+
convert_string_to_ascii, create_unique_string, datetimestamp,
|
|
56
|
+
create_ricgraph_key, create_ricgraph_value,
|
|
57
|
+
get_namepart_from_ricgraph_key, get_valuepart_from_ricgraph_key,
|
|
58
|
+
get_valuepart_from_ricgraph_value, get_additionalpart_from_ricgraph_value)
|
|
55
59
|
from .ricgraph_researchinfo import create_well_known_url
|
|
56
60
|
|
|
57
61
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|