pyneoinstance 4.0.4__tar.gz → 4.0.5__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 (32) hide show
  1. {pyneoinstance-4.0.4/pyneoinstance.egg-info → pyneoinstance-4.0.5}/PKG-INFO +14 -9
  2. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/README.md +8 -8
  3. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/__init__.py +1 -1
  4. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/database/neo4jdbms.py +2 -2
  5. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5/pyneoinstance.egg-info}/PKG-INFO +14 -9
  6. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance.egg-info/SOURCES.txt +0 -1
  7. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance.egg-info/requires.txt +2 -0
  8. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance.egg-info/top_level.txt +0 -1
  9. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyproject.toml +7 -2
  10. pyneoinstance-4.0.4/test/age_data.csv +0 -300001
  11. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/LICENSE +0 -0
  12. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/MANIFEST.in +0 -0
  13. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/database/__init__.py +0 -0
  14. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/database/context.py +0 -0
  15. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/fileload/__init__.py +0 -0
  16. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/fileload/helpers.py +0 -0
  17. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/fileload/loadyaml.py +0 -0
  18. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/py.typed +0 -0
  19. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/util/__init__.py +0 -0
  20. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance/util/functions.py +0 -0
  21. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/pyneoinstance.egg-info/dependency_links.txt +0 -0
  22. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/setup.cfg +0 -0
  23. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/setup.py +0 -0
  24. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/test/cypher_queries.yaml +0 -0
  25. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/test/load_files.yaml +0 -0
  26. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/test/movies.csv +0 -0
  27. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/test/people.csv +0 -0
  28. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/test/roles.csv +0 -0
  29. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/test/test.py +0 -0
  30. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/test/test_fileload.py +0 -0
  31. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/test/test_neo4jdb.py +0 -0
  32. {pyneoinstance-4.0.4 → pyneoinstance-4.0.5}/test/test_util_functions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyneoinstance
3
- Version: 4.0.4
3
+ Version: 4.0.5
4
4
  Summary: Handle Neo4j read and write transactions and provide methods for performing graph EDA
5
5
  Author-email: "Jose A. Alvarado-Guzman" <jose.alvarado-guzman@neo4j.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -686,6 +686,9 @@ Classifier: Programming Language :: Python :: 3
686
686
  Classifier: Programming Language :: Python :: 3.10
687
687
  Classifier: Programming Language :: Python :: 3.11
688
688
  Classifier: Programming Language :: Python :: 3.12
689
+ Classifier: Programming Language :: Python :: 3.13
690
+ Classifier: Programming Language :: Python :: 3.14
691
+ Classifier: Programming Language :: Python :: 3.15
689
692
  Classifier: Development Status :: 5 - Production/Stable
690
693
  Requires-Python: >=3.10
691
694
  Description-Content-Type: text/markdown
@@ -695,6 +698,8 @@ Requires-Dist: pandas>=1.3.0
695
698
  Requires-Dist: PyYAML>=5.1
696
699
  Requires-Dist: pyvis>=0.3.0
697
700
  Requires-Dist: neo4j-viz>=1.0.0
701
+ Requires-Dist: comm>=0.1.3
702
+ Requires-Dist: traitlets>=5.10.0
698
703
  Provides-Extra: docs
699
704
  Requires-Dist: mkdocs-material>=9.0.0; extra == "docs"
700
705
  Requires-Dist: mkdocstrings[python]>=0.24.0; extra == "docs"
@@ -965,42 +970,42 @@ The get_node_label_freq method provides the frequency and relative frequency of
965
970
  ```python
966
971
  graph.get_node_label_freq(database='mydbname')
967
972
  ```
968
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/nodefreq.png" width="250">
973
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/nodefreq.png" width="250">
969
974
 
970
975
  ### Relationship Type Frequency
971
976
  The get_rela_type_freq method provides the frequency and relative frequency of all relationship types in the graph.
972
977
  ```python
973
978
  graph.get_rela_type_freq(database='mydbname')
974
979
  ```
975
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/relaFreq.png" width="300">
980
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/relaFreq.png" width="300">
976
981
 
977
982
  ### Relationship Source-Target Frequency
978
983
  The get_rela_source_target_freq method provides the frequency and relative frequency of all relationship types considering the node label of the source and targets of the relationships.
979
984
  ```python
980
985
  graph.get_rela_type_freq(database='mydbname')
981
986
  ```
982
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/relaSourceTargetFreq.png" width="300">
987
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/relaSourceTargetFreq.png" width="300">
983
988
 
984
989
  ### Properties
985
990
  The get_properties method provides information about all the nodes and relationships properties.
986
991
  ```python
987
992
  graph.get_properties(database='mydbname')
988
993
  ```
989
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/properties.png" width="350" hight="300">
994
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/properties.png" width="350" hight="300">
990
995
 
991
996
  ### Constraints
992
997
  The get_constraints method provides information about all the graph constraints.
993
998
  ```python
994
999
  graph.get_constraints(database='mydbname')
995
1000
  ```
996
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/constraints.png" width="350" hight="300">
1001
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/constraints.png" width="350" hight="300">
997
1002
 
998
1003
  ### Indexes
999
1004
  The get_indexes method provides information about all the graph indexes.
1000
1005
  ```python
1001
1006
  graph.get_indexes(database='mydbname')
1002
1007
  ```
1003
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/indexes.png" width="450" hight="400">
1008
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/indexes.png" width="450" hight="400">
1004
1009
 
1005
1010
  ### Query Graph Visualization
1006
1011
  The `get_query_visualization` method executes a Cypher query that returns nodes and relationships and renders the result as an interactive graph. Node labels are displayed as captions and all properties appear as tooltips on hover.
@@ -1032,8 +1037,8 @@ schema.write_html('schema.html')
1032
1037
 
1033
1038
  Open `schema.html` in your browser to explore the schema interactively.
1034
1039
 
1035
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/schema.png" width="450" hight="400">
1036
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/schemaHtml.png" width="450" hight="400">
1040
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/schema.png" width="450" hight="400">
1041
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/schemaHtml.png" width="450" hight="400">
1037
1042
 
1038
1043
  ## More detailed examples
1039
1044
 
@@ -263,42 +263,42 @@ The get_node_label_freq method provides the frequency and relative frequency of
263
263
  ```python
264
264
  graph.get_node_label_freq(database='mydbname')
265
265
  ```
266
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/nodefreq.png" width="250">
266
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/nodefreq.png" width="250">
267
267
 
268
268
  ### Relationship Type Frequency
269
269
  The get_rela_type_freq method provides the frequency and relative frequency of all relationship types in the graph.
270
270
  ```python
271
271
  graph.get_rela_type_freq(database='mydbname')
272
272
  ```
273
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/relaFreq.png" width="300">
273
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/relaFreq.png" width="300">
274
274
 
275
275
  ### Relationship Source-Target Frequency
276
276
  The get_rela_source_target_freq method provides the frequency and relative frequency of all relationship types considering the node label of the source and targets of the relationships.
277
277
  ```python
278
278
  graph.get_rela_type_freq(database='mydbname')
279
279
  ```
280
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/relaSourceTargetFreq.png" width="300">
280
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/relaSourceTargetFreq.png" width="300">
281
281
 
282
282
  ### Properties
283
283
  The get_properties method provides information about all the nodes and relationships properties.
284
284
  ```python
285
285
  graph.get_properties(database='mydbname')
286
286
  ```
287
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/properties.png" width="350" hight="300">
287
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/properties.png" width="350" hight="300">
288
288
 
289
289
  ### Constraints
290
290
  The get_constraints method provides information about all the graph constraints.
291
291
  ```python
292
292
  graph.get_constraints(database='mydbname')
293
293
  ```
294
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/constraints.png" width="350" hight="300">
294
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/constraints.png" width="350" hight="300">
295
295
 
296
296
  ### Indexes
297
297
  The get_indexes method provides information about all the graph indexes.
298
298
  ```python
299
299
  graph.get_indexes(database='mydbname')
300
300
  ```
301
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/indexes.png" width="450" hight="400">
301
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/indexes.png" width="450" hight="400">
302
302
 
303
303
  ### Query Graph Visualization
304
304
  The `get_query_visualization` method executes a Cypher query that returns nodes and relationships and renders the result as an interactive graph. Node labels are displayed as captions and all properties appear as tooltips on hover.
@@ -330,8 +330,8 @@ schema.write_html('schema.html')
330
330
 
331
331
  Open `schema.html` in your browser to explore the schema interactively.
332
332
 
333
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/schema.png" width="450" hight="400">
334
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/schemaHtml.png" width="450" hight="400">
333
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/schema.png" width="450" hight="400">
334
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/schemaHtml.png" width="450" hight="400">
335
335
 
336
336
  ## More detailed examples
337
337
 
@@ -1,5 +1,5 @@
1
1
  from .database.neo4jdbms import Neo4jInstance
2
2
  from .fileload.loadyaml import load_yaml_file
3
3
 
4
- __version__ = '4.0.4'
4
+ __version__ = '4.0.5'
5
5
  __all__ = ['Neo4jInstance', 'load_yaml_file']
@@ -751,8 +751,8 @@ class Neo4jInstance:
751
751
  'targetLabel': nodes[1], 'frequency': value}
752
752
  stats_dicts.append(info)
753
753
  stats_df = DataFrame(stats_dicts)
754
- stats_df.sort_values(by=['relationshipType','sourceLabel','targetLabel'],inplace=True)
755
- stats_df.reset_index(drop=True, inplace=True)
754
+ stats_df = stats_df.sort_values(by=['relationshipType','sourceLabel','targetLabel'])
755
+ stats_df = stats_df.reset_index(drop=True)
756
756
  return stats_df
757
757
 
758
758
  def get_schema_visualization(self, database: Optional[str] = None) -> Network:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyneoinstance
3
- Version: 4.0.4
3
+ Version: 4.0.5
4
4
  Summary: Handle Neo4j read and write transactions and provide methods for performing graph EDA
5
5
  Author-email: "Jose A. Alvarado-Guzman" <jose.alvarado-guzman@neo4j.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -686,6 +686,9 @@ Classifier: Programming Language :: Python :: 3
686
686
  Classifier: Programming Language :: Python :: 3.10
687
687
  Classifier: Programming Language :: Python :: 3.11
688
688
  Classifier: Programming Language :: Python :: 3.12
689
+ Classifier: Programming Language :: Python :: 3.13
690
+ Classifier: Programming Language :: Python :: 3.14
691
+ Classifier: Programming Language :: Python :: 3.15
689
692
  Classifier: Development Status :: 5 - Production/Stable
690
693
  Requires-Python: >=3.10
691
694
  Description-Content-Type: text/markdown
@@ -695,6 +698,8 @@ Requires-Dist: pandas>=1.3.0
695
698
  Requires-Dist: PyYAML>=5.1
696
699
  Requires-Dist: pyvis>=0.3.0
697
700
  Requires-Dist: neo4j-viz>=1.0.0
701
+ Requires-Dist: comm>=0.1.3
702
+ Requires-Dist: traitlets>=5.10.0
698
703
  Provides-Extra: docs
699
704
  Requires-Dist: mkdocs-material>=9.0.0; extra == "docs"
700
705
  Requires-Dist: mkdocstrings[python]>=0.24.0; extra == "docs"
@@ -965,42 +970,42 @@ The get_node_label_freq method provides the frequency and relative frequency of
965
970
  ```python
966
971
  graph.get_node_label_freq(database='mydbname')
967
972
  ```
968
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/nodefreq.png" width="250">
973
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/nodefreq.png" width="250">
969
974
 
970
975
  ### Relationship Type Frequency
971
976
  The get_rela_type_freq method provides the frequency and relative frequency of all relationship types in the graph.
972
977
  ```python
973
978
  graph.get_rela_type_freq(database='mydbname')
974
979
  ```
975
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/relaFreq.png" width="300">
980
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/relaFreq.png" width="300">
976
981
 
977
982
  ### Relationship Source-Target Frequency
978
983
  The get_rela_source_target_freq method provides the frequency and relative frequency of all relationship types considering the node label of the source and targets of the relationships.
979
984
  ```python
980
985
  graph.get_rela_type_freq(database='mydbname')
981
986
  ```
982
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/relaSourceTargetFreq.png" width="300">
987
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/relaSourceTargetFreq.png" width="300">
983
988
 
984
989
  ### Properties
985
990
  The get_properties method provides information about all the nodes and relationships properties.
986
991
  ```python
987
992
  graph.get_properties(database='mydbname')
988
993
  ```
989
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/properties.png" width="350" hight="300">
994
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/properties.png" width="350" hight="300">
990
995
 
991
996
  ### Constraints
992
997
  The get_constraints method provides information about all the graph constraints.
993
998
  ```python
994
999
  graph.get_constraints(database='mydbname')
995
1000
  ```
996
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/constraints.png" width="350" hight="300">
1001
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/constraints.png" width="350" hight="300">
997
1002
 
998
1003
  ### Indexes
999
1004
  The get_indexes method provides information about all the graph indexes.
1000
1005
  ```python
1001
1006
  graph.get_indexes(database='mydbname')
1002
1007
  ```
1003
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/indexes.png" width="450" hight="400">
1008
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/indexes.png" width="450" hight="400">
1004
1009
 
1005
1010
  ### Query Graph Visualization
1006
1011
  The `get_query_visualization` method executes a Cypher query that returns nodes and relationships and renders the result as an interactive graph. Node labels are displayed as captions and all properties appear as tooltips on hover.
@@ -1032,8 +1037,8 @@ schema.write_html('schema.html')
1032
1037
 
1033
1038
  Open `schema.html` in your browser to explore the schema interactively.
1034
1039
 
1035
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/schema.png" width="450" hight="400">
1036
- <img src="https://s3.amazonaws.com/neo4j-ps-ds-bootcamp/img/schemaHtml.png" width="450" hight="400">
1040
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/schema.png" width="450" hight="400">
1041
+ <img src="https://raw.githubusercontent.com/jose-alvarado-guzman/pyneoingest/main/images/schemaHtml.png" width="450" hight="400">
1037
1042
 
1038
1043
  ## More detailed examples
1039
1044
 
@@ -18,7 +18,6 @@ pyneoinstance/fileload/helpers.py
18
18
  pyneoinstance/fileload/loadyaml.py
19
19
  pyneoinstance/util/__init__.py
20
20
  pyneoinstance/util/functions.py
21
- test/age_data.csv
22
21
  test/cypher_queries.yaml
23
22
  test/load_files.yaml
24
23
  test/movies.csv
@@ -3,6 +3,8 @@ pandas>=1.3.0
3
3
  PyYAML>=5.1
4
4
  pyvis>=0.3.0
5
5
  neo4j-viz>=1.0.0
6
+ comm>=0.1.3
7
+ traitlets>=5.10.0
6
8
 
7
9
  [docs]
8
10
  mkdocs-material>=9.0.0
@@ -2,4 +2,3 @@ dist
2
2
  docs
3
3
  images
4
4
  pyneoinstance
5
- site
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "pyneoinstance"
9
- version = "4.0.4"
9
+ version = "4.0.5"
10
10
  description = "Handle Neo4j read and write transactions and provide methods for performing graph EDA"
11
11
  readme = "README.md"
12
12
  authors = [{ name = "Jose A. Alvarado-Guzman",email = "jose.alvarado-guzman@neo4j.com" }]
@@ -17,6 +17,9 @@ classifiers = [
17
17
  "Programming Language :: Python :: 3.10",
18
18
  "Programming Language :: Python :: 3.11",
19
19
  "Programming Language :: Python :: 3.12",
20
+ "Programming Language :: Python :: 3.13",
21
+ "Programming Language :: Python :: 3.14",
22
+ "Programming Language :: Python :: 3.15",
20
23
  "Development Status :: 5 - Production/Stable",
21
24
  ]
22
25
  keywords = ["neo4j", "graph", "cypher"]
@@ -25,7 +28,9 @@ dependencies = [
25
28
  "pandas>=1.3.0",
26
29
  "PyYAML>=5.1",
27
30
  "pyvis>=0.3.0",
28
- "neo4j-viz>=1.0.0"
31
+ "neo4j-viz>=1.0.0",
32
+ "comm>=0.1.3",
33
+ "traitlets>=5.10.0"
29
34
  ]
30
35
  requires-python = ">=3.10"
31
36