graphdatascience 1.18a1__tar.gz → 1.19__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.
- graphdatascience-1.19/MANIFEST.in +3 -0
- {graphdatascience-1.18a1/graphdatascience.egg-info → graphdatascience-1.19}/PKG-INFO +10 -24
- graphdatascience-1.19/pyproject.toml +174 -0
- graphdatascience-1.19/src/graphdatascience/arrow_client/arrow_client_options_util.py +13 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/authenticated_flight_client.py +63 -33
- graphdatascience-1.19/src/graphdatascience/arrow_client/v1/gds_arrow_client.py +631 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/v2/api_types.py +3 -3
- graphdatascience-1.19/src/graphdatascience/arrow_client/v2/data_mapper_utils.py +19 -0
- graphdatascience-1.19/src/graphdatascience/arrow_client/v2/gds_arrow_client.py +529 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/v2/job_client.py +15 -6
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/v2/remote_write_back_client.py +1 -1
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/endpoints.py +1 -1
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph_data_science.py +31 -3
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/v2/model_api.py +0 -5
- graphdatascience-1.19/src/graphdatascience/plugin_v2_endpoints.py +492 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/__init__.py +3 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/__init__.py +3 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/catalog/__init__.py +77 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/catalog/catalog_endpoints.py +95 -31
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/catalog/graph_sampling_endpoints.py +49 -64
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/catalog/node_label_endpoints.py +36 -37
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/catalog/node_properties_endpoints.py +53 -49
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/catalog/relationships_endpoints.py +122 -68
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/catalog/scale_properties_endpoints.py +289 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/catalog/scaler_config.py +11 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/centrality/__init__.py +93 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/centrality/articlerank_endpoints.py +385 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/centrality/articulationpoints_endpoints.py +245 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/centrality/betweenness_endpoints.py +96 -97
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/centrality/bridges_endpoints.py +82 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/centrality/celf_endpoints.py +116 -118
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/centrality/closeness_endpoints.py +275 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/centrality/closeness_harmonic_endpoints.py +260 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/centrality/degree_endpoints.py +107 -111
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/centrality/eigenvector_endpoints.py +374 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/centrality/pagerank_endpoints.py +378 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/__init__.py +148 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/clique_counting_endpoints.py +239 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/conductance_endpoints.py +58 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/community/hdbscan_endpoints.py +124 -127
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/k1coloring_endpoints.py +289 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/kcore_endpoints.py +250 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/kmeans_endpoints.py +390 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/labelpropagation_endpoints.py +336 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/leiden_endpoints.py +400 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/community/local_clustering_coefficient_endpoints.py +108 -107
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/louvain_endpoints.py +370 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/maxkcut_endpoints.py +199 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/modularity_endpoints.py +160 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/modularity_optimization_endpoints.py +355 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/scc_endpoints.py +267 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/sllpa_endpoints.py +283 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/triangle_count_endpoints.py +302 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/community/wcc_endpoints.py +313 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/config_endpoints.py +104 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/default_values.py +2 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/model/__init__.py +15 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/model/graphsage_model.py +74 -78
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/model/model_catalog_endpoints.py +133 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/node_embedding/__init__.py +45 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/node_embedding/fastrp_endpoints.py +358 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/node_embedding/graphsage_endpoints.py +51 -50
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/node_embedding/graphsage_predict_endpoints.py +226 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/node_embedding/graphsage_train_endpoints.py +153 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/node_embedding/hashgnn_endpoints.py +84 -83
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/node_embedding/node2vec_endpoints.py +381 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/__init__.py +101 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/all_shortest_path_endpoints.py +121 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/bfs_endpoints.py +222 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/dag_endpoints.py +17 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/dijkstra_endpoints.py +256 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/k_spanning_tree_endpoints.py +76 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/longest_path_endpoints.py +54 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/max_flow_endpoints.py +312 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/prize_steiner_tree_endpoints.py +286 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/shortest_path_endpoints.py +38 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/single_source_bellman_ford_endpoints.py +289 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/single_source_delta_endpoints.py +295 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/single_source_dijkstra_endpoints.py +226 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/source_target_astar_endpoints.py +258 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/source_target_dijkstra_endpoints.py +234 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/source_target_yens_endpoints.py +254 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/spanning_tree_endpoints.py +298 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/pathfinding/steiner_tree_endpoints.py +331 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/similarity/__init__.py +29 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/similarity/knn_endpoints.py +155 -156
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/similarity/knn_filtered_endpoints.py +156 -155
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/similarity/node_similarity_endpoints.py +121 -122
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/similarity/node_similarity_filtered_endpoints.py +121 -122
- graphdatascience-1.19/src/graphdatascience/procedure_surface/api/system_endpoints.py +26 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/catalog/__init__.py +3 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/arrow → graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/catalog}/catalog_arrow_endpoints.py +106 -18
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/catalog/graph_sampling_arrow_endpoints.py +17 -18
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/catalog/node_label_arrow_endpoints.py +8 -10
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/catalog/node_properties_arrow_endpoints.py +12 -13
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/catalog/relationship_arrow_endpoints.py +49 -17
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/catalog/scale_properties_arrow_endpoints.py +184 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/centrality/articlerank_arrow_endpoints.py +58 -45
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/centrality/articulationpoints_arrow_endpoints.py +25 -24
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/centrality/betweenness_arrow_endpoints.py +25 -24
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/centrality/bridges_arrow_endpoints.py +60 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/centrality/celf_arrow_endpoints.py +31 -30
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/centrality/closeness_arrow_endpoints.py +30 -29
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/centrality/closeness_harmonic_arrow_endpoints.py +25 -24
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/centrality/degree_arrow_endpoints.py +21 -20
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/centrality/eigenvector_arrow_endpoints.py +57 -49
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/centrality/pagerank_arrow_endpoints.py +63 -45
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/clique_counting_arrow_endpoints.py +17 -15
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/community/conductance_arrow_endpoints.py +48 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/hdbscan_arrow_endpoints.py +38 -38
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/k1coloring_arrow_endpoints.py +41 -35
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/kcore_arrow_endpoints.py +29 -27
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/kmeans_arrow_endpoints.py +47 -46
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/labelpropagation_arrow_endpoints.py +25 -24
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/leiden_arrow_endpoints.py +47 -46
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/local_clustering_coefficient_arrow_endpoints.py +17 -16
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/louvain_arrow_endpoints.py +41 -40
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/maxkcut_arrow_endpoints.py +19 -18
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/community/modularity_arrow_endpoints.py +101 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/modularity_optimization_arrow_endpoints.py +35 -34
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/scc_arrow_endpoints.py +34 -28
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/sllpa_arrow_endpoints.py +25 -24
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/triangle_count_arrow_endpoints.py +15 -14
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/community/wcc_arrow_endpoints.py +26 -25
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/config_arrow_endpoints.py +87 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/endpoints_helper_base.py +18 -10
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/error_handler.py +24 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/model/model_catalog_arrow_endpoints.py +92 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/node_embedding/fastrp_arrow_endpoints.py +49 -48
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/node_embedding/graphsage_predict_arrow_endpoints.py +23 -22
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/node_embedding/graphsage_train_arrow_endpoints.py +37 -38
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/node_embedding/hashgnn_arrow_endpoints.py +24 -23
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/node_embedding/node2vec_arrow_endpoints.py +81 -79
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/all_shortest_path_arrow_endpoints.py +98 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/bfs_arrow_endpoints.py +148 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/dag_arrow_endpoints.py +21 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/dijkstra_arrow_endpoints.py +172 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/k_spanning_tree_arrow_endpoints.py +67 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/longest_path_arrow_endpoints.py +51 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/max_flow_arrow_endpoints.py +213 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/prize_steiner_tree_arrow_endpoints.py +192 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/shortest_path_arrow_endpoints.py +49 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/single_source_bellman_ford_arrow_endpoints.py +202 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/single_source_delta_arrow_endpoints.py +210 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/single_source_dijkstra_arrow_endpoints.py +169 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/source_target_astar_arrow_endpoints.py +189 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/source_target_dijkstra_arrow_endpoints.py +172 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/source_target_yens_arrow_endpoints.py +181 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/spanning_tree_arrow_endpoints.py +202 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding/steiner_tree_arrow_endpoints.py +222 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/relationship_endpoints_helper.py +1 -1
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/similarity/knn_arrow_endpoints.py +11 -10
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/similarity/knn_filtered_arrow_endpoints.py +16 -15
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/similarity/node_similarity_arrow_endpoints.py +11 -10
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/similarity/node_similarity_filtered_arrow_endpoints.py +11 -10
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/stream_result_mapper.py +69 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/system_arrow_endpoints.py +24 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/table_endpoints_helper.py +13 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/__init__.py +7 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/catalog/graph_sampling_cypher_endpoints.py +17 -18
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/catalog/node_label_cypher_endpoints.py +8 -10
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/catalog/node_properties_cypher_endpoints.py +15 -17
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/catalog/relationship_cypher_endpoints.py +52 -20
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/catalog/scale_properties_cypher_endpoints.py +200 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/catalog/utils.py +12 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/catalog_cypher_endpoints.py +76 -18
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/centrality/articlerank_cypher_endpoints.py +67 -53
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/centrality/articulationpoints_cypher_endpoints.py +25 -24
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/centrality/betweenness_cypher_endpoints.py +25 -24
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/centrality/bridges_cypher_endpoints.py +59 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/centrality/celf_cypher_endpoints.py +38 -37
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/centrality/closeness_cypher_endpoints.py +30 -29
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/centrality/closeness_harmonic_cypher_endpoints.py +25 -24
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/centrality/degree_cypher_endpoints.py +30 -29
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/centrality/eigenvector_cypher_endpoints.py +63 -49
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/centrality/pagerank_cypher_endpoints.py +71 -53
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/clique_counting_cypher_endpoints.py +15 -13
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/community/conductance_cypher_endpoints.py +45 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/hdbscan_cypher_endpoints.py +37 -36
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/k1coloring_cypher_endpoints.py +43 -37
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/kcore_cypher_endpoints.py +29 -27
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/kmeans_cypher_endpoints.py +45 -44
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/labelpropagation_cypher_endpoints.py +25 -24
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/leiden_cypher_endpoints.py +45 -44
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/local_clustering_coefficient_cypher_endpoints.py +17 -16
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/louvain_cypher_endpoints.py +41 -40
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/maxkcut_cypher_endpoints.py +19 -18
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/community/modularity_cypher_endpoints.py +108 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/modularity_optimization_cypher_endpoints.py +35 -34
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/scc_cypher_endpoints.py +34 -28
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/sllpa_cypher_endpoints.py +25 -24
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/triangle_count_cypher_endpoints.py +15 -14
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/community/wcc_cypher_endpoints.py +26 -25
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/config_cypher_endpoints.py +109 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/model/model_catalog_cypher_endpoints.py +80 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/node_embedding/fastrp_cypher_endpoints.py +49 -48
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/node_embedding/graphsage_predict_cypher_endpoints.py +23 -22
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/node_embedding/graphsage_train_cypher_endpoints.py +37 -38
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/node_embedding/hashgnn_cypher_endpoints.py +24 -23
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/node_embedding/node2vec_cypher_endpoints.py +80 -79
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/all_shortest_path_cypher_endpoints.py +90 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/bfs_cypher_endpoints.py +150 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/dag_cypher_endpoints.py +18 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/dijkstra_cypher_endpoints.py +164 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/k_spanning_tree_cypher_endpoints.py +57 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/longest_path_cypher_endpoints.py +48 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/max_flow_cypher_endpoints.py +214 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/prize_steiner_tree_cypher_endpoints.py +189 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/shortest_path_cypher_endpoints.py +44 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/single_source_bellman_ford_cypher_endpoints.py +198 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/single_source_delta_cypher_endpoints.py +204 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/single_source_dijkstra_cypher_endpoints.py +160 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/source_target_astar_cypher_endpoints.py +180 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/source_target_dijkstra_cypher_endpoints.py +164 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/source_target_yens_cypher_endpoints.py +172 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/spanning_tree_cypher_endpoints.py +199 -0
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding/steiner_tree_cypher_endpoints.py +219 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/similarity/knn_cypher_endpoints.py +11 -10
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/similarity/knn_filtered_cypher_endpoints.py +25 -24
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/similarity/node_similarity_cypher_endpoints.py +11 -10
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/similarity/node_similarity_filtered_cypher_endpoints.py +11 -10
- graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/system_cypher_endpoints.py +23 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/utils/config_converter.py +2 -2
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/utils/result_utils.py +1 -1
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/arrow_graph_constructor.py +4 -3
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/arrow_query_runner.py +8 -5
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/cypher_graph_constructor.py +8 -9
- graphdatascience-1.19/src/graphdatascience/query_runner/db_environment_resolver.py +18 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/gds_arrow_client.py +8 -1
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/neo4j_query_runner.py +1 -3
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/progress/progress_bar.py +54 -1
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/protocol/project_protocols.py +20 -15
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/protocol/write_protocols.py +7 -4
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/session_query_runner.py +8 -13
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/standalone_session_query_runner.py +2 -1
- graphdatascience-1.19/src/graphdatascience/retry_utils/retry_config.py +145 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/retry_utils/retry_utils.py +13 -1
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/semantic_version/semantic_version.py +14 -3
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/server_version/server_version.py +3 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/__init__.py +2 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/aura_api.py +19 -7
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/aura_api_responses.py +24 -2
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/aura_graph_data_science.py +51 -22
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/dbms/protocol_resolver.py +1 -1
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/dbms_connection_info.py +25 -3
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/dedicated_sessions.py +61 -25
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/gds_sessions.py +37 -12
- graphdatascience-1.19/src/graphdatascience/session/session_lifecycle_manager.py +14 -0
- graphdatascience-1.19/src/graphdatascience/session/session_v2_endpoints.py +546 -0
- graphdatascience-1.19/src/graphdatascience/topological_lp/topological_lp_runner.py +62 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/utils/util_proc_runner.py +24 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/version.py +1 -1
- {graphdatascience-1.18a1 → graphdatascience-1.19/src/graphdatascience.egg-info}/PKG-INFO +10 -24
- graphdatascience-1.19/src/graphdatascience.egg-info/SOURCES.txt +424 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience.egg-info/requires.txt +3 -3
- graphdatascience-1.18a1/MANIFEST.in +0 -9
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/centrality/articlerank_endpoints.py +0 -345
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/centrality/articulationpoints_endpoints.py +0 -244
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/centrality/closeness_endpoints.py +0 -280
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/centrality/closeness_harmonic_endpoints.py +0 -265
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/centrality/eigenvector_endpoints.py +0 -348
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/centrality/pagerank_endpoints.py +0 -347
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/clique_counting_endpoints.py +0 -239
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/k1coloring_endpoints.py +0 -286
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/kcore_endpoints.py +0 -252
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/kmeans_endpoints.py +0 -391
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/labelpropagation_endpoints.py +0 -337
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/leiden_endpoints.py +0 -401
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/louvain_endpoints.py +0 -369
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/maxkcut_endpoints.py +0 -226
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/modularity_optimization_endpoints.py +0 -356
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/scc_endpoints.py +0 -264
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/sllpa_endpoints.py +0 -343
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/triangle_count_endpoints.py +0 -375
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community/wcc_endpoints.py +0 -315
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/node_embedding/fastrp_endpoints.py +0 -358
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/node_embedding/graphsage_predict_endpoints.py +0 -230
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/node_embedding/graphsage_train_endpoints.py +0 -152
- graphdatascience-1.18a1/graphdatascience/procedure_surface/api/node_embedding/node2vec_endpoints.py +0 -385
- graphdatascience-1.18a1/graphdatascience/procedure_surface/arrow/stream_result_mapper.py +0 -7
- graphdatascience-1.18a1/graphdatascience/retry_utils/__init__.py +0 -0
- graphdatascience-1.18a1/graphdatascience/retry_utils/retry_config.py +0 -12
- graphdatascience-1.18a1/graphdatascience/semantic_version/__init__.py +0 -0
- graphdatascience-1.18a1/graphdatascience/server_version/__init__.py +0 -0
- graphdatascience-1.18a1/graphdatascience/session/dbms/__init__.py +0 -0
- graphdatascience-1.18a1/graphdatascience/session/session_v2_endpoints.py +0 -228
- graphdatascience-1.18a1/graphdatascience/system/__init__.py +0 -0
- graphdatascience-1.18a1/graphdatascience/topological_lp/__init__.py +0 -0
- graphdatascience-1.18a1/graphdatascience/utils/__init__.py +0 -0
- graphdatascience-1.18a1/graphdatascience.egg-info/SOURCES.txt +0 -340
- graphdatascience-1.18a1/pyproject.toml +0 -55
- graphdatascience-1.18a1/requirements/base/base.txt +0 -11
- graphdatascience-1.18a1/requirements/base/networkx.txt +0 -1
- graphdatascience-1.18a1/requirements/base/ogb.txt +0 -1
- graphdatascience-1.18a1/requirements/base/rust-ext.txt +0 -2
- graphdatascience-1.18a1/setup.py +0 -63
- {graphdatascience-1.18a1 → graphdatascience-1.19}/LICENSE +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19}/README.md +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19}/setup.cfg +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/algo/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/algo/algo_endpoints.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/algo/algo_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/algo/single_mode_algo_endpoints.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/arrow_authentication.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/arrow_base_model.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/query_runner → graphdatascience-1.19/src/graphdatascience/arrow_client}/arrow_endpoint_version.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/arrow_info.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/middleware/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/middleware/auth_middleware.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/middleware/user_agent_middleware.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/arrow_client/v2 → graphdatascience-1.19/src/graphdatascience/arrow_client/v1}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/arrow_client/v2 → graphdatascience-1.19/src/graphdatascience/arrow_client/v1}/data_mapper_utils.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/error → graphdatascience-1.19/src/graphdatascience/arrow_client/v2}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/arrow_client/v2/mutation_client.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/call_builder.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/call_parameters.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/caller_base.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/graph → graphdatascience-1.19/src/graphdatascience/error}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/error/client_only_endpoint.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/error/cypher_warning_handler.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/error/endpoint_suggester.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/error/gds_not_installed.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/error/illegal_attr_checker.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/error/unable_to_connect.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/error/uncallable_namespace.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/model → graphdatascience-1.19/src/graphdatascience/graph}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/base_graph_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_alpha_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_beta_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_create_result.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_cypher_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_endpoints.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_entity_ops_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_export_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_object.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_project_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_remote_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_remote_project_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_sample_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/graph_type_check.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/nx_loader.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/graph/ogb_loader.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/ignored_server_endpoints.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/model/v2 → graphdatascience-1.19/src/graphdatascience/model}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/graphsage_model.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/link_prediction_model.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/model.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/model_alpha_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/model_beta_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/model_endpoints.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/model_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/model_resolver.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/node_classification_model.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/node_regression_model.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/pipeline_model.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/simple_rel_embedding_model.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/pipeline → graphdatascience-1.19/src/graphdatascience/model/v2}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/v2/graphsage_model.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/v2/model.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/model/v2/model_details.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface → graphdatascience-1.19/src/graphdatascience/pipeline}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/classification_training_pipeline.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/lp_pipeline_create_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/lp_training_pipeline.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/nc_pipeline_create_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/nc_training_pipeline.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/nr_pipeline_create_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/nr_training_pipeline.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/pipeline_alpha_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/pipeline_beta_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/pipeline_endpoints.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/pipeline_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/pipeline/training_pipeline.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/base_result.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/catalog/graph_api.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/catalog/graph_backend.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/catalog/graph_info.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/estimation_result.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/similarity/knn_results.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/api/similarity/node_similarity_results.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/api → graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/catalog/graph_backend_arrow.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/catalog/graph_ops_arrow.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/api/catalog → graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/centrality}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/api/centrality → graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/community}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/model_api_arrow.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/api/community → graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/node_embedding}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/arrow/node_property_endpoints.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/api/model → graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/pathfinding}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/api/node_embedding → graphdatascience-1.19/src/graphdatascience/procedure_surface/arrow/similarity}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/api/similarity → graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/catalog}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/catalog/graph_backend_cypher.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/arrow → graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/centrality}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/arrow/catalog → graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/community}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/estimation_utils.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/procedure_surface/cypher/model_api_cypher.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/arrow/centrality → graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/node_embedding}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/arrow/community → graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/pathfinding}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/arrow/node_embedding → graphdatascience-1.19/src/graphdatascience/procedure_surface/cypher/similarity}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/arrow/similarity → graphdatascience-1.19/src/graphdatascience/procedure_surface/utils}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/py.typed +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/cypher → graphdatascience-1.19/src/graphdatascience/query_runner}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/arrow_authentication/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/arrow_info/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/graph_constructor.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/cypher/catalog → graphdatascience-1.19/src/graphdatascience/query_runner/progress}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/progress/progress_provider.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/progress/query_progress_logger.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/progress/query_progress_provider.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/progress/static_progress_provider.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/cypher/centrality → graphdatascience-1.19/src/graphdatascience/query_runner/protocol}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/protocol/status.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/query_mode.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/query_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/query_runner/termination_flag.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/cypher/community → graphdatascience-1.19/src/graphdatascience/resources}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/cypher/node_embedding → graphdatascience-1.19/src/graphdatascience/resources/cora}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/cora/cora_nodes.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/cora/cora_rels.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/cora/serialize_cora.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/cypher/similarity → graphdatascience-1.19/src/graphdatascience/resources/imdb}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/imdb/imdb_acted_in.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/imdb/imdb_actors.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/imdb/imdb_directed_in.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/imdb/imdb_directors.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/imdb/imdb_movies_with_genre.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/imdb/imdb_movies_without_genre.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/imdb/serialize_imdb.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/procedure_surface/utils → graphdatascience-1.19/src/graphdatascience/resources/karate}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/karate/karate_club.parquet.gzip +0 -0
- {graphdatascience-1.18a1/graphdatascience/query_runner → graphdatascience-1.19/src/graphdatascience/resources/lastfm}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/lastfm/artist_nodes.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/lastfm/serialize_lastfm.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/lastfm/user_friend_df_directed.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/lastfm/user_listen_artist_rels.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/lastfm/user_nodes.parquet.gzip +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/resources/lastfm/user_tag_artist_rels.parquet.gzip +0 -0
- {graphdatascience-1.18a1/graphdatascience/query_runner/progress → graphdatascience-1.19/src/graphdatascience/retry_utils}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/retry_utils/neo4j_retry_helper.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/query_runner/protocol → graphdatascience-1.19/src/graphdatascience/semantic_version}/__init__.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/resources → graphdatascience-1.19/src/graphdatascience/server_version}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/server_version/compatible_with.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/algorithm_category.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/aura_api_token_authentication.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/aurads_sessions.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/cloud_location.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/resources/cora → graphdatascience-1.19/src/graphdatascience/session/dbms}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/dbms/protocol_version.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/region_suggester.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/session_info.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/session/session_sizes.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/resources/imdb → graphdatascience-1.19/src/graphdatascience/system}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/system/config_endpoints.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/system/system_endpoints.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/resources/karate → graphdatascience-1.19/src/graphdatascience/topological_lp}/__init__.py +0 -0
- /graphdatascience-1.18a1/graphdatascience/topological_lp/topological_lp_endpoints.py → /graphdatascience-1.19/src/graphdatascience/topological_lp/topological_lp_alpha_endpoints.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/topological_lp/topological_lp_alpha_runner.py +0 -0
- {graphdatascience-1.18a1/graphdatascience/resources/lastfm → graphdatascience-1.19/src/graphdatascience/utils}/__init__.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/utils/direct_util_endpoints.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/utils/util_node_property_func_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience/utils/util_remote_proc_runner.py +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience.egg-info/dependency_links.txt +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience.egg-info/not-zip-safe +0 -0
- {graphdatascience-1.18a1 → graphdatascience-1.19/src}/graphdatascience.egg-info/top_level.txt +0 -0
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: graphdatascience
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.19
|
|
4
4
|
Summary: A Python client for the Neo4j Graph Data Science (GDS) library
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
License: Apache License 2.0
|
|
5
|
+
Author-email: Neo4j <team-gds@neo4j.org>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://neo4j.com/product/graph-data-science/
|
|
9
8
|
Project-URL: Documentation, https://neo4j.com/docs/graph-data-science-client/current/
|
|
10
|
-
Project-URL:
|
|
11
|
-
Project-URL:
|
|
9
|
+
Project-URL: Repository, https://github.com/neo4j/graph-data-science-client
|
|
10
|
+
Project-URL: BugTracker, https://github.com/neo4j/graph-data-science-client/issues
|
|
12
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
13
12
|
Classifier: Intended Audience :: Developers
|
|
14
13
|
Classifier: Intended Audience :: Science/Research
|
|
15
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
16
14
|
Classifier: Operating System :: OS Independent
|
|
17
15
|
Classifier: Programming Language :: Python :: 3
|
|
18
16
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
@@ -31,32 +29,20 @@ Requires-Dist: multimethod<3.0,>=1.0
|
|
|
31
29
|
Requires-Dist: neo4j<7.0,>=4.4.12
|
|
32
30
|
Requires-Dist: numpy<2.4
|
|
33
31
|
Requires-Dist: pandas<3.0,>=1.0
|
|
34
|
-
Requires-Dist: pyarrow<
|
|
32
|
+
Requires-Dist: pyarrow<23.0,>=17.0
|
|
35
33
|
Requires-Dist: textdistance<5.0,>=4.0
|
|
36
34
|
Requires-Dist: tqdm<5.0,>=4.0
|
|
37
35
|
Requires-Dist: typing-extensions<5.0,>=4.0
|
|
38
36
|
Requires-Dist: requests
|
|
39
37
|
Requires-Dist: tenacity>=9.0
|
|
40
38
|
Requires-Dist: pydantic>=2.11
|
|
41
|
-
Provides-Extra: ogb
|
|
42
|
-
Requires-Dist: ogb<2.0,>=1.0; extra == "ogb"
|
|
43
39
|
Provides-Extra: networkx
|
|
44
40
|
Requires-Dist: networkx<4.0,>=2.0; extra == "networkx"
|
|
41
|
+
Provides-Extra: ogb
|
|
42
|
+
Requires-Dist: ogb<2.0,>=1.0; extra == "ogb"
|
|
45
43
|
Provides-Extra: rust-ext
|
|
46
|
-
Requires-Dist: neo4j-rust-ext<
|
|
47
|
-
Dynamic: author
|
|
48
|
-
Dynamic: author-email
|
|
49
|
-
Dynamic: classifier
|
|
50
|
-
Dynamic: description
|
|
51
|
-
Dynamic: description-content-type
|
|
52
|
-
Dynamic: home-page
|
|
53
|
-
Dynamic: license
|
|
44
|
+
Requires-Dist: neo4j-rust-ext<7.0,>=4.4.12; extra == "rust-ext"
|
|
54
45
|
Dynamic: license-file
|
|
55
|
-
Dynamic: project-url
|
|
56
|
-
Dynamic: provides-extra
|
|
57
|
-
Dynamic: requires-dist
|
|
58
|
-
Dynamic: requires-python
|
|
59
|
-
Dynamic: summary
|
|
60
46
|
|
|
61
47
|
# Neo4j Graph Data Science Client
|
|
62
48
|
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=42", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "graphdatascience"
|
|
7
|
+
description = "A Python client for the Neo4j Graph Data Science (GDS) library"
|
|
8
|
+
dynamic = ["version"]
|
|
9
|
+
authors = [{ name = "Neo4j", email = "team-gds@neo4j.org" }]
|
|
10
|
+
readme = "README.md"
|
|
11
|
+
license = "Apache-2.0"
|
|
12
|
+
classifiers = [
|
|
13
|
+
"Development Status :: 5 - Production/Stable",
|
|
14
|
+
"Intended Audience :: Developers",
|
|
15
|
+
"Intended Audience :: Science/Research",
|
|
16
|
+
"Operating System :: OS Independent",
|
|
17
|
+
"Programming Language :: Python :: 3",
|
|
18
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
19
|
+
"Programming Language :: Python :: 3.10",
|
|
20
|
+
"Programming Language :: Python :: 3.11",
|
|
21
|
+
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Programming Language :: Python :: 3.13",
|
|
23
|
+
"Topic :: Database",
|
|
24
|
+
"Topic :: Scientific/Engineering",
|
|
25
|
+
"Topic :: Software Development",
|
|
26
|
+
"Typing :: Typed",
|
|
27
|
+
]
|
|
28
|
+
requires-python = ">=3.10"
|
|
29
|
+
dependencies = [
|
|
30
|
+
"multimethod >= 1.0, < 3.0",
|
|
31
|
+
"neo4j >= 4.4.12, < 7.0",
|
|
32
|
+
"numpy < 2.4",
|
|
33
|
+
"pandas >= 1.0, < 3.0",
|
|
34
|
+
"pyarrow >= 17.0, < 23.0",
|
|
35
|
+
"textdistance >= 4.0, < 5.0",
|
|
36
|
+
"tqdm >= 4.0, < 5.0",
|
|
37
|
+
"typing-extensions >= 4.0, < 5.0",
|
|
38
|
+
"requests",
|
|
39
|
+
"tenacity >= 9.0",
|
|
40
|
+
"pydantic >= 2.11",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[project.urls]
|
|
44
|
+
Homepage = "https://neo4j.com/product/graph-data-science/"
|
|
45
|
+
Documentation = "https://neo4j.com/docs/graph-data-science-client/current/"
|
|
46
|
+
Repository = "https://github.com/neo4j/graph-data-science-client"
|
|
47
|
+
BugTracker = "https://github.com/neo4j/graph-data-science-client/issues"
|
|
48
|
+
|
|
49
|
+
[project.optional-dependencies]
|
|
50
|
+
networkx = ["networkx >= 2.0, < 4.0"]
|
|
51
|
+
ogb = ["ogb >= 1.0, < 2.0"]
|
|
52
|
+
rust-ext = ["neo4j-rust-ext >= 4.4.12, < 7.0"]
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
[dependency-groups]
|
|
56
|
+
# To install all development dependencies,
|
|
57
|
+
# run `pip install --group dev -e .` inside repository root folder.#
|
|
58
|
+
dev = [
|
|
59
|
+
"tox>4.24",
|
|
60
|
+
{ include-group = "dev-base" },
|
|
61
|
+
{ include-group = "test" },
|
|
62
|
+
{ include-group = "docs-ci" },
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
dev-base = [
|
|
66
|
+
"ruff == 0.14.11",
|
|
67
|
+
"mypy == 1.19.1",
|
|
68
|
+
"pandas-stubs == 2.2.3.241009",
|
|
69
|
+
"tox == 4.34.1",
|
|
70
|
+
"types-setuptools == 75.8.0.20250110",
|
|
71
|
+
"enum-tools[sphinx] == 0.12.0",
|
|
72
|
+
"autodoc_pydantic",
|
|
73
|
+
"types-requests",
|
|
74
|
+
"types-tqdm",
|
|
75
|
+
"types-python-dateutil",
|
|
76
|
+
"python-dotenv==1.2.1",
|
|
77
|
+
"types-colorama",
|
|
78
|
+
]
|
|
79
|
+
test = [
|
|
80
|
+
"pytest == 9.0.2",
|
|
81
|
+
"requests_mock == 1.12.1",
|
|
82
|
+
"pytest_mock == 3.15.1",
|
|
83
|
+
"testcontainers == 4.14.0",
|
|
84
|
+
"python-dateutil >= 2.9",
|
|
85
|
+
]
|
|
86
|
+
|
|
87
|
+
docs-ci = [
|
|
88
|
+
"sphinx == 7.3.7",
|
|
89
|
+
"enum-tools[sphinx] == 0.12.0",
|
|
90
|
+
"autodoc_pydantic",
|
|
91
|
+
]
|
|
92
|
+
notebook-base = [
|
|
93
|
+
"nbconvert==7.16.6",
|
|
94
|
+
"nbformat==5.10.4",
|
|
95
|
+
"nbclient==0.10.4",
|
|
96
|
+
"ipykernel==7.1.0",
|
|
97
|
+
]
|
|
98
|
+
notebook-aura-ci = [{ include-group = "notebook-base" }, "python-dotenv==1.2.1"]
|
|
99
|
+
notebook-ci = [
|
|
100
|
+
{ include-group = "notebook-base" },
|
|
101
|
+
"scipy == 1.14.0",
|
|
102
|
+
"torch==2.3.0",
|
|
103
|
+
"torch-scatter==2.1.1",
|
|
104
|
+
"torch-sparse==0.6.17",
|
|
105
|
+
"torch-geometric>=2.5.0",
|
|
106
|
+
]
|
|
107
|
+
|
|
108
|
+
publish = ["build", "twine"]
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
[tool.setuptools]
|
|
112
|
+
include-package-data = true
|
|
113
|
+
zip-safe = false
|
|
114
|
+
|
|
115
|
+
[tool.setuptools.packages.find]
|
|
116
|
+
where = ["src"]
|
|
117
|
+
include = ["graphdatascience*"]
|
|
118
|
+
|
|
119
|
+
[tool.setuptools.dynamic]
|
|
120
|
+
version = { attr = "graphdatascience.version.__version__" }
|
|
121
|
+
|
|
122
|
+
[tool.setuptools.package-data]
|
|
123
|
+
graphdatascience = ["py.typed", "resources/**/*.gzip"]
|
|
124
|
+
|
|
125
|
+
[tool.ruff]
|
|
126
|
+
line-length = 120
|
|
127
|
+
|
|
128
|
+
include = ["*.py", "*.ipynb"]
|
|
129
|
+
|
|
130
|
+
exclude = [
|
|
131
|
+
# default
|
|
132
|
+
|
|
133
|
+
".bzr",
|
|
134
|
+
".direnv",
|
|
135
|
+
".eggs",
|
|
136
|
+
".git",
|
|
137
|
+
".git-rewrite",
|
|
138
|
+
".hg",
|
|
139
|
+
".ipynb_checkpoints",
|
|
140
|
+
".mypy_cache",
|
|
141
|
+
".nox",
|
|
142
|
+
".pants.d",
|
|
143
|
+
".pyenv",
|
|
144
|
+
".pytest_cache",
|
|
145
|
+
".pytype",
|
|
146
|
+
".ruff_cache",
|
|
147
|
+
".svn",
|
|
148
|
+
".tox",
|
|
149
|
+
".venv",
|
|
150
|
+
".vscode",
|
|
151
|
+
"__pypackages__",
|
|
152
|
+
"_build",
|
|
153
|
+
"buck-out",
|
|
154
|
+
"build",
|
|
155
|
+
"dist",
|
|
156
|
+
"node_modules",
|
|
157
|
+
"site-packages",
|
|
158
|
+
"venv",
|
|
159
|
+
|
|
160
|
+
# custom
|
|
161
|
+
"venv*",
|
|
162
|
+
".venv*",
|
|
163
|
+
".tox",
|
|
164
|
+
"build",
|
|
165
|
+
]
|
|
166
|
+
|
|
167
|
+
[tool.ruff.lint]
|
|
168
|
+
select = [
|
|
169
|
+
"E4",
|
|
170
|
+
"E7",
|
|
171
|
+
"E9", # default pycodestyle rules
|
|
172
|
+
"F", # flake8
|
|
173
|
+
"I", # isort
|
|
174
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
|
|
3
|
+
TLS_ROOT_CERTS_OPTION = "tls_root_certs"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def disable_server_verification(arrow_client_options: dict[str, Any]) -> dict[str, Any]:
|
|
7
|
+
arrow_client_options["disable_server_verification"] = True
|
|
8
|
+
return arrow_client_options
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def set_tls_root_certs(arrow_client_options: dict[str, Any], tls_root_certs: bytes | str) -> dict[str, Any]:
|
|
12
|
+
arrow_client_options[TLS_ROOT_CERTS_OPTION] = tls_root_certs
|
|
13
|
+
return arrow_client_options
|
|
@@ -2,11 +2,14 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
import json
|
|
4
4
|
import logging
|
|
5
|
+
import platform
|
|
5
6
|
from dataclasses import dataclass
|
|
6
|
-
from
|
|
7
|
+
from types import TracebackType
|
|
8
|
+
from typing import Any, Iterator, Type
|
|
7
9
|
|
|
10
|
+
import certifi
|
|
11
|
+
from pyarrow import Schema, flight
|
|
8
12
|
from pyarrow import __version__ as arrow_version
|
|
9
|
-
from pyarrow import flight
|
|
10
13
|
from pyarrow._flight import (
|
|
11
14
|
Action,
|
|
12
15
|
ActionType,
|
|
@@ -17,14 +20,13 @@ from pyarrow._flight import (
|
|
|
17
20
|
Result,
|
|
18
21
|
Ticket,
|
|
19
22
|
)
|
|
20
|
-
from tenacity import retry, retry_any, retry_if_exception_type, stop_after_attempt, stop_after_delay, wait_exponential
|
|
21
23
|
|
|
22
24
|
from graphdatascience.arrow_client.arrow_authentication import ArrowAuthentication
|
|
23
25
|
from graphdatascience.arrow_client.arrow_info import ArrowInfo
|
|
24
|
-
from graphdatascience.retry_utils.retry_config import
|
|
26
|
+
from graphdatascience.retry_utils.retry_config import ExponentialWaitConfig, RetryConfigV2, StopConfig
|
|
25
27
|
|
|
26
|
-
from ..retry_utils.retry_utils import before_log
|
|
27
28
|
from ..version import __version__
|
|
29
|
+
from .arrow_client_options_util import TLS_ROOT_CERTS_OPTION, set_tls_root_certs
|
|
28
30
|
from .middleware.auth_middleware import AuthFactory, AuthMiddleware
|
|
29
31
|
from .middleware.user_agent_middleware import UserAgentFactory
|
|
30
32
|
|
|
@@ -37,7 +39,7 @@ class AuthenticatedArrowClient:
|
|
|
37
39
|
encrypted: bool = False,
|
|
38
40
|
arrow_client_options: dict[str, Any] | None = None,
|
|
39
41
|
connection_string_override: str | None = None,
|
|
40
|
-
retry_config:
|
|
42
|
+
retry_config: RetryConfigV2 | None = None,
|
|
41
43
|
advertised_listen_address: tuple[str, int] | None = None,
|
|
42
44
|
) -> AuthenticatedArrowClient:
|
|
43
45
|
connection_string: str
|
|
@@ -49,14 +51,14 @@ class AuthenticatedArrowClient:
|
|
|
49
51
|
host, port = connection_string.split(":")
|
|
50
52
|
|
|
51
53
|
if retry_config is None:
|
|
52
|
-
retry_config =
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
54
|
+
retry_config = RetryConfigV2(
|
|
55
|
+
retryable_exceptions=[
|
|
56
|
+
FlightTimedOutError,
|
|
57
|
+
FlightUnavailableError,
|
|
58
|
+
FlightInternalError,
|
|
59
|
+
],
|
|
60
|
+
stop_config=StopConfig(after_delay=10, after_attempt=5),
|
|
61
|
+
wait_config=ExponentialWaitConfig(multiplier=1, min=1, max=10),
|
|
60
62
|
)
|
|
61
63
|
|
|
62
64
|
return AuthenticatedArrowClient(
|
|
@@ -72,7 +74,7 @@ class AuthenticatedArrowClient:
|
|
|
72
74
|
def __init__(
|
|
73
75
|
self,
|
|
74
76
|
host: str,
|
|
75
|
-
retry_config:
|
|
77
|
+
retry_config: RetryConfigV2,
|
|
76
78
|
port: int = 8491,
|
|
77
79
|
auth: ArrowAuthentication | None = None,
|
|
78
80
|
encrypted: bool = False,
|
|
@@ -80,7 +82,7 @@ class AuthenticatedArrowClient:
|
|
|
80
82
|
user_agent: str | None = None,
|
|
81
83
|
advertised_listen_address: tuple[str, int] | None = None,
|
|
82
84
|
):
|
|
83
|
-
"""Creates a new
|
|
85
|
+
"""Creates a new AuthenticatedArrowClient instance.
|
|
84
86
|
|
|
85
87
|
Parameters
|
|
86
88
|
----------
|
|
@@ -107,7 +109,6 @@ class AuthenticatedArrowClient:
|
|
|
107
109
|
self._encrypted = encrypted
|
|
108
110
|
self._arrow_client_options = arrow_client_options
|
|
109
111
|
self._user_agent = user_agent
|
|
110
|
-
self._retry_config = retry_config
|
|
111
112
|
self._logger = logging.getLogger("gds_arrow_client")
|
|
112
113
|
self._retry_config = retry_config
|
|
113
114
|
if auth:
|
|
@@ -115,7 +116,7 @@ class AuthenticatedArrowClient:
|
|
|
115
116
|
self._auth_middleware = AuthMiddleware(auth)
|
|
116
117
|
self.advertised_listen_address = advertised_listen_address
|
|
117
118
|
|
|
118
|
-
self._flight_client = self._instantiate_flight_client()
|
|
119
|
+
self._flight_client: flight.FlightClient = self._instantiate_flight_client()
|
|
119
120
|
|
|
120
121
|
def connection_info(self) -> ConnectionInfo:
|
|
121
122
|
"""
|
|
@@ -123,7 +124,7 @@ class AuthenticatedArrowClient:
|
|
|
123
124
|
|
|
124
125
|
Returns
|
|
125
126
|
-------
|
|
126
|
-
|
|
127
|
+
ConnectionInfo
|
|
127
128
|
the host and port of the GDS Arrow server
|
|
128
129
|
"""
|
|
129
130
|
return ConnectionInfo(self._host, self._port, self._encrypted)
|
|
@@ -153,13 +154,7 @@ class AuthenticatedArrowClient:
|
|
|
153
154
|
a token from the server and returns it.
|
|
154
155
|
"""
|
|
155
156
|
|
|
156
|
-
@
|
|
157
|
-
reraise=True,
|
|
158
|
-
before=before_log("Request token", self._logger, logging.DEBUG),
|
|
159
|
-
retry=self._retry_config.retry,
|
|
160
|
-
stop=self._retry_config.stop,
|
|
161
|
-
wait=self._retry_config.wait,
|
|
162
|
-
)
|
|
157
|
+
@self._retry_config.decorator(operation_name="Request token", logger=self._logger)
|
|
163
158
|
def auth_with_retry() -> None:
|
|
164
159
|
client = self._flight_client
|
|
165
160
|
if self._auth:
|
|
@@ -181,13 +176,7 @@ class AuthenticatedArrowClient:
|
|
|
181
176
|
return self._flight_client.do_action(Action(endpoint, payload_bytes)) # type: ignore
|
|
182
177
|
|
|
183
178
|
def do_action_with_retry(self, endpoint: str, payload: bytes | dict[str, Any]) -> list[Result]:
|
|
184
|
-
@
|
|
185
|
-
reraise=True,
|
|
186
|
-
before=before_log("Send action", self._logger, logging.DEBUG),
|
|
187
|
-
retry=self._retry_config.retry,
|
|
188
|
-
stop=self._retry_config.stop,
|
|
189
|
-
wait=self._retry_config.wait,
|
|
190
|
-
)
|
|
179
|
+
@self._retry_config.decorator(operation_name="Send action", logger=self._logger)
|
|
191
180
|
def run_with_retry() -> list[Result]:
|
|
192
181
|
# the Flight response error code is only checked on iterator consumption
|
|
193
182
|
# we eagerly collect iterator here to trigger retry in case of an error
|
|
@@ -198,6 +187,30 @@ class AuthenticatedArrowClient:
|
|
|
198
187
|
def list_actions(self) -> set[ActionType]:
|
|
199
188
|
return self._flight_client.list_actions() # type: ignore
|
|
200
189
|
|
|
190
|
+
def do_put_with_retry(
|
|
191
|
+
self, descriptor: flight.FlightDescriptor, schema: Schema
|
|
192
|
+
) -> tuple[flight.FlightStreamWriter, flight.FlightMetadataReader]:
|
|
193
|
+
@self._retry_config.decorator(operation_name="Do put", logger=self._logger)
|
|
194
|
+
def run_with_retry() -> tuple[flight.FlightStreamWriter, flight.FlightMetadataReader]:
|
|
195
|
+
return self._flight_client.do_put(descriptor, schema) # type: ignore
|
|
196
|
+
|
|
197
|
+
return run_with_retry()
|
|
198
|
+
|
|
199
|
+
def __enter__(self) -> AuthenticatedArrowClient:
|
|
200
|
+
return self
|
|
201
|
+
|
|
202
|
+
def __exit__(
|
|
203
|
+
self,
|
|
204
|
+
exception_type: Type[BaseException] | None,
|
|
205
|
+
exception_value: BaseException | None,
|
|
206
|
+
traceback: TracebackType | None,
|
|
207
|
+
) -> None:
|
|
208
|
+
self.close()
|
|
209
|
+
|
|
210
|
+
def close(self) -> None:
|
|
211
|
+
if self._flight_client:
|
|
212
|
+
self._flight_client.close()
|
|
213
|
+
|
|
201
214
|
def _instantiate_flight_client(self) -> flight.FlightClient:
|
|
202
215
|
location = (
|
|
203
216
|
flight.Location.for_grpc_tls(self._host, self._port)
|
|
@@ -205,6 +218,12 @@ class AuthenticatedArrowClient:
|
|
|
205
218
|
else flight.Location.for_grpc_tcp(self._host, self._port)
|
|
206
219
|
)
|
|
207
220
|
client_options: dict[str, Any] = (self._arrow_client_options or {}).copy()
|
|
221
|
+
|
|
222
|
+
# We need to specify the system root certificates on Windows
|
|
223
|
+
if platform.system() == "Windows":
|
|
224
|
+
if TLS_ROOT_CERTS_OPTION not in client_options:
|
|
225
|
+
set_tls_root_certs(client_options, certifi.contents())
|
|
226
|
+
|
|
208
227
|
if self._auth:
|
|
209
228
|
user_agent = f"neo4j-graphdatascience-v{__version__} pyarrow-v{arrow_version}"
|
|
210
229
|
if self._user_agent:
|
|
@@ -217,6 +236,17 @@ class AuthenticatedArrowClient:
|
|
|
217
236
|
|
|
218
237
|
return flight.FlightClient(location, **client_options)
|
|
219
238
|
|
|
239
|
+
def __getstate__(self) -> dict[str, Any]:
|
|
240
|
+
state = self.__dict__.copy()
|
|
241
|
+
# Remove the FlightClient as it isn't serializable
|
|
242
|
+
if "_flight_client" in state:
|
|
243
|
+
del state["_flight_client"]
|
|
244
|
+
return state
|
|
245
|
+
|
|
246
|
+
def __setstate__(self, state: dict[str, Any]) -> None:
|
|
247
|
+
self.__dict__.update(state)
|
|
248
|
+
self._flight_client = self._instantiate_flight_client()
|
|
249
|
+
|
|
220
250
|
|
|
221
251
|
@dataclass
|
|
222
252
|
class ConnectionInfo:
|