pyegeria 5.4.8.6__py3-none-any.whl → 5.4.8.8__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.
Files changed (49) hide show
  1. examples/Coco_config/README.md +19 -0
  2. examples/Coco_config/__init__.py +4 -0
  3. examples/Coco_config/config_cocoMDS1.py +108 -0
  4. examples/Coco_config/config_cocoMDS2.py +126 -0
  5. examples/Coco_config/config_cocoMDS3.py +109 -0
  6. examples/Coco_config/config_cocoMDS4.py +91 -0
  7. examples/Coco_config/config_cocoMDS5.py +116 -0
  8. examples/Coco_config/config_cocoMDS6.py +114 -0
  9. examples/Coco_config/config_cocoMDSx.py +119 -0
  10. examples/Coco_config/config_cocoView1.py +155 -0
  11. examples/Coco_config/config_coco_core.py +255 -0
  12. examples/Coco_config/config_coco_datalake.py +450 -0
  13. examples/Coco_config/config_exchangeDL01.py +106 -0
  14. examples/Coco_config/config_governDL01.py +80 -0
  15. examples/Coco_config/config_monitorDev01.py +60 -0
  16. examples/Coco_config/config_monitorGov01.py +194 -0
  17. examples/Coco_config/globals.py +154 -0
  18. examples/GeoSpatial Products Example.py +535 -0
  19. examples/Jupyter Notebooks/P-egeria-server-config.ipynb +2137 -0
  20. examples/Jupyter Notebooks/README.md +2 -0
  21. examples/Jupyter Notebooks/common/P-environment-check.ipynb +115 -0
  22. examples/Jupyter Notebooks/common/__init__.py +14 -0
  23. examples/Jupyter Notebooks/common/common-functions.ipynb +4694 -0
  24. examples/Jupyter Notebooks/common/environment-check.ipynb +53 -0
  25. examples/Jupyter Notebooks/common/globals.ipynb +184 -0
  26. examples/Jupyter Notebooks/common/globals.py +154 -0
  27. examples/Jupyter Notebooks/common/orig_globals.py +152 -0
  28. examples/format_sets/all_format_sets.json +910 -0
  29. examples/format_sets/custom_format_sets.json +268 -0
  30. examples/format_sets/subset_format_sets.json +187 -0
  31. examples/format_sets_save_load_example.py +294 -0
  32. examples/output_formats_example.py +193 -0
  33. md_processing/__init__.py +6 -0
  34. md_processing/data/commands.json +30640 -59579
  35. md_processing/dr_egeria.py +18 -0
  36. md_processing/md_commands/feedback_commands.py +763 -0
  37. md_processing/md_commands/project_commands.py +1 -1
  38. md_processing/md_processing_utils/md_processing_constants.py +134 -4
  39. pyegeria/__init__.py +1 -1
  40. pyegeria/_client_new.py +109 -12
  41. pyegeria/_globals.py +3 -2
  42. pyegeria/base_report_formats.py +17 -0
  43. pyegeria/format_set_executor.py +5 -2
  44. {pyegeria-5.4.8.6.dist-info → pyegeria-5.4.8.8.dist-info}/METADATA +1 -1
  45. {pyegeria-5.4.8.6.dist-info → pyegeria-5.4.8.8.dist-info}/RECORD +49 -16
  46. {pyegeria-5.4.8.6.dist-info → pyegeria-5.4.8.8.dist-info}/top_level.txt +1 -0
  47. {pyegeria-5.4.8.6.dist-info → pyegeria-5.4.8.8.dist-info}/WHEEL +0 -0
  48. {pyegeria-5.4.8.6.dist-info → pyegeria-5.4.8.8.dist-info}/entry_points.txt +0 -0
  49. {pyegeria-5.4.8.6.dist-info → pyegeria-5.4.8.8.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,2 @@
1
+ This directory is a working area where we are transitioning code from the Egeria Jupyter labs
2
+ into some new labs based on pyegeria. Please treat the contents accordingly.
@@ -0,0 +1,115 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "metadata": {
7
+ "collapsed": false
8
+ },
9
+ "source": [
10
+ "\n",
11
+ "#\n",
12
+ "# Perform basic checks to ensure the calling notebook has a good environment to work against.\n",
13
+ "# These are the only calls to run functions defined above.\n",
14
+ "#\n",
15
+ "!pip install -q pyegeria\n",
16
+ "!pip install nest_asyncio\n",
17
+ "\n",
18
+ "from pyegeria import Platform, RegisteredInfo, CoreServerConfig, utils, print_exception_response\n",
19
+ "\n",
20
+ "from globals import (adminUserId, cocoMDS1Name, cocoMDS2Name, cocoMDS3Name, cocoMDS4Name, cocoMDS5Name, cocoMDS6Name, cocoView1Name, cocoOLS1Name, cocoMDSxName, devPlatformName, dataLakePlatformName, corePlatformName, corePlatformURL, dataLakePlatformURL, devPlatformURL)\n",
21
+ "import nest_asyncio \n",
22
+ "nest_asyncio.apply()"
23
+ ],
24
+ "outputs": []
25
+ },
26
+ {
27
+ "cell_type": "code",
28
+ "source": [
29
+ "\n",
30
+ "print(\"\\nChecking OMAG Server Platform availability...\")\n",
31
+ "\n",
32
+ "def activatePlatform(platform_name:str, platform_url, server_list: [str], admin_user_id:str):\n",
33
+ " platform = Platform(server_list[0], platform_url, admin_user_id)\n",
34
+ " platform.activate_platform(platform_name, server_list)\n",
35
+ " \n",
36
+ " "
37
+ ],
38
+ "metadata": {
39
+ "collapsed": false
40
+ },
41
+ "execution_count": null,
42
+ "outputs": []
43
+ },
44
+ {
45
+ "cell_type": "code",
46
+ "source": [
47
+ "# Try to activate each of the platforms\n",
48
+ "# nest_asyncio.apply()\n",
49
+ "activatePlatform(corePlatformName, corePlatformURL, [cocoMDS2Name, cocoMDS3Name, cocoMDS5Name, cocoMDS6Name], adminUserId)"
50
+ ],
51
+ "metadata": {
52
+ "collapsed": false
53
+ },
54
+ "execution_count": null,
55
+ "outputs": []
56
+ },
57
+ {
58
+ "cell_type": "code",
59
+ "source": [
60
+ "# nest_asyncio.apply()\n",
61
+ "activatePlatform(dataLakePlatformName, dataLakePlatformURL, [cocoMDS1Name, cocoMDS4Name, cocoView1Name, cocoOLS1Name], adminUserId)"
62
+ ],
63
+ "metadata": {
64
+ "collapsed": false
65
+ },
66
+ "execution_count": null,
67
+ "outputs": []
68
+ },
69
+ {
70
+ "cell_type": "code",
71
+ "source": [
72
+ "# nest_asyncio.apply()\n",
73
+ "activatePlatform(devPlatformName, devPlatformURL, [cocoMDSxName], adminUserId)\n",
74
+ "\n",
75
+ "print (\"Done.\")\n",
76
+ " "
77
+ ],
78
+ "metadata": {
79
+ "tags": []
80
+ },
81
+ "execution_count": null,
82
+ "outputs": []
83
+ },
84
+ {
85
+ "cell_type": "code",
86
+ "source": [],
87
+ "metadata": {
88
+ "collapsed": false
89
+ },
90
+ "execution_count": null,
91
+ "outputs": []
92
+ }
93
+ ],
94
+ "metadata": {
95
+ "kernelspec": {
96
+ "display_name": "Python 3",
97
+ "language": "python",
98
+ "name": "python3"
99
+ },
100
+ "language_info": {
101
+ "codemirror_mode": {
102
+ "name": "ipython",
103
+ "version": 3
104
+ },
105
+ "file_extension": ".py",
106
+ "mimetype": "text/x-python",
107
+ "name": "python",
108
+ "nbconvert_exporter": "python",
109
+ "pygments_lexer": "ipython3",
110
+ "version": "3.7.3"
111
+ }
112
+ },
113
+ "nbformat": 4,
114
+ "nbformat_minor": 4
115
+ }
@@ -0,0 +1,14 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ This is the pyegeria client package. The purpose of the package is to provide
6
+ easy access to Egeria (https://egeria-project.org). The package is currently in
7
+ development.
8
+
9
+ The first capabilities are around Egeria's platform services used to start and stop
10
+ the server platform and servers.
11
+
12
+ """
13
+
14
+ import orig_globals