gdMetriX 0.0.1__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 (143) hide show
  1. gdmetrix-0.0.1/.gitignore +161 -0
  2. gdmetrix-0.0.1/LICENSE +674 -0
  3. gdmetrix-0.0.1/PKG-INFO +793 -0
  4. gdmetrix-0.0.1/README.md +98 -0
  5. gdmetrix-0.0.1/doc/Makefile +20 -0
  6. gdmetrix-0.0.1/doc/_static/logo.svg +316 -0
  7. gdmetrix-0.0.1/doc/_static/logo_dark.svg +327 -0
  8. gdmetrix-0.0.1/doc/boundary.rst +7 -0
  9. gdmetrix-0.0.1/doc/common.rst +7 -0
  10. gdmetrix-0.0.1/doc/conf.py +44 -0
  11. gdmetrix-0.0.1/doc/crossings.rst +12 -0
  12. gdmetrix-0.0.1/doc/datasets.rst +7 -0
  13. gdmetrix-0.0.1/doc/distribution.rst +12 -0
  14. gdmetrix-0.0.1/doc/edge_directions.rst +12 -0
  15. gdmetrix-0.0.1/doc/index.rst +152 -0
  16. gdmetrix-0.0.1/doc/make.bat +35 -0
  17. gdmetrix-0.0.1/doc/metrics.rst +143 -0
  18. gdmetrix-0.0.1/doc/modules.rst +13 -0
  19. gdmetrix-0.0.1/doc/notebooks/cased_drawings.ipynb +562 -0
  20. gdmetrix-0.0.1/doc/notebooks/tutorial.ipynb +437 -0
  21. gdmetrix-0.0.1/doc/references.bib +144 -0
  22. gdmetrix-0.0.1/doc/symmetry.rst +12 -0
  23. gdmetrix-0.0.1/out/production/graph-metrics/metricX/__init__.py +11 -0
  24. gdmetrix-0.0.1/out/production/graph-metrics/metricX/boundary.py +238 -0
  25. gdmetrix-0.0.1/out/production/graph-metrics/metricX/common.py +163 -0
  26. gdmetrix-0.0.1/out/production/graph-metrics/metricX/crossingDataTypes.py +796 -0
  27. gdmetrix-0.0.1/out/production/graph-metrics/metricX/crossings.py +638 -0
  28. gdmetrix-0.0.1/out/production/graph-metrics/metricX/datasets.py +327 -0
  29. gdmetrix-0.0.1/out/production/graph-metrics/metricX/distribution.py +465 -0
  30. gdmetrix-0.0.1/out/production/graph-metrics/metricX/edge_directions.py +245 -0
  31. gdmetrix-0.0.1/out/production/graph-metrics/metricX/generateRuntimeData.py +168 -0
  32. gdmetrix-0.0.1/out/production/graph-metrics/metricX/logConfig.py +52 -0
  33. gdmetrix-0.0.1/out/production/graph-metrics/metricX/symmetry.py +619 -0
  34. gdmetrix-0.0.1/out/test/graph-metrics/__init__.py +0 -0
  35. gdmetrix-0.0.1/out/test/graph-metrics/crossings/__init__.py +0 -0
  36. gdmetrix-0.0.1/out/test/graph-metrics/crossings/test_Crossings.py +924 -0
  37. gdmetrix-0.0.1/out/test/graph-metrics/crossings/test_EventQueue.py +341 -0
  38. gdmetrix-0.0.1/out/test/graph-metrics/crossings/test_SweepLineStatus.py +523 -0
  39. gdmetrix-0.0.1/out/test/graph-metrics/crossings/test_planarization.py +128 -0
  40. gdmetrix-0.0.1/out/test/graph-metrics/symmetry/__init__.py +0 -0
  41. gdmetrix-0.0.1/out/test/graph-metrics/symmetry/test_KMP_symmetry.py +521 -0
  42. gdmetrix-0.0.1/out/test/graph-metrics/symmetry/test_Purchase_symmetry.py +196 -0
  43. gdmetrix-0.0.1/out/test/graph-metrics/symmetry/test_visual_symmetry.py +104 -0
  44. gdmetrix-0.0.1/out/test/graph-metrics/test_boundary.py +513 -0
  45. gdmetrix-0.0.1/out/test/graph-metrics/test_common.py +0 -0
  46. gdmetrix-0.0.1/out/test/graph-metrics/test_datasets.py +128 -0
  47. gdmetrix-0.0.1/out/test/graph-metrics/test_distribution.py +871 -0
  48. gdmetrix-0.0.1/out/test/graph-metrics/test_edge_directions.py +296 -0
  49. gdmetrix-0.0.1/out/test/graph-metrics/test_embeddings.py +180 -0
  50. gdmetrix-0.0.1/pyproject.toml +35 -0
  51. gdmetrix-0.0.1/src/gdMetriX/__init__.py +33 -0
  52. gdmetrix-0.0.1/src/gdMetriX/boundary.py +259 -0
  53. gdmetrix-0.0.1/src/gdMetriX/common.py +293 -0
  54. gdmetrix-0.0.1/src/gdMetriX/crossingDataTypes.py +809 -0
  55. gdmetrix-0.0.1/src/gdMetriX/crossings.py +730 -0
  56. gdmetrix-0.0.1/src/gdMetriX/datasets.py +333 -0
  57. gdmetrix-0.0.1/src/gdMetriX/distribution.py +558 -0
  58. gdmetrix-0.0.1/src/gdMetriX/edge_directions.py +335 -0
  59. gdmetrix-0.0.1/src/gdMetriX/generateRuntimeData.py +610 -0
  60. gdmetrix-0.0.1/src/gdMetriX/symmetry.py +671 -0
  61. gdmetrix-0.0.1/tests/__init__.py +0 -0
  62. gdmetrix-0.0.1/tests/crossings/crossing_test_helper.py +104 -0
  63. gdmetrix-0.0.1/tests/crossings/test_crossing_angles.py +122 -0
  64. gdmetrix-0.0.1/tests/crossings/test_crossing_metric.py +262 -0
  65. gdmetrix-0.0.1/tests/crossings/test_crossings.py +797 -0
  66. gdmetrix-0.0.1/tests/crossings/test_crossings_quadratic.py +733 -0
  67. gdmetrix-0.0.1/tests/crossings/test_event_queue.py +357 -0
  68. gdmetrix-0.0.1/tests/crossings/test_planarization.py +148 -0
  69. gdmetrix-0.0.1/tests/crossings/test_sweep_line_status.py +539 -0
  70. gdmetrix-0.0.1/tests/data/symmetry-test-0.graphml +4 -0
  71. gdmetrix-0.0.1/tests/data/symmetry-test-1.graphml +11 -0
  72. gdmetrix-0.0.1/tests/data/symmetry-test-10.graphml +47 -0
  73. gdmetrix-0.0.1/tests/data/symmetry-test-11.graphml +57 -0
  74. gdmetrix-0.0.1/tests/data/symmetry-test-12.graphml +62 -0
  75. gdmetrix-0.0.1/tests/data/symmetry-test-13.graphml +59 -0
  76. gdmetrix-0.0.1/tests/data/symmetry-test-14.graphml +69 -0
  77. gdmetrix-0.0.1/tests/data/symmetry-test-15.graphml +77 -0
  78. gdmetrix-0.0.1/tests/data/symmetry-test-16.graphml +89 -0
  79. gdmetrix-0.0.1/tests/data/symmetry-test-17.graphml +78 -0
  80. gdmetrix-0.0.1/tests/data/symmetry-test-18.graphml +102 -0
  81. gdmetrix-0.0.1/tests/data/symmetry-test-19.graphml +108 -0
  82. gdmetrix-0.0.1/tests/data/symmetry-test-2.graphml +15 -0
  83. gdmetrix-0.0.1/tests/data/symmetry-test-20.graphml +90 -0
  84. gdmetrix-0.0.1/tests/data/symmetry-test-21.graphml +118 -0
  85. gdmetrix-0.0.1/tests/data/symmetry-test-22.graphml +111 -0
  86. gdmetrix-0.0.1/tests/data/symmetry-test-23.graphml +135 -0
  87. gdmetrix-0.0.1/tests/data/symmetry-test-24.graphml +115 -0
  88. gdmetrix-0.0.1/tests/data/symmetry-test-25.graphml +122 -0
  89. gdmetrix-0.0.1/tests/data/symmetry-test-26.graphml +115 -0
  90. gdmetrix-0.0.1/tests/data/symmetry-test-27.graphml +119 -0
  91. gdmetrix-0.0.1/tests/data/symmetry-test-28.graphml +121 -0
  92. gdmetrix-0.0.1/tests/data/symmetry-test-29.graphml +148 -0
  93. gdmetrix-0.0.1/tests/data/symmetry-test-3.graphml +19 -0
  94. gdmetrix-0.0.1/tests/data/symmetry-test-30.graphml +204 -0
  95. gdmetrix-0.0.1/tests/data/symmetry-test-31.graphml +179 -0
  96. gdmetrix-0.0.1/tests/data/symmetry-test-32.graphml +186 -0
  97. gdmetrix-0.0.1/tests/data/symmetry-test-33.graphml +186 -0
  98. gdmetrix-0.0.1/tests/data/symmetry-test-34.graphml +145 -0
  99. gdmetrix-0.0.1/tests/data/symmetry-test-35.graphml +213 -0
  100. gdmetrix-0.0.1/tests/data/symmetry-test-36.graphml +196 -0
  101. gdmetrix-0.0.1/tests/data/symmetry-test-37.graphml +163 -0
  102. gdmetrix-0.0.1/tests/data/symmetry-test-38.graphml +187 -0
  103. gdmetrix-0.0.1/tests/data/symmetry-test-39.graphml +266 -0
  104. gdmetrix-0.0.1/tests/data/symmetry-test-4.graphml +24 -0
  105. gdmetrix-0.0.1/tests/data/symmetry-test-40.graphml +289 -0
  106. gdmetrix-0.0.1/tests/data/symmetry-test-41.graphml +307 -0
  107. gdmetrix-0.0.1/tests/data/symmetry-test-42.graphml +209 -0
  108. gdmetrix-0.0.1/tests/data/symmetry-test-43.graphml +192 -0
  109. gdmetrix-0.0.1/tests/data/symmetry-test-44.graphml +359 -0
  110. gdmetrix-0.0.1/tests/data/symmetry-test-45.graphml +301 -0
  111. gdmetrix-0.0.1/tests/data/symmetry-test-46.graphml +364 -0
  112. gdmetrix-0.0.1/tests/data/symmetry-test-47.graphml +405 -0
  113. gdmetrix-0.0.1/tests/data/symmetry-test-48.graphml +235 -0
  114. gdmetrix-0.0.1/tests/data/symmetry-test-49.graphml +414 -0
  115. gdmetrix-0.0.1/tests/data/symmetry-test-5.graphml +27 -0
  116. gdmetrix-0.0.1/tests/data/symmetry-test-50.graphml +376 -0
  117. gdmetrix-0.0.1/tests/data/symmetry-test-51.graphml +463 -0
  118. gdmetrix-0.0.1/tests/data/symmetry-test-52.graphml +226 -0
  119. gdmetrix-0.0.1/tests/data/symmetry-test-53.graphml +302 -0
  120. gdmetrix-0.0.1/tests/data/symmetry-test-54.graphml +270 -0
  121. gdmetrix-0.0.1/tests/data/symmetry-test-55.graphml +454 -0
  122. gdmetrix-0.0.1/tests/data/symmetry-test-56.graphml +247 -0
  123. gdmetrix-0.0.1/tests/data/symmetry-test-57.graphml +454 -0
  124. gdmetrix-0.0.1/tests/data/symmetry-test-58.graphml +405 -0
  125. gdmetrix-0.0.1/tests/data/symmetry-test-59.graphml +526 -0
  126. gdmetrix-0.0.1/tests/data/symmetry-test-6.graphml +33 -0
  127. gdmetrix-0.0.1/tests/data/symmetry-test-60.graphml +492 -0
  128. gdmetrix-0.0.1/tests/data/symmetry-test-61.graphml +291 -0
  129. gdmetrix-0.0.1/tests/data/symmetry-test-62.graphml +448 -0
  130. gdmetrix-0.0.1/tests/data/symmetry-test-63.graphml +316 -0
  131. gdmetrix-0.0.1/tests/data/symmetry-test-64.graphml +428 -0
  132. gdmetrix-0.0.1/tests/data/symmetry-test-7.graphml +35 -0
  133. gdmetrix-0.0.1/tests/data/symmetry-test-8.graphml +39 -0
  134. gdmetrix-0.0.1/tests/data/symmetry-test-9.graphml +46 -0
  135. gdmetrix-0.0.1/tests/symmetry/test_KMP_symmetry.py +436 -0
  136. gdmetrix-0.0.1/tests/symmetry/test_Purchase_symmetry.py +216 -0
  137. gdmetrix-0.0.1/tests/symmetry/test_visual_symmetry.py +142 -0
  138. gdmetrix-0.0.1/tests/test_boundary.py +533 -0
  139. gdmetrix-0.0.1/tests/test_common.py +376 -0
  140. gdmetrix-0.0.1/tests/test_datasets.py +158 -0
  141. gdmetrix-0.0.1/tests/test_distribution.py +947 -0
  142. gdmetrix-0.0.1/tests/test_edge_directions.py +497 -0
  143. gdmetrix-0.0.1/tests/test_embeddings.py +143 -0
@@ -0,0 +1,161 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+ doc/_build
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # poetry
99
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
103
+ #poetry.lock
104
+
105
+ # pdm
106
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
107
+ #pdm.lock
108
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
109
+ # in version control.
110
+ # https://pdm.fming.dev/#use-with-ide
111
+ .pdm.toml
112
+
113
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
114
+ __pypackages__/
115
+
116
+ # Celery stuff
117
+ celerybeat-schedule
118
+ celerybeat.pid
119
+
120
+ # SageMath parsed files
121
+ *.sage.py
122
+
123
+ # Environments
124
+ .env
125
+ .venv
126
+ env/
127
+ venv/
128
+ ENV/
129
+ env.bak/
130
+ venv.bak/
131
+
132
+ # Spyder project settings
133
+ .spyderproject
134
+ .spyproject
135
+
136
+ # Rope project settings
137
+ .ropeproject
138
+
139
+ # mkdocs documentation
140
+ /site
141
+
142
+ # mypy
143
+ .mypy_cache/
144
+ .dmypy.json
145
+ dmypy.json
146
+
147
+ # Pyre type checker
148
+ .pyre/
149
+
150
+ # pytype static type analyzer
151
+ .pytype/
152
+
153
+ # Cython debug symbols
154
+ cython_debug/
155
+
156
+ # PyCharm
157
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
158
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
159
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
160
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
161
+ .idea/