graphdatascience 1.22__tar.gz → 2.0a1__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.
Files changed (531) hide show
  1. {graphdatascience-1.22/src/graphdatascience.egg-info → graphdatascience-2.0a1}/PKG-INFO +5 -5
  2. {graphdatascience-1.22 → graphdatascience-2.0a1}/pyproject.toml +24 -7
  3. graphdatascience-2.0a1/src/graphdatascience/__init__.py +11 -0
  4. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/arrow_info.py +4 -6
  5. graphdatascience-2.0a1/src/graphdatascience/arrow_client/arrow_table_utils.py +38 -0
  6. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/authenticated_flight_client.py +38 -65
  7. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/v1/gds_arrow_client.py +5 -7
  8. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/v2/gds_arrow_client.py +3 -2
  9. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/v2/job_client.py +1 -1
  10. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/datasets/graph_constructor_func.py +2 -2
  11. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/datasets/nx_loader.py +3 -3
  12. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/datasets/ogb_loader.py +5 -5
  13. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/datasets/simple_file_loader.py +0 -11
  14. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/error/cypher_warning_handler.py +6 -3
  15. graphdatascience-2.0a1/src/graphdatascience/error/standalone_session_error.py +3 -0
  16. graphdatascience-2.0a1/src/graphdatascience/graph/__init__.py +3 -0
  17. {graphdatascience-1.22/src/graphdatascience/graph/v2 → graphdatascience-2.0a1/src/graphdatascience/graph}/graph_api.py +3 -3
  18. {graphdatascience-1.22/src/graphdatascience/graph/v2 → graphdatascience-2.0a1/src/graphdatascience/graph}/graph_backend_cypher.py +4 -3
  19. graphdatascience-1.22/src/graphdatascience/query_runner/arrow_graph_constructor.py → graphdatascience-2.0a1/src/graphdatascience/graph_construction/arrow_v1_graph_constructor.py +16 -24
  20. graphdatascience-2.0a1/src/graphdatascience/graph_construction/arrow_v2_graph_constructor.py +102 -0
  21. {graphdatascience-1.22/src/graphdatascience/query_runner → graphdatascience-2.0a1/src/graphdatascience/graph_construction}/cypher_graph_constructor.py +28 -143
  22. graphdatascience-1.22/src/graphdatascience/plugin_v2_endpoints.py → graphdatascience-2.0a1/src/graphdatascience/graph_data_science.py +380 -65
  23. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/ignored_server_endpoints.py +0 -6
  24. {graphdatascience-1.22/src/graphdatascience/model/v2 → graphdatascience-2.0a1/src/graphdatascience/model}/model.py +2 -3
  25. {graphdatascience-1.22/src/graphdatascience/model/v2 → graphdatascience-2.0a1/src/graphdatascience/model}/model_api.py +1 -1
  26. {graphdatascience-1.22/src/graphdatascience/model/v2 → graphdatascience-2.0a1/src/graphdatascience/model}/model_details.py +1 -1
  27. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/__init__.py +3 -1
  28. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/catalog_endpoints.py +18 -12
  29. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/dataset_endpoints.py +9 -9
  30. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/graph_sampling_endpoints.py +6 -6
  31. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/node_label_endpoints.py +3 -3
  32. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/node_properties_endpoints.py +4 -4
  33. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/catalog/relationships_data_frame.py +47 -0
  34. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/relationships_endpoints.py +12 -11
  35. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/scale_properties_endpoints.py +6 -6
  36. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/articlerank_endpoints.py +6 -6
  37. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/articulationpoints_endpoints.py +6 -6
  38. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/betweenness_endpoints.py +6 -6
  39. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/bridges_endpoints.py +3 -3
  40. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/celf_endpoints.py +6 -6
  41. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/closeness_endpoints.py +6 -6
  42. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/closeness_harmonic_endpoints.py +6 -6
  43. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/degree_endpoints.py +6 -6
  44. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/eigenvector_endpoints.py +6 -6
  45. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/pagerank_endpoints.py +6 -6
  46. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/collapse_path_endpoints.py +2 -2
  47. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/clique_counting_endpoints.py +6 -6
  48. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/conductance_endpoints.py +2 -2
  49. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/hdbscan_endpoints.py +6 -6
  50. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/k1coloring_endpoints.py +6 -6
  51. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/kcore_endpoints.py +6 -6
  52. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/kmeans_endpoints.py +6 -6
  53. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/labelpropagation_endpoints.py +6 -6
  54. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/leiden_endpoints.py +6 -6
  55. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/local_clustering_coefficient_endpoints.py +6 -6
  56. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/louvain_endpoints.py +6 -6
  57. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/maxkcut_endpoints.py +4 -4
  58. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/modularity_endpoints.py +4 -4
  59. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/modularity_optimization_endpoints.py +6 -6
  60. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/scc_endpoints.py +6 -6
  61. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/sllpa_endpoints.py +6 -6
  62. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/triangle_count_endpoints.py +6 -6
  63. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/triangles_endpoints.py +2 -2
  64. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/wcc_endpoints.py +6 -6
  65. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/debug_endpoints.py +43 -0
  66. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/job_handle.py +4 -4
  67. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/kge/__init__.py +17 -0
  68. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/kge/kge_endpoints.py +69 -0
  69. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/kge/kge_predict_endpoints.py +218 -0
  70. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/kge/simple_rel_embedding_model.py +227 -0
  71. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/license_endpoints.py +23 -0
  72. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/model/graphsage_model.py +12 -12
  73. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/model/link_prediction_model.py +8 -8
  74. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/model/model_catalog_endpoints.py +1 -1
  75. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/model/node_classification_model.py +11 -9
  76. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/model/node_regression_model.py +7 -7
  77. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/model/pipeline_model.py +52 -0
  78. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/node_embedding/__init__.py +8 -0
  79. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/node_embedding/fastpath_endpoints.py +280 -0
  80. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/node_embedding/fastrp_endpoints.py +6 -6
  81. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/node_embedding/graphsage_endpoints.py +5 -5
  82. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/node_embedding/graphsage_predict_endpoints.py +5 -5
  83. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/node_embedding/graphsage_train_endpoints.py +5 -5
  84. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/node_embedding/hashgnn_endpoints.py +5 -5
  85. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/node_embedding/node2vec_endpoints.py +5 -5
  86. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/all_shortest_path_endpoints.py +3 -3
  87. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/bfs_endpoints.py +5 -5
  88. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/dfs_endpoints.py +5 -5
  89. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/dijkstra_endpoints.py +5 -5
  90. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/k_spanning_tree_endpoints.py +2 -2
  91. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/longest_path_endpoints.py +2 -2
  92. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/max_flow_endpoints.py +6 -6
  93. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/max_flow_min_cost_endpoints.py +6 -6
  94. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/prize_steiner_tree_endpoints.py +6 -6
  95. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/random_walk_endpoints.py +5 -5
  96. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/single_source_bellman_ford_endpoints.py +6 -6
  97. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/single_source_delta_endpoints.py +6 -6
  98. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/single_source_dijkstra_endpoints.py +5 -5
  99. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/source_target_astar_endpoints.py +5 -5
  100. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/source_target_dijkstra_endpoints.py +5 -5
  101. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/source_target_yens_endpoints.py +5 -5
  102. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/spanning_tree_endpoints.py +6 -6
  103. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/steiner_tree_endpoints.py +6 -6
  104. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/__init__.py +2 -2
  105. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/link_prediction_pipeline.py +5 -5
  106. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/link_prediction_predict_endpoints.py +4 -4
  107. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/link_prediction_train_endpoints.py +6 -6
  108. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_classification_pipeline.py +6 -6
  109. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_classification_pipeline_results.py +1 -0
  110. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_classification_predict_endpoints.py +5 -5
  111. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_classification_train_endpoints.py +6 -6
  112. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_regression_pipeline.py +5 -5
  113. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_regression_pipeline_endpoints.py +9 -7
  114. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_regression_pipeline_protocol.py +4 -4
  115. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_regression_predict_endpoints.py +3 -3
  116. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/projection_job_handle.py +3 -3
  117. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/similarity/__init__.py +2 -0
  118. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/similarity/knn_endpoints.py +6 -6
  119. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/similarity/knn_filtered_endpoints.py +6 -6
  120. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/similarity/node_similarity_endpoints.py +6 -6
  121. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/similarity/node_similarity_filtered_endpoints.py +6 -6
  122. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/similarity/similarity_functions.py +186 -0
  123. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/topological_link_prediction_endpoints.py +187 -0
  124. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/api/util_endpoints.py +93 -0
  125. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/write_job_handle.py +2 -2
  126. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/catalog/catalog_arrow_endpoints.py +36 -81
  127. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/catalog/graph_backend_arrow.py +4 -3
  128. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/catalog/graph_sampling_arrow_endpoints.py +4 -4
  129. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/catalog/node_label_arrow_endpoints.py +4 -4
  130. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/catalog/node_properties_arrow_endpoints.py +5 -5
  131. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/catalog/relationship_arrow_endpoints.py +11 -12
  132. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/catalog/scale_properties_arrow_endpoints.py +7 -7
  133. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/articlerank_arrow_endpoints.py +8 -8
  134. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/articulationpoints_arrow_endpoints.py +8 -8
  135. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/betweenness_arrow_endpoints.py +8 -8
  136. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/bridges_arrow_endpoints.py +5 -5
  137. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/celf_arrow_endpoints.py +8 -8
  138. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/closeness_arrow_endpoints.py +8 -8
  139. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/closeness_harmonic_arrow_endpoints.py +8 -8
  140. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/degree_arrow_endpoints.py +8 -8
  141. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/eigenvector_arrow_endpoints.py +8 -8
  142. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/centrality/pagerank_arrow_endpoints.py +8 -8
  143. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/collapse_path_arrow_endpoints.py +2 -2
  144. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/clique_counting_arrow_endpoints.py +8 -8
  145. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/conductance_arrow_endpoints.py +3 -3
  146. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/hdbscan_arrow_endpoints.py +8 -8
  147. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/k1coloring_arrow_endpoints.py +8 -8
  148. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/kcore_arrow_endpoints.py +8 -8
  149. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/kmeans_arrow_endpoints.py +8 -8
  150. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/labelpropagation_arrow_endpoints.py +8 -8
  151. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/leiden_arrow_endpoints.py +8 -8
  152. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/local_clustering_coefficient_arrow_endpoints.py +8 -8
  153. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/louvain_arrow_endpoints.py +8 -8
  154. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/maxkcut_arrow_endpoints.py +6 -6
  155. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/modularity_arrow_endpoints.py +5 -5
  156. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/modularity_optimization_arrow_endpoints.py +8 -8
  157. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/scc_arrow_endpoints.py +8 -8
  158. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/sllpa_arrow_endpoints.py +8 -8
  159. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/triangle_count_arrow_endpoints.py +8 -8
  160. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/triangles_arrow_endpoints.py +2 -2
  161. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/community/wcc_arrow_endpoints.py +8 -8
  162. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/endpoints_helper_base.py +8 -8
  163. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/jobs_arrow_endpoints.py +3 -3
  164. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/model/model_catalog_arrow_endpoints.py +1 -1
  165. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/model_api_arrow.py +2 -2
  166. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/arrow/node_embedding/fastpath_arrow_endpoints.py +220 -0
  167. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/node_embedding/fastrp_arrow_endpoints.py +8 -8
  168. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/node_embedding/graphsage_predict_arrow_endpoints.py +7 -7
  169. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/node_embedding/graphsage_train_arrow_endpoints.py +7 -7
  170. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/node_embedding/hashgnn_arrow_endpoints.py +7 -7
  171. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/node_embedding/node2vec_arrow_endpoints.py +7 -7
  172. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/node_property_endpoints.py +2 -2
  173. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/all_shortest_path_arrow_endpoints.py +5 -5
  174. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/bfs_arrow_endpoints.py +7 -7
  175. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/dfs_arrow_endpoints.py +7 -7
  176. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/dijkstra_arrow_endpoints.py +7 -7
  177. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/k_spanning_tree_arrow_endpoints.py +4 -4
  178. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/longest_path_arrow_endpoints.py +3 -3
  179. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/max_flow_arrow_endpoints.py +8 -8
  180. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/max_flow_min_cost_arrow_endpoints.py +8 -8
  181. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/prize_steiner_tree_arrow_endpoints.py +8 -8
  182. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/random_walk_arrow_endpoints.py +7 -7
  183. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/shortest_path_arrow_endpoints.py +1 -1
  184. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/single_source_bellman_ford_arrow_endpoints.py +8 -8
  185. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/single_source_delta_arrow_endpoints.py +8 -8
  186. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/single_source_dijkstra_arrow_endpoints.py +7 -7
  187. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/source_target_astar_arrow_endpoints.py +7 -7
  188. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/source_target_dijkstra_arrow_endpoints.py +7 -7
  189. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/source_target_yens_arrow_endpoints.py +7 -7
  190. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/spanning_tree_arrow_endpoints.py +8 -8
  191. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/steiner_tree_arrow_endpoints.py +8 -8
  192. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/link_prediction_pipeline_arrow_endpoints.py +1 -1
  193. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/link_prediction_predict_arrow_endpoints.py +5 -5
  194. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/link_prediction_train_arrow_endpoints.py +6 -6
  195. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/node_classification_pipeline_arrow_endpoints.py +1 -1
  196. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/node_classification_predict_arrow_endpoints.py +6 -6
  197. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/node_classification_train_arrow_endpoints.py +6 -6
  198. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/node_regression_pipeline_arrow_endpoints.py +5 -5
  199. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/node_regression_predict_arrow_endpoints.py +4 -4
  200. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/pipeline_arrow_endpoints.py +1 -1
  201. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/relationship_endpoints_helper.py +2 -2
  202. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/similarity/knn_arrow_endpoints.py +8 -8
  203. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/similarity/knn_filtered_arrow_endpoints.py +8 -8
  204. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/similarity/node_similarity_arrow_endpoints.py +8 -8
  205. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/similarity/node_similarity_filtered_arrow_endpoints.py +8 -8
  206. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/arrow/topological_link_prediction_arrow_endpoints.py +65 -0
  207. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/arrow/util_arrow_endpoints.py +57 -0
  208. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/catalog/__init__.py +2 -0
  209. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/catalog/catalog_cypher_endpoints.py +122 -50
  210. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/catalog/graph_sampling_cypher_endpoints.py +5 -5
  211. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/catalog/node_label_cypher_endpoints.py +3 -3
  212. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/catalog/node_properties_cypher_endpoints.py +4 -4
  213. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/catalog/relationship_cypher_endpoints.py +30 -18
  214. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/catalog/scale_properties_cypher_endpoints.py +6 -6
  215. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/articlerank_cypher_endpoints.py +6 -6
  216. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/articulationpoints_cypher_endpoints.py +6 -6
  217. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/betweenness_cypher_endpoints.py +6 -6
  218. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/bridges_cypher_endpoints.py +3 -3
  219. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/celf_cypher_endpoints.py +6 -6
  220. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/closeness_cypher_endpoints.py +6 -6
  221. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/closeness_harmonic_cypher_endpoints.py +6 -6
  222. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/degree_cypher_endpoints.py +6 -6
  223. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/eigenvector_cypher_endpoints.py +6 -6
  224. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/centrality/pagerank_cypher_endpoints.py +6 -6
  225. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/collapse_path_cypher_endpoints.py +2 -2
  226. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/clique_counting_cypher_endpoints.py +6 -6
  227. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/conductance_cypher_endpoints.py +2 -2
  228. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/hdbscan_cypher_endpoints.py +6 -6
  229. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/k1coloring_cypher_endpoints.py +6 -6
  230. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/kcore_cypher_endpoints.py +6 -6
  231. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/kmeans_cypher_endpoints.py +6 -6
  232. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/labelpropagation_cypher_endpoints.py +6 -6
  233. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/leiden_cypher_endpoints.py +6 -6
  234. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/local_clustering_coefficient_cypher_endpoints.py +6 -6
  235. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/louvain_cypher_endpoints.py +6 -6
  236. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/maxkcut_cypher_endpoints.py +4 -4
  237. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/modularity_cypher_endpoints.py +4 -4
  238. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/modularity_optimization_cypher_endpoints.py +6 -6
  239. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/scc_cypher_endpoints.py +6 -6
  240. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/sllpa_cypher_endpoints.py +6 -6
  241. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/triangle_count_cypher_endpoints.py +6 -6
  242. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/triangles_cypher_endpoints.py +2 -2
  243. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/community/wcc_cypher_endpoints.py +6 -6
  244. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/debug_cypher_endpoints.py +15 -0
  245. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/estimation_utils.py +3 -3
  246. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/kge/__init__.py +5 -0
  247. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/kge/kge_predict_cypher_endpoints.py +148 -0
  248. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/license_cypher_endpoints.py +22 -0
  249. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/model/model_catalog_cypher_endpoints.py +1 -1
  250. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/model_api_cypher.py +2 -2
  251. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/node_embedding/fastrp_cypher_endpoints.py +6 -6
  252. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/node_embedding/graphsage_predict_cypher_endpoints.py +5 -5
  253. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/node_embedding/graphsage_train_cypher_endpoints.py +6 -6
  254. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/node_embedding/hashgnn_cypher_endpoints.py +5 -5
  255. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/node_embedding/node2vec_cypher_endpoints.py +6 -6
  256. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/all_shortest_path_cypher_endpoints.py +3 -3
  257. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/bfs_cypher_endpoints.py +5 -5
  258. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/dfs_cypher_endpoints.py +5 -5
  259. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/dijkstra_cypher_endpoints.py +5 -5
  260. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/k_spanning_tree_cypher_endpoints.py +2 -2
  261. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/longest_path_cypher_endpoints.py +2 -2
  262. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/max_flow_cypher_endpoints.py +6 -6
  263. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/max_flow_min_cost_cypher_endpoints.py +6 -6
  264. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/prize_steiner_tree_cypher_endpoints.py +6 -6
  265. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/random_walk_cypher_endpoints.py +5 -5
  266. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/single_source_bellman_ford_cypher_endpoints.py +6 -6
  267. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/single_source_delta_cypher_endpoints.py +6 -6
  268. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/single_source_dijkstra_cypher_endpoints.py +5 -5
  269. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/source_target_astar_cypher_endpoints.py +5 -5
  270. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/source_target_dijkstra_cypher_endpoints.py +5 -5
  271. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/source_target_yens_cypher_endpoints.py +5 -5
  272. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/spanning_tree_cypher_endpoints.py +6 -6
  273. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/steiner_tree_cypher_endpoints.py +6 -6
  274. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/link_prediction_predict_cypher_endpoints.py +4 -4
  275. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/link_prediction_train_cypher_endpoints.py +6 -6
  276. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/node_classification_predict_cypher_endpoints.py +5 -5
  277. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/node_classification_train_cypher_endpoints.py +6 -6
  278. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/node_regression_pipeline_cypher_endpoints.py +5 -5
  279. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/node_regression_predict_cypher_endpoints.py +3 -3
  280. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/similarity/knn_cypher_endpoints.py +6 -6
  281. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/similarity/knn_filtered_cypher_endpoints.py +6 -6
  282. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/similarity/node_similarity_cypher_endpoints.py +6 -6
  283. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/similarity/node_similarity_filtered_cypher_endpoints.py +6 -6
  284. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/topological_link_prediction_cypher_endpoints.py +138 -0
  285. graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/util_cypher_endpoints.py +38 -0
  286. {graphdatascience-1.22/src/graphdatascience/query_runner → graphdatascience-2.0a1/src/graphdatascience}/progress/progress_bar.py +4 -4
  287. {graphdatascience-1.22/src/graphdatascience/query_runner → graphdatascience-2.0a1/src/graphdatascience}/progress/query_progress_logger.py +3 -9
  288. {graphdatascience-1.22/src/graphdatascience/query_runner → graphdatascience-2.0a1/src/graphdatascience}/progress/query_progress_provider.py +2 -11
  289. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/query_runner/neo4j_query_runner.py +16 -74
  290. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/query_runner/query_runner.py +0 -7
  291. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/retry_utils/neo4j_retry_helper.py +0 -3
  292. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/aura_api_responses.py +13 -2
  293. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/aura_api_token_authentication.py +1 -1
  294. graphdatascience-1.22/src/graphdatascience/session/session_v2_endpoints.py → graphdatascience-2.0a1/src/graphdatascience/session/aura_graph_data_science.py +409 -82
  295. graphdatascience-1.22/src/graphdatascience/session/dedicated_sessions.py → graphdatascience-2.0a1/src/graphdatascience/session/gds_sessions.py +168 -54
  296. {graphdatascience-1.22/src/graphdatascience/query_runner/protocol → graphdatascience-2.0a1/src/graphdatascience/session/remote_ops}/project_protocols.py +2 -2
  297. {graphdatascience-1.22/src/graphdatascience/query_runner/protocol → graphdatascience-2.0a1/src/graphdatascience/session/remote_ops}/projection_runner.py +4 -4
  298. {graphdatascience-1.22/src/graphdatascience/query_runner/protocol → graphdatascience-2.0a1/src/graphdatascience/session/remote_ops}/write_protocols.py +2 -2
  299. graphdatascience-2.0a1/src/graphdatascience/session/session_lifecycle_manager.py +35 -0
  300. graphdatascience-2.0a1/src/graphdatascience/version.py +2 -0
  301. {graphdatascience-1.22 → graphdatascience-2.0a1/src/graphdatascience.egg-info}/PKG-INFO +5 -5
  302. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience.egg-info/SOURCES.txt +46 -97
  303. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience.egg-info/requires.txt +4 -4
  304. graphdatascience-1.22/src/graphdatascience/__init__.py +0 -36
  305. graphdatascience-1.22/src/graphdatascience/algo/algo_endpoints.py +0 -24
  306. graphdatascience-1.22/src/graphdatascience/algo/algo_proc_runner.py +0 -45
  307. graphdatascience-1.22/src/graphdatascience/algo/single_mode_algo_endpoints.py +0 -18
  308. graphdatascience-1.22/src/graphdatascience/call_builder.py +0 -21
  309. graphdatascience-1.22/src/graphdatascience/caller_base.py +0 -23
  310. graphdatascience-1.22/src/graphdatascience/endpoints.py +0 -116
  311. graphdatascience-1.22/src/graphdatascience/error/client_only_endpoint.py +0 -47
  312. graphdatascience-1.22/src/graphdatascience/error/endpoint_suggester.py +0 -29
  313. graphdatascience-1.22/src/graphdatascience/error/illegal_attr_checker.py +0 -16
  314. graphdatascience-1.22/src/graphdatascience/error/uncallable_namespace.py +0 -16
  315. graphdatascience-1.22/src/graphdatascience/graph/base_graph_proc_runner.py +0 -570
  316. graphdatascience-1.22/src/graphdatascience/graph/graph_alpha_proc_runner.py +0 -81
  317. graphdatascience-1.22/src/graphdatascience/graph/graph_beta_proc_runner.py +0 -43
  318. graphdatascience-1.22/src/graphdatascience/graph/graph_create_result.py +0 -28
  319. graphdatascience-1.22/src/graphdatascience/graph/graph_cypher_runner.py +0 -125
  320. graphdatascience-1.22/src/graphdatascience/graph/graph_endpoints.py +0 -15
  321. graphdatascience-1.22/src/graphdatascience/graph/graph_entity_ops_runner.py +0 -426
  322. graphdatascience-1.22/src/graphdatascience/graph/graph_export_runner.py +0 -52
  323. graphdatascience-1.22/src/graphdatascience/graph/graph_object.py +0 -232
  324. graphdatascience-1.22/src/graphdatascience/graph/graph_proc_runner.py +0 -15
  325. graphdatascience-1.22/src/graphdatascience/graph/graph_project_runner.py +0 -72
  326. graphdatascience-1.22/src/graphdatascience/graph/graph_remote_proc_runner.py +0 -76
  327. graphdatascience-1.22/src/graphdatascience/graph/graph_sample_runner.py +0 -72
  328. graphdatascience-1.22/src/graphdatascience/graph/graph_type_check.py +0 -34
  329. graphdatascience-1.22/src/graphdatascience/graph/nx_loader.py +0 -46
  330. graphdatascience-1.22/src/graphdatascience/graph/ogb_loader.py +0 -76
  331. graphdatascience-1.22/src/graphdatascience/graph/v2/__init__.py +0 -4
  332. graphdatascience-1.22/src/graphdatascience/graph_data_science.py +0 -393
  333. graphdatascience-1.22/src/graphdatascience/model/graphsage_model.py +0 -56
  334. graphdatascience-1.22/src/graphdatascience/model/link_prediction_model.py +0 -45
  335. graphdatascience-1.22/src/graphdatascience/model/model.py +0 -301
  336. graphdatascience-1.22/src/graphdatascience/model/model_alpha_proc_runner.py +0 -51
  337. graphdatascience-1.22/src/graphdatascience/model/model_beta_proc_runner.py +0 -33
  338. graphdatascience-1.22/src/graphdatascience/model/model_endpoints.py +0 -22
  339. graphdatascience-1.22/src/graphdatascience/model/model_proc_runner.py +0 -151
  340. graphdatascience-1.22/src/graphdatascience/model/model_resolver.py +0 -21
  341. graphdatascience-1.22/src/graphdatascience/model/node_classification_model.py +0 -78
  342. graphdatascience-1.22/src/graphdatascience/model/node_regression_model.py +0 -25
  343. graphdatascience-1.22/src/graphdatascience/model/pipeline_model.py +0 -104
  344. graphdatascience-1.22/src/graphdatascience/model/simple_rel_embedding_model.py +0 -196
  345. graphdatascience-1.22/src/graphdatascience/pipeline/classification_training_pipeline.py +0 -67
  346. graphdatascience-1.22/src/graphdatascience/pipeline/lp_pipeline_create_runner.py +0 -20
  347. graphdatascience-1.22/src/graphdatascience/pipeline/lp_training_pipeline.py +0 -52
  348. graphdatascience-1.22/src/graphdatascience/pipeline/nc_pipeline_create_runner.py +0 -20
  349. graphdatascience-1.22/src/graphdatascience/pipeline/nc_training_pipeline.py +0 -52
  350. graphdatascience-1.22/src/graphdatascience/pipeline/nr_pipeline_create_runner.py +0 -20
  351. graphdatascience-1.22/src/graphdatascience/pipeline/nr_training_pipeline.py +0 -83
  352. graphdatascience-1.22/src/graphdatascience/pipeline/pipeline_alpha_proc_runner.py +0 -25
  353. graphdatascience-1.22/src/graphdatascience/pipeline/pipeline_beta_proc_runner.py +0 -79
  354. graphdatascience-1.22/src/graphdatascience/pipeline/pipeline_endpoints.py +0 -116
  355. graphdatascience-1.22/src/graphdatascience/pipeline/pipeline_proc_runner.py +0 -88
  356. graphdatascience-1.22/src/graphdatascience/pipeline/training_pipeline.py +0 -269
  357. graphdatascience-1.22/src/graphdatascience/query_runner/arrow_authentication/__init__.py +0 -3
  358. graphdatascience-1.22/src/graphdatascience/query_runner/arrow_info/__init__.py +0 -5
  359. graphdatascience-1.22/src/graphdatascience/query_runner/arrow_query_runner.py +0 -272
  360. graphdatascience-1.22/src/graphdatascience/query_runner/gds_arrow_client.py +0 -1004
  361. graphdatascience-1.22/src/graphdatascience/query_runner/session_query_runner.py +0 -231
  362. graphdatascience-1.22/src/graphdatascience/query_runner/standalone_session_query_runner.py +0 -109
  363. graphdatascience-1.22/src/graphdatascience/semantic_version/__init__.py +0 -0
  364. graphdatascience-1.22/src/graphdatascience/server_version/__init__.py +0 -0
  365. graphdatascience-1.22/src/graphdatascience/server_version/compatible_with.py +0 -43
  366. graphdatascience-1.22/src/graphdatascience/session/aura_graph_data_science.py +0 -313
  367. graphdatascience-1.22/src/graphdatascience/session/dbms/__init__.py +0 -0
  368. graphdatascience-1.22/src/graphdatascience/session/gds_sessions.py +0 -205
  369. graphdatascience-1.22/src/graphdatascience/session/session_lifecycle_manager.py +0 -14
  370. graphdatascience-1.22/src/graphdatascience/system/__init__.py +0 -0
  371. graphdatascience-1.22/src/graphdatascience/system/config_endpoints.py +0 -61
  372. graphdatascience-1.22/src/graphdatascience/system/system_endpoints.py +0 -144
  373. graphdatascience-1.22/src/graphdatascience/topological_lp/__init__.py +0 -0
  374. graphdatascience-1.22/src/graphdatascience/topological_lp/topological_lp_alpha_endpoints.py +0 -8
  375. graphdatascience-1.22/src/graphdatascience/topological_lp/topological_lp_alpha_runner.py +0 -52
  376. graphdatascience-1.22/src/graphdatascience/topological_lp/topological_lp_runner.py +0 -72
  377. graphdatascience-1.22/src/graphdatascience/utils/__init__.py +0 -0
  378. graphdatascience-1.22/src/graphdatascience/utils/direct_util_endpoints.py +0 -115
  379. graphdatascience-1.22/src/graphdatascience/utils/util_node_property_func_runner.py +0 -31
  380. graphdatascience-1.22/src/graphdatascience/utils/util_proc_runner.py +0 -60
  381. graphdatascience-1.22/src/graphdatascience/utils/util_remote_proc_runner.py +0 -55
  382. graphdatascience-1.22/src/graphdatascience/version.py +0 -2
  383. {graphdatascience-1.22 → graphdatascience-2.0a1}/LICENSE +0 -0
  384. {graphdatascience-1.22 → graphdatascience-2.0a1}/MANIFEST.in +0 -0
  385. {graphdatascience-1.22 → graphdatascience-2.0a1}/README.md +0 -0
  386. {graphdatascience-1.22 → graphdatascience-2.0a1}/setup.cfg +0 -0
  387. {graphdatascience-1.22/src/graphdatascience/algo → graphdatascience-2.0a1/src/graphdatascience/arrow_client}/__init__.py +0 -0
  388. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/arrow_authentication.py +0 -0
  389. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/arrow_base_model.py +0 -0
  390. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/arrow_client_options_util.py +0 -0
  391. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/arrow_endpoint_version.py +0 -0
  392. {graphdatascience-1.22/src/graphdatascience/arrow_client → graphdatascience-2.0a1/src/graphdatascience/arrow_client/middleware}/__init__.py +0 -0
  393. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/middleware/auth_middleware.py +0 -0
  394. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/middleware/user_agent_middleware.py +0 -0
  395. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/progress_callback.py +0 -0
  396. {graphdatascience-1.22/src/graphdatascience/arrow_client/middleware → graphdatascience-2.0a1/src/graphdatascience/arrow_client/v1}/__init__.py +0 -0
  397. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/v1/data_mapper_utils.py +0 -0
  398. {graphdatascience-1.22/src/graphdatascience/arrow_client/v1 → graphdatascience-2.0a1/src/graphdatascience/arrow_client/v2}/__init__.py +0 -0
  399. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/v2/api_types.py +0 -0
  400. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/v2/data_mapper_utils.py +0 -0
  401. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/arrow_client/v2/mutation_client.py +0 -0
  402. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/call_parameters.py +0 -0
  403. {graphdatascience-1.22/src/graphdatascience/arrow_client/v2 → graphdatascience-2.0a1/src/graphdatascience/datasets}/__init__.py +0 -0
  404. {graphdatascience-1.22/src/graphdatascience/datasets → graphdatascience-2.0a1/src/graphdatascience/error}/__init__.py +0 -0
  405. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/error/gds_not_installed.py +0 -0
  406. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/error/unable_to_connect.py +0 -0
  407. {graphdatascience-1.22/src/graphdatascience/graph/v2 → graphdatascience-2.0a1/src/graphdatascience/graph}/graph_backend.py +0 -0
  408. {graphdatascience-1.22/src/graphdatascience/error → graphdatascience-2.0a1/src/graphdatascience/graph_construction}/__init__.py +0 -0
  409. {graphdatascience-1.22/src/graphdatascience/query_runner → graphdatascience-2.0a1/src/graphdatascience/graph_construction}/graph_constructor.py +0 -0
  410. {graphdatascience-1.22/src/graphdatascience/graph → graphdatascience-2.0a1/src/graphdatascience/model}/__init__.py +0 -0
  411. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/__init__.py +0 -0
  412. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/__init__.py +0 -0
  413. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/base_result.py +0 -0
  414. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/graph_info.py +0 -0
  415. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/catalog/scaler_config.py +0 -0
  416. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/centrality/__init__.py +0 -0
  417. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/community/__init__.py +0 -0
  418. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/config_endpoints.py +0 -0
  419. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/default_values.py +0 -0
  420. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/estimation_result.py +0 -0
  421. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/job_not_finished_error.py +0 -0
  422. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/list_progress_endpoint.py +0 -0
  423. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/model/__init__.py +0 -0
  424. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/__init__.py +0 -0
  425. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/dag_endpoints.py +0 -0
  426. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pathfinding/shortest_path_endpoints.py +0 -0
  427. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/link_prediction_pipeline_endpoints.py +0 -0
  428. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/link_prediction_pipeline_protocol.py +0 -0
  429. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/link_prediction_pipeline_results.py +0 -0
  430. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_classification_pipeline_endpoints.py +0 -0
  431. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_classification_pipeline_protocol.py +0 -0
  432. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_regression_metric.py +0 -0
  433. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/node_regression_pipeline_results.py +0 -0
  434. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/parameter_space_config.py +0 -0
  435. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/pipeline_catalog_protocol.py +0 -0
  436. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/pipeline/pipeline_endpoints.py +0 -0
  437. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/similarity/knn_results.py +0 -0
  438. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/api/similarity/node_similarity_results.py +0 -0
  439. {graphdatascience-1.22/src/graphdatascience/model → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/arrow}/__init__.py +0 -0
  440. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/catalog/__init__.py +0 -0
  441. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/catalog/graph_ops_arrow.py +0 -0
  442. {graphdatascience-1.22/src/graphdatascience/model/v2 → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/arrow/centrality}/__init__.py +0 -0
  443. {graphdatascience-1.22/src/graphdatascience/pipeline → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/arrow/community}/__init__.py +0 -0
  444. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/config_arrow_endpoints.py +0 -0
  445. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/error_handler.py +0 -0
  446. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/list_progress_arrow_endpoint.py +0 -0
  447. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/model/__init__.py +0 -0
  448. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/mutation_runner.py +0 -0
  449. {graphdatascience-1.22/src/graphdatascience/procedure_surface/arrow → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/arrow/node_embedding}/__init__.py +0 -0
  450. {graphdatascience-1.22/src/graphdatascience/procedure_surface/arrow/centrality → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/arrow/pathfinding}/__init__.py +0 -0
  451. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pathfinding/dag_arrow_endpoints.py +0 -0
  452. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/__init__.py +0 -0
  453. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/pipeline/pipeline_catalog_arrow_endpoints.py +0 -0
  454. {graphdatascience-1.22/src/graphdatascience/procedure_surface/arrow/community → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/arrow/similarity}/__init__.py +0 -0
  455. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/stream_result_mapper.py +0 -0
  456. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/arrow/table_endpoints_helper.py +0 -0
  457. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/__init__.py +0 -0
  458. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/catalog/utils.py +0 -0
  459. {graphdatascience-1.22/src/graphdatascience/procedure_surface/arrow/node_embedding → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/centrality}/__init__.py +0 -0
  460. {graphdatascience-1.22/src/graphdatascience/procedure_surface/arrow/pathfinding → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/community}/__init__.py +0 -0
  461. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/config_cypher_endpoints.py +0 -0
  462. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/list_progress_cypher_endpoint.py +0 -0
  463. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/model/__init__.py +0 -0
  464. {graphdatascience-1.22/src/graphdatascience/procedure_surface/arrow/similarity → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/node_embedding}/__init__.py +0 -0
  465. {graphdatascience-1.22/src/graphdatascience/procedure_surface/cypher/centrality → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/pathfinding}/__init__.py +0 -0
  466. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/dag_cypher_endpoints.py +0 -0
  467. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pathfinding/shortest_path_cypher_endpoints.py +0 -0
  468. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/__init__.py +0 -0
  469. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/link_prediction_pipeline_cypher_endpoints.py +0 -0
  470. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/node_classification_pipeline_cypher_endpoints.py +0 -0
  471. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/pipeline_catalog_cypher_endpoints.py +0 -0
  472. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/cypher/pipeline/pipeline_cypher_endpoints.py +0 -0
  473. {graphdatascience-1.22/src/graphdatascience/procedure_surface/cypher/community → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/cypher/similarity}/__init__.py +0 -0
  474. {graphdatascience-1.22/src/graphdatascience/procedure_surface/cypher/node_embedding → graphdatascience-2.0a1/src/graphdatascience/procedure_surface/utils}/__init__.py +0 -0
  475. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/utils/config_converter.py +0 -0
  476. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/procedure_surface/utils/result_utils.py +0 -0
  477. {graphdatascience-1.22/src/graphdatascience/procedure_surface/cypher/pathfinding → graphdatascience-2.0a1/src/graphdatascience/progress}/__init__.py +0 -0
  478. {graphdatascience-1.22/src/graphdatascience/query_runner → graphdatascience-2.0a1/src/graphdatascience}/progress/progress_provider.py +0 -0
  479. {graphdatascience-1.22/src/graphdatascience/query_runner → graphdatascience-2.0a1/src/graphdatascience}/progress/static_progress_provider.py +0 -0
  480. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/py.typed +0 -0
  481. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/query_runner/__init__.py +0 -0
  482. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/query_runner/query_mode.py +0 -0
  483. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/query_runner/query_type.py +0 -0
  484. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/query_runner/termination_flag.py +0 -0
  485. {graphdatascience-1.22/src/graphdatascience/procedure_surface/cypher/similarity → graphdatascience-2.0a1/src/graphdatascience/resources}/__init__.py +0 -0
  486. {graphdatascience-1.22/src/graphdatascience/procedure_surface/utils → graphdatascience-2.0a1/src/graphdatascience/resources/cora}/__init__.py +0 -0
  487. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/cora/cora_nodes.parquet.gzip +0 -0
  488. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/cora/cora_rels.parquet.gzip +0 -0
  489. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/cora/serialize_cora.py +0 -0
  490. {graphdatascience-1.22/src/graphdatascience/query_runner/progress → graphdatascience-2.0a1/src/graphdatascience/resources/imdb}/__init__.py +0 -0
  491. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/imdb/imdb_acted_in.parquet.gzip +0 -0
  492. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/imdb/imdb_actors.parquet.gzip +0 -0
  493. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/imdb/imdb_directed_in.parquet.gzip +0 -0
  494. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/imdb/imdb_directors.parquet.gzip +0 -0
  495. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/imdb/imdb_movies_with_genre.parquet.gzip +0 -0
  496. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/imdb/imdb_movies_without_genre.parquet.gzip +0 -0
  497. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/imdb/serialize_imdb.py +0 -0
  498. {graphdatascience-1.22/src/graphdatascience/query_runner/protocol → graphdatascience-2.0a1/src/graphdatascience/resources/karate}/__init__.py +0 -0
  499. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/karate/karate_club.parquet.gzip +0 -0
  500. {graphdatascience-1.22/src/graphdatascience/resources → graphdatascience-2.0a1/src/graphdatascience/resources/lastfm}/__init__.py +0 -0
  501. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/lastfm/artist_nodes.parquet.gzip +0 -0
  502. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/lastfm/serialize_lastfm.py +0 -0
  503. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/lastfm/user_friend_df_directed.parquet.gzip +0 -0
  504. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/lastfm/user_listen_artist_rels.parquet.gzip +0 -0
  505. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/lastfm/user_nodes.parquet.gzip +0 -0
  506. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/resources/lastfm/user_tag_artist_rels.parquet.gzip +0 -0
  507. {graphdatascience-1.22/src/graphdatascience/resources/cora → graphdatascience-2.0a1/src/graphdatascience/retry_utils}/__init__.py +0 -0
  508. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/retry_utils/retry_config.py +0 -0
  509. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/retry_utils/retry_utils.py +0 -0
  510. {graphdatascience-1.22/src/graphdatascience/resources/imdb → graphdatascience-2.0a1/src/graphdatascience/semantic_version}/__init__.py +0 -0
  511. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/semantic_version/semantic_version.py +0 -0
  512. {graphdatascience-1.22/src/graphdatascience/resources/karate → graphdatascience-2.0a1/src/graphdatascience/server_version}/__init__.py +0 -0
  513. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/server_version/server_version.py +0 -0
  514. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/__init__.py +0 -0
  515. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/algorithm_category.py +0 -0
  516. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/aura_api.py +0 -0
  517. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/cloud_location.py +0 -0
  518. {graphdatascience-1.22/src/graphdatascience/resources/lastfm → graphdatascience-2.0a1/src/graphdatascience/session/dbms}/__init__.py +0 -0
  519. {graphdatascience-1.22/src/graphdatascience/query_runner → graphdatascience-2.0a1/src/graphdatascience/session/dbms}/db_environment_resolver.py +0 -0
  520. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/dbms/protocol_resolver.py +0 -0
  521. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/dbms/protocol_version.py +0 -0
  522. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/dbms_connection_info.py +0 -0
  523. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/region_suggester.py +0 -0
  524. {graphdatascience-1.22/src/graphdatascience/retry_utils → graphdatascience-2.0a1/src/graphdatascience/session/remote_ops}/__init__.py +0 -0
  525. {graphdatascience-1.22/src/graphdatascience/query_runner/protocol → graphdatascience-2.0a1/src/graphdatascience/session/remote_ops}/arrow_config.py +0 -0
  526. {graphdatascience-1.22/src/graphdatascience/query_runner/protocol → graphdatascience-2.0a1/src/graphdatascience/session/remote_ops}/status.py +0 -0
  527. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/session_info.py +0 -0
  528. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience/session/session_sizes.py +0 -0
  529. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience.egg-info/dependency_links.txt +0 -0
  530. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience.egg-info/not-zip-safe +0 -0
  531. {graphdatascience-1.22 → graphdatascience-2.0a1}/src/graphdatascience.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphdatascience
3
- Version: 1.22
3
+ Version: 2.0a1
4
4
  Summary: A Python client for the Neo4j Graph Data Science (GDS) library
5
5
  Author-email: Neo4j <team-gds@neo4j.org>
6
6
  License-Expression: Apache-2.0
@@ -27,9 +27,9 @@ Requires-Python: >=3.10
27
27
  Description-Content-Type: text/markdown
28
28
  License-File: LICENSE
29
29
  Requires-Dist: multimethod<3.0,>=1.0
30
- Requires-Dist: neo4j<7.0,>=4.4.12
31
- Requires-Dist: numpy<2.4
32
- Requires-Dist: pandas<3.0,>=1.0
30
+ Requires-Dist: neo4j<7.0,>=5.26.0
31
+ Requires-Dist: numpy<3.0
32
+ Requires-Dist: pandas<4.0,>=2.0
33
33
  Requires-Dist: pyarrow<24.0,>=18.0
34
34
  Requires-Dist: textdistance<5.0,>=4.0
35
35
  Requires-Dist: tqdm<5.0,>=4.0
@@ -42,7 +42,7 @@ Requires-Dist: networkx<4.0,>=2.0; extra == "networkx"
42
42
  Provides-Extra: ogb
43
43
  Requires-Dist: ogb<2.0,>=1.0; extra == "ogb"
44
44
  Provides-Extra: rust-ext
45
- Requires-Dist: neo4j-rust-ext<7.0,>=4.4.12; extra == "rust-ext"
45
+ Requires-Dist: neo4j-rust-ext<7.0,>=5.26.0; extra == "rust-ext"
46
46
  Dynamic: license-file
47
47
 
48
48
  # Neo4j Graph Data Science Client
@@ -29,9 +29,9 @@ classifiers = [
29
29
  requires-python = ">=3.10"
30
30
  dependencies = [
31
31
  "multimethod >= 1.0, < 3.0",
32
- "neo4j >= 4.4.12, < 7.0",
33
- "numpy < 2.4",
34
- "pandas >= 1.0, < 3.0",
32
+ "neo4j >= 5.26.0, < 7.0",
33
+ "numpy < 3.0",
34
+ "pandas>=2.0,<4.0",
35
35
  "pyarrow >= 18.0, < 24.0",
36
36
  "textdistance >= 4.0, < 5.0",
37
37
  "tqdm >= 4.0, < 5.0",
@@ -50,7 +50,7 @@ BugTracker = "https://github.com/neo4j/graph-data-science-client/issues"
50
50
  [project.optional-dependencies]
51
51
  networkx = ["networkx >= 2.0, < 4.0"]
52
52
  ogb = ["ogb >= 1.0, < 2.0"]
53
- rust-ext = ["neo4j-rust-ext >= 4.4.12, < 7.0"]
53
+ rust-ext = ["neo4j-rust-ext >= 5.26.0, < 7.0"]
54
54
 
55
55
 
56
56
  [dependency-groups]
@@ -96,22 +96,39 @@ notebook-base = [
96
96
  "nbformat==5.10.4",
97
97
  "nbclient==0.10.4",
98
98
  "ipykernel==7.1.0",
99
+ "neo4j-viz"
99
100
  ]
100
101
  notebook-aura-ci = [
101
102
  { include-group = "notebook-base" },
102
- "python-dotenv==1.2.1"
103
+ "python-dotenv==1.2.1",
104
+ "pyspark[sql]"
103
105
  ]
104
106
  notebook-ci = [
105
107
  { include-group = "notebook-base" },
106
108
  "scipy == 1.14.0",
107
109
  "torch==2.3.0",
108
- "torch-scatter==2.1.1",
109
- "torch-sparse==0.6.17",
110
+ "torch-scatter==2.1.2",
111
+ "torch-sparse==0.6.18",
110
112
  "torch-geometric>=2.5.0",
111
113
  ]
112
114
 
113
115
  publish = ["build", "twine"]
114
116
 
117
+ # torch-scatter/torch-sparse have no sdist-friendly install: building from source
118
+ # requires a working C++/torch toolchain and fails on many local machines (notably
119
+ # macOS arm64). Instead we pull prebuilt wheels from the PyG wheel index, which ships
120
+ # wheels for both Linux (torch-2.3.0+cpu) and macOS (universal2).
121
+ [tool.uv.sources]
122
+ torch-scatter = [{ index = "pytorch-geometric-cpu" }]
123
+ torch-sparse = [{ index = "pytorch-geometric-cpu" }]
124
+
125
+ [[tool.uv.index]]
126
+ name = "pytorch-geometric-cpu"
127
+ url = "https://data.pyg.org/whl/torch-2.3.0+cpu.html"
128
+ explicit = true
129
+ format = "flat"
130
+
131
+ # Fallback only: if uv ever has to build these from source, make torch available.
115
132
  [tool.uv.extra-build-dependencies]
116
133
  torch-sparse = ["torch"]
117
134
  torch-scatter = ["torch"]
@@ -0,0 +1,11 @@
1
+ from .graph_data_science import GraphDataScience
2
+ from .server_version.server_version import ServerVersion
3
+ from .session import GdsSessions
4
+ from .version import __version__
5
+
6
+ __all__ = [
7
+ "__version__",
8
+ "ServerVersion",
9
+ "GraphDataScience",
10
+ "GdsSessions",
11
+ ]
@@ -4,7 +4,6 @@ from dataclasses import dataclass
4
4
 
5
5
  from graphdatascience.query_runner.query_runner import QueryRunner
6
6
  from graphdatascience.query_runner.query_type import QueryType
7
- from graphdatascience.server_version.server_version import ServerVersion
8
7
 
9
8
 
10
9
  @dataclass(frozen=True)
@@ -16,12 +15,11 @@ class ArrowInfo:
16
15
 
17
16
  @staticmethod
18
17
  def create(query_runner: QueryRunner) -> ArrowInfo:
19
- debugYields = ["listenAddress", "enabled", "running"]
20
- if query_runner.server_version() > ServerVersion(2, 6, 0):
21
- debugYields.append("versions")
22
-
23
18
  procResult = query_runner.call_procedure(
24
- endpoint="gds.debug.arrow", query_type=QueryType.SYSTEM, custom_error=False, yields=debugYields
19
+ endpoint="gds.debug.arrow",
20
+ query_type=QueryType.SYSTEM,
21
+ custom_error=False,
22
+ yields=["listenAddress", "enabled", "running", "versions"],
25
23
  ).iloc[0]
26
24
 
27
25
  return ArrowInfo(
@@ -0,0 +1,38 @@
1
+ from __future__ import annotations
2
+
3
+ import pandas
4
+ import pyarrow
5
+ from pyarrow import types as pa_types
6
+
7
+
8
+ def _downcast_type(data_type: pyarrow.DataType) -> pyarrow.DataType:
9
+ """Map pyarrow "large" string/binary types back to their 32-bit variants.
10
+
11
+ pandas 3.0 introduced a default string dtype that ``pyarrow.Table.from_pandas``
12
+ maps to ``large_string`` (LargeUTF8), whereas pandas 2.x produced ``string``
13
+ (UTF8). The GDS server expects UTF8, so we coerce the large variants back.
14
+ List containers are preserved as-is, only their element type is downcast.
15
+ """
16
+ if pa_types.is_large_string(data_type):
17
+ return pyarrow.string()
18
+
19
+ return data_type
20
+
21
+
22
+ def table_from_pandas(data: pandas.DataFrame) -> pyarrow.Table:
23
+ """Convert a DataFrame to a pyarrow Table, coercing large string/binary types to UTF8/binary.
24
+
25
+ Use this instead of ``pyarrow.Table.from_pandas`` so the produced schema stays
26
+ consistent across pandas 2.x and 3.0 (see :func:`_downcast_type`).
27
+ """
28
+ table = pyarrow.Table.from_pandas(data)
29
+
30
+ new_types = [_downcast_type(field.type) for field in table.schema]
31
+ if all(new_type == field.type for new_type, field in zip(new_types, table.schema)):
32
+ return table
33
+
34
+ new_schema = pyarrow.schema(
35
+ [field.with_type(new_type) for field, new_type in zip(table.schema, new_types)],
36
+ metadata=table.schema.metadata,
37
+ )
38
+ return table.cast(new_schema)
@@ -22,7 +22,6 @@ from pyarrow.flight import (
22
22
  )
23
23
 
24
24
  from graphdatascience.arrow_client.arrow_authentication import ArrowAuthentication
25
- from graphdatascience.arrow_client.arrow_info import ArrowInfo
26
25
  from graphdatascience.retry_utils.retry_config import ExponentialWaitConfig, RetryConfigV2, StopConfig
27
26
 
28
27
  from ..version import __version__
@@ -32,100 +31,66 @@ from .middleware.user_agent_middleware import UserAgentFactory
32
31
 
33
32
 
34
33
  class AuthenticatedArrowClient:
35
- @staticmethod
36
- def create(
37
- arrow_info: ArrowInfo,
38
- auth: ArrowAuthentication | None = None,
39
- encrypted: bool = False,
40
- arrow_client_options: dict[str, Any] | None = None,
41
- connection_string_override: str | None = None,
42
- retry_config: RetryConfigV2 | None = None,
43
- advertised_listen_address: tuple[str, int] | None = None,
44
- ) -> AuthenticatedArrowClient:
45
- connection_string: str
46
- if connection_string_override is not None:
47
- connection_string = connection_string_override
48
- else:
49
- connection_string = arrow_info.listenAddress
50
-
51
- host, port = connection_string.split(":")
52
-
53
- if retry_config is None:
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),
62
- )
63
-
64
- return AuthenticatedArrowClient(
65
- host=host,
66
- retry_config=retry_config,
67
- port=int(port),
68
- auth=auth,
69
- encrypted=encrypted,
70
- arrow_client_options=arrow_client_options,
71
- advertised_listen_address=advertised_listen_address,
72
- )
73
-
74
34
  def __init__(
75
35
  self,
76
- host: str,
77
- retry_config: RetryConfigV2,
78
- port: int = 8491,
36
+ connection_info: str | tuple[str, int],
79
37
  auth: ArrowAuthentication | None = None,
80
38
  encrypted: bool = False,
81
39
  arrow_client_options: dict[str, Any] | None = None,
82
40
  user_agent: str | None = None,
83
41
  advertised_listen_address: tuple[str, int] | None = None,
42
+ retry_config: RetryConfigV2 | None = None,
84
43
  ):
85
44
  """Creates a new AuthenticatedArrowClient instance.
86
45
 
87
46
  Parameters
88
47
  ----------
89
- host: str
90
- The host address of the GDS Arrow server
91
- port: int
92
- The host port of the GDS Arrow server (default is 8491)
93
- auth: ArrowAuthentication | None
48
+ connection_info
49
+ The host address and port of the GDS Arrow server
50
+ auth
94
51
  An implementation of ArrowAuthentication providing a pair to be used for basic authentication
95
- encrypted: bool
52
+ encrypted
96
53
  A flag that indicates whether the connection should be encrypted (default is False)
97
- arrow_client_options: dict[str, Any] | None
54
+ arrow_client_options
98
55
  Additional options to be passed to the Arrow Flight client.
99
- user_agent: str | None
56
+ user_agent
100
57
  The user agent string to use for the connection. (default is `neo4j-graphdatascience-v[VERSION] pyarrow-v[PYARROW_VERSION])
101
- retry_config: RetryConfig | None
58
+ retry_config
102
59
  The retry configuration to use for the Arrow requests send by the client.
103
- advertised_listen_address: tuple[str, int] | None
60
+ advertised_listen_address
104
61
  The advertised listen address of the GDS Arrow server. This will be used by remote projection and writeback operations.
105
62
  """
63
+
64
+ if isinstance(connection_info, str):
65
+ host, port_str = connection_info.split(":")
66
+ port = int(port_str)
67
+ else:
68
+ host, port = connection_info
69
+
70
+ if retry_config is None:
71
+ retry_config = RetryConfigV2(
72
+ retryable_exceptions=[
73
+ FlightTimedOutError,
74
+ FlightUnavailableError,
75
+ FlightInternalError,
76
+ ],
77
+ stop_config=StopConfig(after_delay=10, after_attempt=5),
78
+ wait_config=ExponentialWaitConfig(multiplier=1, min=1, max=10),
79
+ )
80
+
106
81
  self._host = host
107
- self._port = port
108
- self._auth = None
82
+ self._port = int(port)
83
+ self._auth = auth
109
84
  self._encrypted = encrypted
110
85
  self._arrow_client_options = arrow_client_options
111
86
  self._user_agent = user_agent
112
87
  self._logger = logging.getLogger("gds_arrow_client")
113
88
  self._retry_config = retry_config
114
89
  if auth:
115
- self._auth = auth
116
90
  self._auth_middleware = AuthMiddleware(auth)
117
91
  self.advertised_listen_address = advertised_listen_address
118
-
119
92
  self._flight_client: flight.FlightClient = self._instantiate_flight_client()
120
93
 
121
- def _reconnect(self) -> None:
122
- try:
123
- self._flight_client.close()
124
- except Exception:
125
- pass
126
-
127
- self._flight_client = self._instantiate_flight_client()
128
-
129
94
  def connection_info(self) -> ConnectionInfo:
130
95
  """
131
96
  Returns the host and port of the GDS Arrow server.
@@ -267,6 +232,14 @@ class AuthenticatedArrowClient:
267
232
  self.__dict__.update(state)
268
233
  self._flight_client = self._instantiate_flight_client()
269
234
 
235
+ def _reconnect(self) -> None:
236
+ try:
237
+ self._flight_client.close()
238
+ except Exception:
239
+ pass
240
+
241
+ self._flight_client = self._instantiate_flight_client()
242
+
270
243
 
271
244
  @dataclass
272
245
  class ConnectionInfo:
@@ -12,11 +12,11 @@ from pyarrow.types import is_dictionary
12
12
  from pydantic import BaseModel
13
13
 
14
14
  from graphdatascience.arrow_client.arrow_endpoint_version import ArrowEndpointVersion
15
+ from graphdatascience.arrow_client.arrow_table_utils import table_from_pandas
15
16
  from graphdatascience.arrow_client.authenticated_flight_client import AuthenticatedArrowClient, ConnectionInfo
16
17
  from graphdatascience.arrow_client.v1.data_mapper_utils import deserialize_single
17
18
 
18
19
  from ...procedure_surface.arrow.error_handler import handle_flight_error
19
- from ...semantic_version.semantic_version import SemanticVersion
20
20
  from ..progress_callback import ProgressCallback
21
21
 
22
22
 
@@ -487,11 +487,13 @@ class GdsArrowClient:
487
487
  batch_size: int,
488
488
  progress_callback: ProgressCallback,
489
489
  ) -> None:
490
+ batches: list[RecordBatch]
490
491
  match data:
491
492
  case pyarrow.Table():
492
493
  batches = data.to_batches(batch_size)
493
494
  case pandas.DataFrame():
494
- batches = pyarrow.Table.from_pandas(data).to_batches(batch_size)
495
+ batches = table_from_pandas(data).to_batches(batch_size)
496
+
495
497
  case _:
496
498
  batches = data
497
499
 
@@ -562,11 +564,7 @@ class GdsArrowClient:
562
564
  except Exception as e:
563
565
  handle_flight_error(e)
564
566
  arrow_table = self._sanitize_arrow_table(arrow_table)
565
- if SemanticVersion.from_string(pandas.__version__) >= SemanticVersion(2, 0, 0):
566
- return arrow_table.to_pandas(types_mapper=pandas.ArrowDtype) # type: ignore
567
- else:
568
- arrow_table = self._sanitize_arrow_table(arrow_table)
569
- return arrow_table.to_pandas() # type: ignore
567
+ return arrow_table.to_pandas(types_mapper=pandas.ArrowDtype) # type: ignore
570
568
 
571
569
  def __enter__(self) -> GdsArrowClient:
572
570
  return self
@@ -10,6 +10,7 @@ import pyarrow
10
10
  from pyarrow import RecordBatch, flight
11
11
 
12
12
  from graphdatascience.arrow_client.arrow_endpoint_version import ArrowEndpointVersion
13
+ from graphdatascience.arrow_client.arrow_table_utils import table_from_pandas
13
14
  from graphdatascience.arrow_client.authenticated_flight_client import AuthenticatedArrowClient, ConnectionInfo
14
15
  from graphdatascience.query_runner.termination_flag import TerminationFlag
15
16
 
@@ -504,14 +505,14 @@ class GdsArrowClient:
504
505
  batch_size: int,
505
506
  ) -> list[list[pyarrow.RecordBatch]]:
506
507
  if isinstance(data, pandas.DataFrame):
507
- return [pyarrow.Table.from_pandas(data).to_batches(batch_size)]
508
+ return [table_from_pandas(data).to_batches(batch_size)]
508
509
 
509
510
  if isinstance(data, pyarrow.Table):
510
511
  return [data.to_batches(batch_size)]
511
512
 
512
513
  if isinstance(data, list):
513
514
  if all(isinstance(entry, pandas.DataFrame) for entry in data):
514
- return [pyarrow.Table.from_pandas(entry).to_batches(batch_size) for entry in data]
515
+ return [table_from_pandas(entry).to_batches(batch_size) for entry in data]
515
516
 
516
517
  if all(isinstance(entry, pyarrow.RecordBatch) for entry in data):
517
518
  return [data]
@@ -8,7 +8,7 @@ from tenacity import Retrying, retry_if_result
8
8
  from graphdatascience.arrow_client.authenticated_flight_client import AuthenticatedArrowClient
9
9
  from graphdatascience.arrow_client.v2.api_types import JobIdConfig, JobStatus
10
10
  from graphdatascience.arrow_client.v2.data_mapper_utils import deserialize_single
11
- from graphdatascience.query_runner.progress.progress_bar import TqdmProgressBar
11
+ from graphdatascience.progress.progress_bar import TqdmProgressBar
12
12
  from graphdatascience.query_runner.termination_flag import TerminationFlag
13
13
  from graphdatascience.retry_utils.retry_utils import job_wait_strategy
14
14
 
@@ -2,7 +2,7 @@ from typing import Protocol
2
2
 
3
3
  from pandas import DataFrame
4
4
 
5
- from graphdatascience.graph.v2 import GraphV2
5
+ from graphdatascience.graph import Graph
6
6
 
7
7
 
8
8
  class GraphConstructorFunc(Protocol):
@@ -13,4 +13,4 @@ class GraphConstructorFunc(Protocol):
13
13
  relationships: DataFrame | list[DataFrame] | None = None,
14
14
  concurrency: int | None = None,
15
15
  undirected_relationship_types: list[str] | None = None,
16
- ) -> GraphV2: ...
16
+ ) -> Graph: ...
@@ -5,14 +5,14 @@ import networkx as nx
5
5
  from pandas import DataFrame
6
6
 
7
7
  from graphdatascience.datasets.graph_constructor_func import GraphConstructorFunc
8
- from graphdatascience.graph.v2 import GraphV2
8
+ from graphdatascience.graph import Graph
9
9
 
10
10
 
11
11
  class NXLoader:
12
12
  def __init__(self, graph_constructor: GraphConstructorFunc) -> None:
13
13
  self._construct = graph_constructor
14
14
 
15
- def load(self, nx_G: nx.Graph, graph_name: str, concurrency: int | None = None) -> GraphV2:
15
+ def load(self, nx_G: nx.Graph, graph_name: str, concurrency: int | None = None) -> Graph:
16
16
  """
17
17
  Parameters
18
18
  ----------
@@ -25,7 +25,7 @@ class NXLoader:
25
25
 
26
26
  Returns
27
27
  -------
28
- GraphV2
28
+ Graph
29
29
  A handle to the graph.
30
30
  """
31
31
  nodes, rels = self._parse(nx_G)
@@ -10,7 +10,7 @@ import numpy.typing as npt
10
10
  import pandas as pd
11
11
 
12
12
  from graphdatascience.datasets.graph_constructor_func import GraphConstructorFunc
13
- from graphdatascience.graph.v2 import GraphV2
13
+ from graphdatascience.graph import Graph
14
14
 
15
15
 
16
16
  class _HomogeneousOGBGraphBase(TypedDict):
@@ -194,7 +194,7 @@ class OGBNLoader(OGBLoader):
194
194
  dataset_root_path: str = "dataset",
195
195
  graph_name: str | None = None,
196
196
  concurrency: int | None = None,
197
- ) -> GraphV2:
197
+ ) -> Graph:
198
198
  """
199
199
  Parameters
200
200
  ----------
@@ -209,7 +209,7 @@ class OGBNLoader(OGBLoader):
209
209
 
210
210
  Returns
211
211
  -------
212
- GraphV2
212
+ Graph
213
213
  A handle to the graph.
214
214
  """
215
215
  try:
@@ -326,7 +326,7 @@ class OGBLLoader(OGBLoader):
326
326
  dataset_root_path: str = "dataset",
327
327
  graph_name: str | None = None,
328
328
  concurrency: int | None = None,
329
- ) -> GraphV2:
329
+ ) -> Graph:
330
330
  """
331
331
  Parameters
332
332
  ----------
@@ -341,7 +341,7 @@ class OGBLLoader(OGBLoader):
341
341
 
342
342
  Returns
343
343
  -------
344
- GraphV2
344
+ Graph
345
345
  A handle to the graph.
346
346
  """
347
347
  try:
@@ -1,7 +1,6 @@
1
1
  import pathlib
2
2
  from typing import NamedTuple
3
3
 
4
- from neo4j import __version__ as neo4j_driver_version
5
4
  from pandas import DataFrame, read_parquet
6
5
 
7
6
 
@@ -11,9 +10,6 @@ class GraphResources(NamedTuple):
11
10
 
12
11
 
13
12
  class SimpleDatasetLoader:
14
- def __init__(self) -> None:
15
- self._is_neo4j_4_driver = neo4j_driver_version.startswith("4.")
16
-
17
13
  @staticmethod
18
14
  def _path(package: str, resource: str) -> pathlib.Path:
19
15
  from importlib.resources import files
@@ -25,10 +21,6 @@ class SimpleDatasetLoader:
25
21
  file = self._path("graphdatascience.resources.cora", "cora_nodes.parquet.gzip")
26
22
  nodes = read_parquet(file)
27
23
 
28
- if self._is_neo4j_4_driver:
29
- # features is read as an ndarray which was not supported in neo4j 4
30
- nodes["features"] = nodes["features"].apply(lambda x: x.tolist())
31
-
32
24
  rels = read_parquet(self._path("graphdatascience.resources.cora", "cora_rels.parquet.gzip"))
33
25
  return GraphResources([nodes], [rels])
34
26
 
@@ -49,9 +41,6 @@ class SimpleDatasetLoader:
49
41
  for n in nodes:
50
42
  resource = self._path(package, f"imdb_{n}.parquet.gzip")
51
43
  df = read_parquet(resource)
52
- if self._is_neo4j_4_driver:
53
- # features is read as an ndarray which was not supported in neo4j 4
54
- df["plot_keywords"] = df["plot_keywords"].apply(lambda x: x.tolist())
55
44
  node_dfs.append(df)
56
45
 
57
46
  rel_dfs = []
@@ -2,8 +2,6 @@ import warnings
2
2
  from functools import wraps
3
3
  from typing import Any, Callable, TypeVar, cast
4
4
 
5
- from ..caller_base import CallerBase
6
-
7
5
  F = TypeVar("F", bound=Callable[..., Any])
8
6
 
9
7
 
@@ -12,7 +10,7 @@ def filter_id_func_deprecation_warning() -> Callable[[F], F]:
12
10
  wraps(func)
13
11
 
14
12
  @wraps(func)
15
- def wrapper(self: CallerBase, *args: Any, **kwargs: Any) -> Any:
13
+ def wrapper(self: Any, *args: Any, **kwargs: Any) -> Any:
16
14
  # GDS uses the numeric id to resolve the node
17
15
  warnings.filterwarnings(
18
16
  "ignore",
@@ -38,6 +36,11 @@ def filter_id_func_deprecation_warning() -> Callable[[F], F]:
38
36
  message=r"warn: feature deprecated without replacement\. id is deprecated and will be removed without a replacement\.",
39
37
  )
40
38
 
39
+ warnings.filterwarnings(
40
+ "ignore",
41
+ message=r".*is deprecated, use `element_id` instead",
42
+ )
43
+
41
44
  return func(self, *args, **kwargs)
42
45
 
43
46
  return cast(F, wrapper)
@@ -0,0 +1,3 @@
1
+ class NotAvailableInStandaloneSessions(Exception):
2
+ def __init__(self, subject: str) -> None:
3
+ super().__init__(self, f"{subject} is not available in standalone sessions")
@@ -0,0 +1,3 @@
1
+ from graphdatascience.graph.graph_api import Graph
2
+
3
+ __all__ = ["Graph"]
@@ -4,11 +4,11 @@ from datetime import datetime
4
4
  from types import TracebackType
5
5
  from typing import Any, Type
6
6
 
7
- from graphdatascience.graph.v2.graph_backend import GraphBackend
7
+ from graphdatascience.graph.graph_backend import GraphBackend
8
8
  from graphdatascience.procedure_surface.api.catalog.graph_info import GraphInfo
9
9
 
10
10
 
11
- class GraphV2:
11
+ class Graph:
12
12
  """
13
13
  A graph object that represents a graph in the graph catalog.
14
14
  It can be passed into algorithm endpoints to compute over the corresponding graph.
@@ -19,7 +19,7 @@ class GraphV2:
19
19
  self._name = name
20
20
  self._backend = backend
21
21
 
22
- def __enter__(self: GraphV2) -> GraphV2:
22
+ def __enter__(self: Graph) -> Graph:
23
23
  return self
24
24
 
25
25
  def __exit__(
@@ -1,15 +1,16 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  from graphdatascience.call_parameters import CallParameters
4
- from graphdatascience.graph.v2 import GraphBackend, GraphV2
4
+ from graphdatascience.graph import Graph
5
+ from graphdatascience.graph.graph_backend import GraphBackend
5
6
  from graphdatascience.procedure_surface.api.catalog.graph_info import GraphInfo, GraphInfoWithDegrees
6
7
  from graphdatascience.query_runner.query_runner import QueryRunner
7
8
 
8
9
 
9
- def get_graph(name: str, query_runner: QueryRunner) -> GraphV2:
10
+ def get_graph(name: str, query_runner: QueryRunner) -> Graph:
10
11
  backend = CypherGraphBackend(name, query_runner)
11
12
 
12
- return GraphV2(name, backend)
13
+ return Graph(name, backend)
13
14
 
14
15
 
15
16
  class CypherGraphBackend(GraphBackend):