graflo 1.3.7__py3-none-any.whl

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.

Potentially problematic release.


This version of graflo might be problematic. Click here for more details.

Files changed (70) hide show
  1. graflo/README.md +18 -0
  2. graflo/__init__.py +70 -0
  3. graflo/architecture/__init__.py +38 -0
  4. graflo/architecture/actor.py +1276 -0
  5. graflo/architecture/actor_util.py +450 -0
  6. graflo/architecture/edge.py +418 -0
  7. graflo/architecture/onto.py +376 -0
  8. graflo/architecture/onto_sql.py +54 -0
  9. graflo/architecture/resource.py +163 -0
  10. graflo/architecture/schema.py +135 -0
  11. graflo/architecture/transform.py +292 -0
  12. graflo/architecture/util.py +89 -0
  13. graflo/architecture/vertex.py +562 -0
  14. graflo/caster.py +736 -0
  15. graflo/cli/__init__.py +14 -0
  16. graflo/cli/ingest.py +203 -0
  17. graflo/cli/manage_dbs.py +197 -0
  18. graflo/cli/plot_schema.py +132 -0
  19. graflo/cli/xml2json.py +93 -0
  20. graflo/data_source/__init__.py +48 -0
  21. graflo/data_source/api.py +339 -0
  22. graflo/data_source/base.py +95 -0
  23. graflo/data_source/factory.py +304 -0
  24. graflo/data_source/file.py +148 -0
  25. graflo/data_source/memory.py +70 -0
  26. graflo/data_source/registry.py +82 -0
  27. graflo/data_source/sql.py +183 -0
  28. graflo/db/__init__.py +44 -0
  29. graflo/db/arango/__init__.py +22 -0
  30. graflo/db/arango/conn.py +1025 -0
  31. graflo/db/arango/query.py +180 -0
  32. graflo/db/arango/util.py +88 -0
  33. graflo/db/conn.py +377 -0
  34. graflo/db/connection/__init__.py +6 -0
  35. graflo/db/connection/config_mapping.py +18 -0
  36. graflo/db/connection/onto.py +717 -0
  37. graflo/db/connection/wsgi.py +29 -0
  38. graflo/db/manager.py +119 -0
  39. graflo/db/neo4j/__init__.py +16 -0
  40. graflo/db/neo4j/conn.py +639 -0
  41. graflo/db/postgres/__init__.py +37 -0
  42. graflo/db/postgres/conn.py +948 -0
  43. graflo/db/postgres/fuzzy_matcher.py +281 -0
  44. graflo/db/postgres/heuristics.py +133 -0
  45. graflo/db/postgres/inference_utils.py +428 -0
  46. graflo/db/postgres/resource_mapping.py +273 -0
  47. graflo/db/postgres/schema_inference.py +372 -0
  48. graflo/db/postgres/types.py +148 -0
  49. graflo/db/postgres/util.py +87 -0
  50. graflo/db/tigergraph/__init__.py +9 -0
  51. graflo/db/tigergraph/conn.py +2365 -0
  52. graflo/db/tigergraph/onto.py +26 -0
  53. graflo/db/util.py +49 -0
  54. graflo/filter/__init__.py +21 -0
  55. graflo/filter/onto.py +525 -0
  56. graflo/logging.conf +22 -0
  57. graflo/onto.py +312 -0
  58. graflo/plot/__init__.py +17 -0
  59. graflo/plot/plotter.py +616 -0
  60. graflo/util/__init__.py +23 -0
  61. graflo/util/chunker.py +807 -0
  62. graflo/util/merge.py +150 -0
  63. graflo/util/misc.py +37 -0
  64. graflo/util/onto.py +422 -0
  65. graflo/util/transform.py +454 -0
  66. graflo-1.3.7.dist-info/METADATA +243 -0
  67. graflo-1.3.7.dist-info/RECORD +70 -0
  68. graflo-1.3.7.dist-info/WHEEL +4 -0
  69. graflo-1.3.7.dist-info/entry_points.txt +5 -0
  70. graflo-1.3.7.dist-info/licenses/LICENSE +126 -0
@@ -0,0 +1,70 @@
1
+ graflo/README.md,sha256=epqV1Cpmogy6RnTNeu-K0JhO_gVY82RzeLFN6kvG7Is,377
2
+ graflo/__init__.py,sha256=Tr4mksr6gp3fuHEx51dbudTYJTaZQH0AHVWQCCMNhs4,1857
3
+ graflo/caster.py,sha256=-EF0eXcmBJM_gnyBZTXCG6m1aqFSc2CD5OE35NHc5YI,28843
4
+ graflo/logging.conf,sha256=coIMi-VlXrBEfoczsY986ax20NZ2e11yi4hFWSwpwDM,372
5
+ graflo/onto.py,sha256=nz1Ms0U0bzGd1Eni4F76IN2r0oIKYhN45dve2cse-ic,10829
6
+ graflo/architecture/__init__.py,sha256=BptkdI26979ljHMRh59owuuPF9Z2NERCXT_iRNX4kRs,1093
7
+ graflo/architecture/actor.py,sha256=bvsbcJ55bqyPndXbMwRTqO9MqfmkEBM6iXq01iXRNJU,42654
8
+ graflo/architecture/actor_util.py,sha256=aav-rKgFgct1GokpXX0w4ndckmeEQXSCvG4SaLlIOuk,17106
9
+ graflo/architecture/edge.py,sha256=N9ExY23mQE6JQZVkfn63MJb6HX6b-qpIs0YkxmgmkiY,14746
10
+ graflo/architecture/onto.py,sha256=Jut18CnoYBP8BY7R4UjPMCTIzS8VLFe5yY1VCKu_X_Q,11498
11
+ graflo/architecture/onto_sql.py,sha256=EYZuQd_tUWR0u4An_MFacMhkhgAFHMRvm98UqVWIp5o,1243
12
+ graflo/architecture/resource.py,sha256=g4U5WphX2MTt4PDzLZulP4rGMLXzNBXyWn_OJL4-JVA,5119
13
+ graflo/architecture/schema.py,sha256=lqWM4Fr0d_MxJODPL1k9pePySWSueoxfiVaOEf3w9rc,4472
14
+ graflo/architecture/transform.py,sha256=kckf2Nb5IT0fBULkK0Xbfj69DbzviObOlKOls1f7vMw,9505
15
+ graflo/architecture/util.py,sha256=iFyKRUg7v2DJL1eM2yYcVyDqeLHpUdKrKLhnW5zmKrA,2897
16
+ graflo/architecture/vertex.py,sha256=cIJDklKQx3bWROhJ-Zjja-xBCAJdcZ4DmWrCI6MWvN4,19024
17
+ graflo/cli/__init__.py,sha256=u5YFigokhv46foL9P5YQDOIICQ2v6CMErlByucaarSs,449
18
+ graflo/cli/ingest.py,sha256=_DXHrs4B-NrlAZcABkjUNaQOLkvoejKCOgerLsy2e40,6593
19
+ graflo/cli/manage_dbs.py,sha256=-6Iv4OovRu44lbMjB6Kd4aIlE9kW3dJgDVCeXEtu-og,6423
20
+ graflo/cli/plot_schema.py,sha256=rRmg8VfOl23fhebD2NahembfiWywvBU_4yXU_VVkCYQ,4300
21
+ graflo/cli/xml2json.py,sha256=pi4KDtOsVVVuxmu0DtZUOJCP3VXjDGOfHQOR6HaVQk4,2668
22
+ graflo/data_source/__init__.py,sha256=6hX1f6k5rRFUmIrHuYhWuqLJX7cLAUj-_1_nzlrB-DY,1506
23
+ graflo/data_source/api.py,sha256=WRYao-4hH7Qsl_FJwoiK6bZNYDbOKamp58MqVs87AmE,12175
24
+ graflo/data_source/base.py,sha256=lh9uLS5YBaVUS-ssKrlSOWXzlS1KWvIrpioDxj9FUwU,2896
25
+ graflo/data_source/factory.py,sha256=LkZxOjxUCwIgr010qSK8IJDI6J8Gh39WSnK4ZHfZeiE,11660
26
+ graflo/data_source/file.py,sha256=puu9Y9nGyfKXLkr3tjgrLnIr9G-bRSO3wFSvl7ySn6M,4399
27
+ graflo/data_source/memory.py,sha256=9AbVWp33gRdOc1BvScxIGQZAW5gprGIgPe75JGud50Q,2415
28
+ graflo/data_source/registry.py,sha256=FEVuRTw21YuDyRaf53nzYRigg9WHreuddNrxSSyNrL0,2606
29
+ graflo/data_source/sql.py,sha256=nGCHpoHat6lPG6-jhIFEJ7RNJs657KYeEi8rMwuyZAk,6205
30
+ graflo/db/__init__.py,sha256=I_hBGfVqZYvg68Cioa_f2mnLcU78_na6_vwD5nUbnro,1446
31
+ graflo/db/conn.py,sha256=EPsn3wervFRzSpyV2naNhyXOpedySpE_0ls3cQbwIaQ,11884
32
+ graflo/db/manager.py,sha256=lTdM20PtTS8PU119dpZH5WtD25O9zjbCOwi1icAbieI,4072
33
+ graflo/db/util.py,sha256=IgS32BaWKoSpsq1yqIfq9iVmXkJJFdRBDX4NOi66dgA,1461
34
+ graflo/db/arango/__init__.py,sha256=_au3IvlYmjiSym2gPCLngyTjpZLRSHE877SiHUd7o-E,642
35
+ graflo/db/arango/conn.py,sha256=BqmGVuk7-8E56uKN60tmIeYe7B1NyNZ89MnTxpoe-oQ,36878
36
+ graflo/db/arango/query.py,sha256=t_RKltpWh0L3V0FJst38vMf7QsmjzTndgBR3ooAahmM,5655
37
+ graflo/db/arango/util.py,sha256=AUH70v_8NuQ4Eicrh1IHApnn_-E5wPQfzgKcYHdwHT0,2971
38
+ graflo/db/connection/__init__.py,sha256=RBZxV2EkqWkQuFH-bEose33ENGsLKB2C8T8HuUjOaBQ,80
39
+ graflo/db/connection/config_mapping.py,sha256=mFFMEt51nh8yN5ar9fGaidogkIqwbAbrOoAUj8rz7S4,418
40
+ graflo/db/connection/onto.py,sha256=EZ1_fLZrVveARZhkxTI0J94ciF5FJpDllQmvptNInrE,26768
41
+ graflo/db/connection/wsgi.py,sha256=smqkQwvoSb0MEFlcxaJYjZFF1LeNMfqidcTqYzgP9BE,989
42
+ graflo/db/neo4j/__init__.py,sha256=KB4zd06CNCmTs5KotfQ_4petaCLOJnUZ1oD4CaRJTnQ,547
43
+ graflo/db/neo4j/conn.py,sha256=luQfmJvKKW0Q__0eXR7HhwSkci47jlPI8nXeev1lHoA,22325
44
+ graflo/db/postgres/__init__.py,sha256=ki77Qy86DuwRS_qKKGwDHoNfyTGkwoEGC8gpKdCVqS0,1419
45
+ graflo/db/postgres/conn.py,sha256=Y8ezjagmU_fbWWJf8R0FnaRnESW_O-YWIEHYOYxgVo8,38266
46
+ graflo/db/postgres/fuzzy_matcher.py,sha256=7yFsyhvU01c1c4a1JMtl3zYTlrU1JxdQ5crpH2vNfIM,10291
47
+ graflo/db/postgres/heuristics.py,sha256=os3LAOeWHtAusTx7uB8yGppQ2fFmmlLSxxIa60OW_kY,4055
48
+ graflo/db/postgres/inference_utils.py,sha256=8yZwnd3ifV7KsO2UFZYjp2n9uqeFpnJGjRsrXWxIFiQ,16700
49
+ graflo/db/postgres/resource_mapping.py,sha256=qPipYmmoXWZUrgFN9p0o8IZyStSVMqt0Fcqne9GX7c4,10720
50
+ graflo/db/postgres/schema_inference.py,sha256=mZA22Ilq3ocfm6tCT_LNwBWvYRu-3hu7ZEmgO5c6auk,13812
51
+ graflo/db/postgres/types.py,sha256=tEkfEOTvYz2s9U53QG47LbPdu9txtzyHFNuiKUTtGTs,4559
52
+ graflo/db/postgres/util.py,sha256=PyKziRipWInI_DplYPnHfjPP33iOOmOf09LZiuiHMo4,3145
53
+ graflo/db/tigergraph/__init__.py,sha256=qmC6xVS9-s4LlWC9G8lH9DzSHjqjoSg4DqFzb42eIa0,254
54
+ graflo/db/tigergraph/conn.py,sha256=q6mOkkPtSlJi8933ShmNR-vX9lOrgeeWRr32LG4wGNA,98767
55
+ graflo/db/tigergraph/onto.py,sha256=GZwrRuVKkBIW7CfX_9R2GHKsMBnbbVcG0ObyquR9YoM,1003
56
+ graflo/filter/__init__.py,sha256=OyV5pavlOrWQeS4fwHA-tcKcNccXxGr2d--TKPYlXyE,814
57
+ graflo/filter/onto.py,sha256=iLFPXqiBZ1FTQbaHBxHD8gatFk024yGXYHCzyxkbaMw,16791
58
+ graflo/plot/__init__.py,sha256=ITlvw8_FRNXPqtjiou946Hv923iixGvR6c4Uqrg-L2o,485
59
+ graflo/plot/plotter.py,sha256=1drtIGjK6BSWpKOqzucN7RIZDQePBvPymWz0RyMPKsA,20276
60
+ graflo/util/__init__.py,sha256=aZsSxHD1vzADUvzHVuYrx2TL-EUye7tcw2IeX81EB38,706
61
+ graflo/util/chunker.py,sha256=O5nKX2jGz4MPr7DMV-Yb9SNFy0BhZNtkA2_8KC8nyeM,24217
62
+ graflo/util/merge.py,sha256=mFn6GU6nL99Ug2PxFjuBJBwaPQPotP5MSB822YS34HI,5619
63
+ graflo/util/misc.py,sha256=Fwl8HhbBm-ZXbqDotnZ39gDPoTfUKeonZAi4pPWY99M,1171
64
+ graflo/util/onto.py,sha256=P3O9SD_DjqcqnVLTQrpCnTEymCskACFur4IpUSCHdXg,16261
65
+ graflo/util/transform.py,sha256=i_15LU_wIpbUmJhMcZi6Tw-vtIMUfk4srIqtwOD7BEc,13233
66
+ graflo-1.3.7.dist-info/METADATA,sha256=7JtjqcVC5E254e5AkD0vATKox3mAYsn18eCHAmXl0G4,8781
67
+ graflo-1.3.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
68
+ graflo-1.3.7.dist-info/entry_points.txt,sha256=kjDXqHgIrppqxQe6RO6XjLrq7VL50AaVHhLg7c95Oxc,190
69
+ graflo-1.3.7.dist-info/licenses/LICENSE,sha256=ILn9MXR5AfuRRtOF8abQWhm0wO8kckf4IBdc6mKaRG8,5593
70
+ graflo-1.3.7.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ ingest = graflo.cli.ingest:ingest
3
+ manage_dbs = graflo.cli.manage_dbs:manage_dbs
4
+ plot_schema = graflo.cli.plot_schema:plot_schema
5
+ xml2json = graflo.cli.plot_schema:xml2json
@@ -0,0 +1,126 @@
1
+ Business Source License 1.1
2
+
3
+ Parameters
4
+
5
+ Licensor: Growgraph SAS
6
+ Licensed Work: GraFlo
7
+ The Licensed Work is (c) 2025 GraFlo
8
+ Formerly GraphCast
9
+
10
+ Additional Use Grant:
11
+ The Licensor hereby grants you the right to make production use of the Licensed Work
12
+ if any of the following conditions are met:
13
+
14
+ - Your organization's annual revenue does not exceed USD 100,000
15
+ - You are not offering a commercially available product or service that
16
+ competes with the Licensor's products or services
17
+
18
+ Definitions:
19
+ "Production Use" means any use of the Licensed Work in a production environment,
20
+ including but not limited to:
21
+
22
+ - Deploying the Licensed Work to serve production traffic
23
+ - Using the Licensed Work to process real customer data
24
+ - Incorporating the Licensed Work into a commercial product or service
25
+ - Using the Licensed Work to generate revenue directly or indirectly
26
+
27
+ "Competing Product or Service" means any product or service that:
28
+
29
+ - Provides substantially similar functionality to the Licensed Work
30
+ - Offers the Licensed Work as a hosted or managed service
31
+ - Incorporates the Licensed Work into a broader product or service that competes
32
+ with the Licensor's current or reasonably anticipated products or services
33
+
34
+ "Non-Production Use" means:
35
+
36
+ - Development and testing in isolated environments
37
+ - Academic research and educational purposes
38
+ - Evaluation of the Licensed Work for potential purchase of a commercial license
39
+ - Personal, non-commercial projects where the Licensed Work is not used to generate revenue
40
+
41
+ Change Date: 2029-05-01
42
+
43
+ Change License: Apache License, Version 2.0
44
+
45
+ For information about alternative licensing arrangements for the Software,
46
+ please contact: <team@growgraph.dev>
47
+
48
+ Notice
49
+
50
+ The Business Source License (this document, or the “License”) is not an Open
51
+ Source license. However, the Licensed Work will eventually be made available
52
+ under an Open Source License, as stated in this License.
53
+
54
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
55
+ “Business Source License” is a trademark of MariaDB Corporation Ab.
56
+
57
+ -----------------------------------------------------------------------------
58
+
59
+ Business Source License 1.1
60
+
61
+ Terms
62
+
63
+ The Licensor hereby grants you the right to copy, modify, create derivative
64
+ works, redistribute, and make non-production use of the Licensed Work. The
65
+ Licensor may make an Additional Use Grant, above, permitting limited
66
+ production use.
67
+
68
+ Effective on the Change Date, or the fourth anniversary of the first publicly
69
+ available distribution of a specific version of the Licensed Work under this
70
+ License, whichever comes first, the Licensor hereby grants you rights under
71
+ the terms of the Change License, and the rights granted in the paragraph
72
+ above terminate.
73
+
74
+ If your use of the Licensed Work does not comply with the requirements
75
+ currently in effect as described in this License, you must purchase a
76
+ commercial license from the Licensor, its affiliated entities, or authorized
77
+ resellers, or you must refrain from using the Licensed Work.
78
+
79
+ All copies of the original and modified Licensed Work, and derivative works
80
+ of the Licensed Work, are subject to this License. This License applies
81
+ separately for each version of the Licensed Work and the Change Date may vary
82
+ for each version of the Licensed Work released by Licensor.
83
+
84
+ You must conspicuously display this License on each original or modified copy
85
+ of the Licensed Work. If you receive the Licensed Work in original or
86
+ modified form from a third party, the terms and conditions set forth in this
87
+ License apply to your use of that work.
88
+
89
+ Any use of the Licensed Work in violation of this License will automatically
90
+ terminate your rights under this License for the current and all other
91
+ versions of the Licensed Work.
92
+
93
+ This License does not grant you any right in any trademark or logo of
94
+ Licensor or its affiliates (provided that you may use a trademark or logo of
95
+ Licensor as expressly required by this License).
96
+
97
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
98
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
99
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
100
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
101
+ TITLE.
102
+
103
+ MariaDB hereby grants you permission to use this License’s text to license
104
+ your works, and to refer to it using the trademark “Business Source License”,
105
+ as long as you comply with the Covenants of Licensor below.
106
+
107
+ Covenants of Licensor
108
+
109
+ In consideration of the right to use this License’s text and the “Business
110
+ Source License” name and trademark, Licensor covenants to MariaDB, and to all
111
+ other recipients of the licensed work to be provided by Licensor:
112
+
113
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
114
+ or a license that is compatible with GPL Version 2.0 or a later version,
115
+ where “compatible” means that software provided under the Change License can
116
+ be included in a program with software provided under GPL Version 2.0 or a
117
+ later version. Licensor may specify additional Change Licenses without
118
+ limitation.
119
+
120
+ 2. To either: (a) specify an additional grant of rights to use that does not
121
+ impose any additional restriction on the right granted in this License, as
122
+ the Additional Use Grant; or (b) insert the text “None”.
123
+
124
+ 3. To specify a Change Date.
125
+
126
+ 4. Not to modify this License in any other way.