mcp-eregistrations-bpa 0.9.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 (66) hide show
  1. mcp_eregistrations_bpa-0.9.5/.gitignore +70 -0
  2. mcp_eregistrations_bpa-0.9.5/LICENSE +86 -0
  3. mcp_eregistrations_bpa-0.9.5/PKG-INFO +988 -0
  4. mcp_eregistrations_bpa-0.9.5/README.md +958 -0
  5. mcp_eregistrations_bpa-0.9.5/pyproject.toml +90 -0
  6. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/__init__.py +121 -0
  7. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/__main__.py +6 -0
  8. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/arazzo/__init__.py +21 -0
  9. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/arazzo/expression.py +379 -0
  10. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/audit/__init__.py +56 -0
  11. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/audit/context.py +66 -0
  12. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/audit/logger.py +236 -0
  13. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/audit/models.py +131 -0
  14. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/auth/__init__.py +64 -0
  15. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/auth/callback.py +391 -0
  16. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/auth/cas.py +409 -0
  17. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/auth/oidc.py +252 -0
  18. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/auth/permissions.py +162 -0
  19. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/auth/token_manager.py +348 -0
  20. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/bpa_client/__init__.py +84 -0
  21. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/bpa_client/client.py +740 -0
  22. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/bpa_client/endpoints.py +193 -0
  23. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/bpa_client/errors.py +276 -0
  24. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/bpa_client/models.py +203 -0
  25. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/config.py +363 -0
  26. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/db/__init__.py +21 -0
  27. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/db/connection.py +64 -0
  28. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/db/migrations.py +168 -0
  29. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/exceptions.py +39 -0
  30. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/py.typed +0 -0
  31. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/rollback/__init__.py +19 -0
  32. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/rollback/manager.py +616 -0
  33. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/server.py +152 -0
  34. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/__init__.py +372 -0
  35. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/actions.py +155 -0
  36. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/analysis.py +352 -0
  37. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/audit.py +399 -0
  38. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/behaviours.py +1042 -0
  39. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/bots.py +627 -0
  40. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/classifications.py +575 -0
  41. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/costs.py +765 -0
  42. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/debug_strategies.py +351 -0
  43. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/debugger.py +1230 -0
  44. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/determinants.py +2235 -0
  45. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/document_requirements.py +670 -0
  46. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/export.py +899 -0
  47. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/fields.py +162 -0
  48. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/form_errors.py +36 -0
  49. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/formio_helpers.py +1063 -0
  50. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/forms.py +1285 -0
  51. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/jsonlogic_builder.py +466 -0
  52. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/large_response.py +163 -0
  53. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/messages.py +523 -0
  54. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/notifications.py +241 -0
  55. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/registration_institutions.py +680 -0
  56. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/registrations.py +897 -0
  57. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/role_status.py +447 -0
  58. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/role_units.py +400 -0
  59. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/roles.py +1236 -0
  60. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/rollback.py +335 -0
  61. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/services.py +664 -0
  62. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/workflows.py +2487 -0
  63. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/tools/yaml_transformer.py +991 -0
  64. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/workflows/__init__.py +28 -0
  65. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/workflows/loader.py +440 -0
  66. mcp_eregistrations_bpa-0.9.5/src/mcp_eregistrations_bpa/workflows/models.py +336 -0
@@ -0,0 +1,70 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ .Python
7
+ build/
8
+ develop-eggs/
9
+ dist/
10
+ downloads/
11
+ eggs/
12
+ .eggs/
13
+ lib/
14
+ lib64/
15
+ parts/
16
+ sdist/
17
+ var/
18
+ wheels/
19
+ *.egg-info/
20
+ .installed.cfg
21
+ *.egg
22
+
23
+ # Virtual environments
24
+ .venv/
25
+ venv/
26
+ ENV/
27
+
28
+ # IDE
29
+ .idea/
30
+ .vscode/
31
+ *.swp
32
+ *.swo
33
+
34
+ # Testing
35
+ .pytest_cache/
36
+ .coverage
37
+ htmlcov/
38
+ .tox/
39
+ .nox/
40
+
41
+ # mypy
42
+ .mypy_cache/
43
+
44
+ # ruff
45
+ .ruff_cache/
46
+
47
+ # Environment
48
+ .env
49
+ .env.local
50
+
51
+ # OS
52
+ .DS_Store
53
+ Thumbs.db
54
+
55
+ # Claude Code
56
+ .claude/audio/
57
+ .claude/settings.json
58
+ .claude/commands/agent-vibes/
59
+
60
+ # AgentVibes
61
+ .agentvibes/
62
+
63
+ # Serena
64
+ .serena/
65
+
66
+ # MCP config (local)
67
+ .mcp.json
68
+
69
+ # PyInstaller
70
+ *.spec
@@ -0,0 +1,86 @@
1
+ PROPRIETARY SOFTWARE LICENSE
2
+
3
+ Copyright (c) 2024-2025 United Nations Conference on Trade and Development (UNCTAD)
4
+ Division on Investment and Enterprise (DIAE)
5
+ Business Facilitation Section
6
+
7
+ All Rights Reserved.
8
+
9
+ NOTICE TO USER:
10
+
11
+ This software and associated documentation files (the "Software") are the
12
+ proprietary and confidential property of the United Nations Conference on
13
+ Trade and Development (UNCTAD), Division on Investment and Enterprise (DIAE),
14
+ Business Facilitation Section.
15
+
16
+ TERMS AND CONDITIONS:
17
+
18
+ 1. GRANT OF LICENSE
19
+ Subject to the terms and conditions of this License, UNCTAD grants you a
20
+ limited, non-exclusive, non-transferable license to use the Software solely
21
+ for purposes authorized by UNCTAD in writing.
22
+
23
+ 2. RESTRICTIONS
24
+ You may NOT:
25
+ a) Copy, modify, or distribute the Software without express written
26
+ permission from UNCTAD;
27
+ b) Reverse engineer, decompile, or disassemble the Software;
28
+ c) Rent, lease, lend, sell, sublicense, or transfer the Software to any
29
+ third party;
30
+ d) Remove or alter any proprietary notices, labels, or marks on the
31
+ Software;
32
+ e) Use the Software for any purpose other than as expressly authorized
33
+ by UNCTAD.
34
+
35
+ 3. OWNERSHIP
36
+ The Software is licensed, not sold. UNCTAD retains all right, title, and
37
+ interest in and to the Software, including all intellectual property rights
38
+ therein. No title to the intellectual property in the Software is
39
+ transferred to you.
40
+
41
+ 4. CONFIDENTIALITY
42
+ The Software contains trade secrets and proprietary information of UNCTAD.
43
+ You agree to maintain the confidentiality of the Software and not to
44
+ disclose it to any third party without the prior written consent of UNCTAD.
45
+
46
+ 5. TERMINATION
47
+ This License is effective until terminated. UNCTAD may terminate this
48
+ License at any time if you fail to comply with any term or condition of
49
+ this License. Upon termination, you must destroy all copies of the Software
50
+ in your possession.
51
+
52
+ 6. NO WARRANTY
53
+ THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
54
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
55
+ FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
56
+
57
+ 7. LIMITATION OF LIABILITY
58
+ IN NO EVENT SHALL UNCTAD BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
59
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
60
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
61
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
62
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
63
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
64
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
65
+
66
+ 8. GOVERNING LAW
67
+ This License shall be governed by and construed in accordance with the
68
+ applicable rules of international law and the internal regulations of the
69
+ United Nations.
70
+
71
+ 9. ENTIRE AGREEMENT
72
+ This License constitutes the entire agreement between you and UNCTAD
73
+ concerning the Software and supersedes all prior or contemporaneous
74
+ agreements, representations, warranties, and understandings.
75
+
76
+ For licensing inquiries, please contact:
77
+
78
+ United Nations Conference on Trade and Development (UNCTAD)
79
+ Division on Investment and Enterprise (DIAE)
80
+ Business Facilitation Section
81
+ Palais des Nations
82
+ CH-1211 Geneva 10
83
+ Switzerland
84
+
85
+ Email: benmoumen@gmail.com
86
+ Web: https://businessfacilitation.org