contree-mcp 0.1.0__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. contree_mcp-0.1.0/.github/ISSUE_TEMPLATE/bug_report.yml +69 -0
  2. contree_mcp-0.1.0/.github/ISSUE_TEMPLATE/config.yml +11 -0
  3. contree_mcp-0.1.0/.github/ISSUE_TEMPLATE/documentation.yml +23 -0
  4. contree_mcp-0.1.0/.github/ISSUE_TEMPLATE/feature_request.yml +78 -0
  5. contree_mcp-0.1.0/.github/workflows/docs.yml +110 -0
  6. contree_mcp-0.1.0/.github/workflows/tests.yml +103 -0
  7. contree_mcp-0.1.0/.gitignore +9 -0
  8. contree_mcp-0.1.0/.idea/.gitignore +8 -0
  9. contree_mcp-0.1.0/LICENSE +176 -0
  10. contree_mcp-0.1.0/PKG-INFO +450 -0
  11. contree_mcp-0.1.0/README.md +425 -0
  12. contree_mcp-0.1.0/SECURITY.md +15 -0
  13. contree_mcp-0.1.0/contree_mcp/__init__.py +0 -0
  14. contree_mcp-0.1.0/contree_mcp/__main__.py +25 -0
  15. contree_mcp-0.1.0/contree_mcp/app.py +240 -0
  16. contree_mcp-0.1.0/contree_mcp/arguments.py +35 -0
  17. contree_mcp-0.1.0/contree_mcp/auth/__init__.py +2 -0
  18. contree_mcp-0.1.0/contree_mcp/auth/registry.py +236 -0
  19. contree_mcp-0.1.0/contree_mcp/backend_types.py +301 -0
  20. contree_mcp-0.1.0/contree_mcp/cache.py +208 -0
  21. contree_mcp-0.1.0/contree_mcp/client.py +711 -0
  22. contree_mcp-0.1.0/contree_mcp/context.py +53 -0
  23. contree_mcp-0.1.0/contree_mcp/docs.py +1203 -0
  24. contree_mcp-0.1.0/contree_mcp/file_cache.py +381 -0
  25. contree_mcp-0.1.0/contree_mcp/prompts.py +238 -0
  26. contree_mcp-0.1.0/contree_mcp/py.typed +0 -0
  27. contree_mcp-0.1.0/contree_mcp/resources/__init__.py +17 -0
  28. contree_mcp-0.1.0/contree_mcp/resources/guide.py +715 -0
  29. contree_mcp-0.1.0/contree_mcp/resources/image_lineage.py +46 -0
  30. contree_mcp-0.1.0/contree_mcp/resources/image_ls.py +32 -0
  31. contree_mcp-0.1.0/contree_mcp/resources/import_operation.py +52 -0
  32. contree_mcp-0.1.0/contree_mcp/resources/instance_operation.py +52 -0
  33. contree_mcp-0.1.0/contree_mcp/resources/read_file.py +33 -0
  34. contree_mcp-0.1.0/contree_mcp/resources/static.py +12 -0
  35. contree_mcp-0.1.0/contree_mcp/server.py +77 -0
  36. contree_mcp-0.1.0/contree_mcp/tools/__init__.py +39 -0
  37. contree_mcp-0.1.0/contree_mcp/tools/cancel_operation.py +36 -0
  38. contree_mcp-0.1.0/contree_mcp/tools/download.py +128 -0
  39. contree_mcp-0.1.0/contree_mcp/tools/get_guide.py +54 -0
  40. contree_mcp-0.1.0/contree_mcp/tools/get_image.py +30 -0
  41. contree_mcp-0.1.0/contree_mcp/tools/get_operation.py +26 -0
  42. contree_mcp-0.1.0/contree_mcp/tools/import_image.py +99 -0
  43. contree_mcp-0.1.0/contree_mcp/tools/list_files.py +80 -0
  44. contree_mcp-0.1.0/contree_mcp/tools/list_images.py +50 -0
  45. contree_mcp-0.1.0/contree_mcp/tools/list_operations.py +46 -0
  46. contree_mcp-0.1.0/contree_mcp/tools/read_file.py +47 -0
  47. contree_mcp-0.1.0/contree_mcp/tools/registry_auth.py +71 -0
  48. contree_mcp-0.1.0/contree_mcp/tools/registry_token_obtain.py +80 -0
  49. contree_mcp-0.1.0/contree_mcp/tools/rsync.py +46 -0
  50. contree_mcp-0.1.0/contree_mcp/tools/run.py +97 -0
  51. contree_mcp-0.1.0/contree_mcp/tools/set_tag.py +31 -0
  52. contree_mcp-0.1.0/contree_mcp/tools/upload.py +50 -0
  53. contree_mcp-0.1.0/contree_mcp/tools/wait_operations.py +79 -0
  54. contree_mcp-0.1.0/dist/.gitignore +1 -0
  55. contree_mcp-0.1.0/docs/LICENSE +201 -0
  56. contree_mcp-0.1.0/docs/Makefile +89 -0
  57. contree_mcp-0.1.0/docs/_static/http-index-page-screenshot.png +0 -0
  58. contree_mcp-0.1.0/docs/_static/logo.svg +938 -0
  59. contree_mcp-0.1.0/docs/cheatsheet.md +142 -0
  60. contree_mcp-0.1.0/docs/concepts/core.md +62 -0
  61. contree_mcp-0.1.0/docs/concepts/index.md +30 -0
  62. contree_mcp-0.1.0/docs/concepts/workflows.md +83 -0
  63. contree_mcp-0.1.0/docs/conf.py +95 -0
  64. contree_mcp-0.1.0/docs/index.md +109 -0
  65. contree_mcp-0.1.0/docs/integration/configuration.md +100 -0
  66. contree_mcp-0.1.0/docs/integration/index.md +37 -0
  67. contree_mcp-0.1.0/docs/integration/troubleshooting.md +124 -0
  68. contree_mcp-0.1.0/docs/llm.txt +35 -0
  69. contree_mcp-0.1.0/docs/patterns.md +136 -0
  70. contree_mcp-0.1.0/docs/prompts/build-project.md +120 -0
  71. contree_mcp-0.1.0/docs/prompts/debug-failure.md +119 -0
  72. contree_mcp-0.1.0/docs/prompts/index.md +83 -0
  73. contree_mcp-0.1.0/docs/prompts/inspect-image.md +108 -0
  74. contree_mcp-0.1.0/docs/prompts/install-packages.md +104 -0
  75. contree_mcp-0.1.0/docs/prompts/multi-stage-build.md +154 -0
  76. contree_mcp-0.1.0/docs/prompts/parallel-tasks.md +106 -0
  77. contree_mcp-0.1.0/docs/prompts/prepare-environment.md +139 -0
  78. contree_mcp-0.1.0/docs/prompts/run-python.md +91 -0
  79. contree_mcp-0.1.0/docs/prompts/run-shell.md +91 -0
  80. contree_mcp-0.1.0/docs/prompts/sync-and-run.md +109 -0
  81. contree_mcp-0.1.0/docs/quickstart.md +194 -0
  82. contree_mcp-0.1.0/docs/reference/glossary.md +55 -0
  83. contree_mcp-0.1.0/docs/reference/index.md +13 -0
  84. contree_mcp-0.1.0/docs/resources.md +161 -0
  85. contree_mcp-0.1.0/docs/security.md +15 -0
  86. contree_mcp-0.1.0/docs/tools/cancel_operation.md +39 -0
  87. contree_mcp-0.1.0/docs/tools/download.md +62 -0
  88. contree_mcp-0.1.0/docs/tools/get_guide.md +123 -0
  89. contree_mcp-0.1.0/docs/tools/get_image.md +44 -0
  90. contree_mcp-0.1.0/docs/tools/get_operation.md +68 -0
  91. contree_mcp-0.1.0/docs/tools/import_image.md +72 -0
  92. contree_mcp-0.1.0/docs/tools/index.md +100 -0
  93. contree_mcp-0.1.0/docs/tools/list_files.md +99 -0
  94. contree_mcp-0.1.0/docs/tools/list_images.md +76 -0
  95. contree_mcp-0.1.0/docs/tools/list_operations.md +52 -0
  96. contree_mcp-0.1.0/docs/tools/read_file.md +98 -0
  97. contree_mcp-0.1.0/docs/tools/registry_auth.md +66 -0
  98. contree_mcp-0.1.0/docs/tools/registry_token_obtain.md +65 -0
  99. contree_mcp-0.1.0/docs/tools/rsync.md +67 -0
  100. contree_mcp-0.1.0/docs/tools/run.md +69 -0
  101. contree_mcp-0.1.0/docs/tools/set_tag.md +62 -0
  102. contree_mcp-0.1.0/docs/tools/upload.md +78 -0
  103. contree_mcp-0.1.0/docs/tools/wait_operations.md +86 -0
  104. contree_mcp-0.1.0/llm.txt +274 -0
  105. contree_mcp-0.1.0/modd.conf +3 -0
  106. contree_mcp-0.1.0/pyproject.toml +86 -0
  107. contree_mcp-0.1.0/tests/__init__.py +1 -0
  108. contree_mcp-0.1.0/tests/auth/__init__.py +0 -0
  109. contree_mcp-0.1.0/tests/auth/test_registry.py +155 -0
  110. contree_mcp-0.1.0/tests/conftest.py +375 -0
  111. contree_mcp-0.1.0/tests/resources/__init__.py +7 -0
  112. contree_mcp-0.1.0/tests/resources/test_image_file.py +90 -0
  113. contree_mcp-0.1.0/tests/resources/test_image_lineage.py +196 -0
  114. contree_mcp-0.1.0/tests/resources/test_image_ls.py +138 -0
  115. contree_mcp-0.1.0/tests/resources/test_import_operation.py +173 -0
  116. contree_mcp-0.1.0/tests/resources/test_instance_operation.py +211 -0
  117. contree_mcp-0.1.0/tests/test_async_file_writer.py +469 -0
  118. contree_mcp-0.1.0/tests/test_client.py +1093 -0
  119. contree_mcp-0.1.0/tests/test_context.py +37 -0
  120. contree_mcp-0.1.0/tests/test_docs.py +1099 -0
  121. contree_mcp-0.1.0/tests/test_file_cache.py +674 -0
  122. contree_mcp-0.1.0/tests/test_general_cache.py +330 -0
  123. contree_mcp-0.1.0/tests/test_http_server.py +585 -0
  124. contree_mcp-0.1.0/tests/test_main.py +94 -0
  125. contree_mcp-0.1.0/tests/test_prompts.py +118 -0
  126. contree_mcp-0.1.0/tests/test_types.py +102 -0
  127. contree_mcp-0.1.0/tests/tools/__init__.py +7 -0
  128. contree_mcp-0.1.0/tests/tools/test_cancel_operation.py +31 -0
  129. contree_mcp-0.1.0/tests/tools/test_download.py +125 -0
  130. contree_mcp-0.1.0/tests/tools/test_get_guide.py +93 -0
  131. contree_mcp-0.1.0/tests/tools/test_get_image.py +58 -0
  132. contree_mcp-0.1.0/tests/tools/test_get_operation.py +154 -0
  133. contree_mcp-0.1.0/tests/tools/test_import_image.py +235 -0
  134. contree_mcp-0.1.0/tests/tools/test_list_images.py +71 -0
  135. contree_mcp-0.1.0/tests/tools/test_list_operations.py +36 -0
  136. contree_mcp-0.1.0/tests/tools/test_registry_auth.py +112 -0
  137. contree_mcp-0.1.0/tests/tools/test_registry_token_obtain.py +95 -0
  138. contree_mcp-0.1.0/tests/tools/test_rsync.py +100 -0
  139. contree_mcp-0.1.0/tests/tools/test_run_command.py +254 -0
  140. contree_mcp-0.1.0/tests/tools/test_set_tag.py +70 -0
  141. contree_mcp-0.1.0/tests/tools/test_upload.py +57 -0
  142. contree_mcp-0.1.0/tests/tools/test_wait_operations.py +370 -0
  143. contree_mcp-0.1.0/uv.lock +1971 -0
@@ -0,0 +1,69 @@
1
+ name: Bug Report
2
+ description: Report a bug or unexpected behavior in Contree MCP
3
+ title: "[Bug]: "
4
+ labels: ["bug", "triage"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Thanks for taking the time to report a bug! Please fill out the form below.
10
+
11
+ - type: textarea
12
+ id: description
13
+ attributes:
14
+ label: Bug Description
15
+ description: A clear and concise description of what the bug is, including what you expected to happen.
16
+ placeholder: Describe the bug...
17
+ validations:
18
+ required: true
19
+
20
+ - type: textarea
21
+ id: reproduction
22
+ attributes:
23
+ label: Steps to Reproduce
24
+ description: Steps to reproduce the behavior.
25
+ placeholder: |
26
+ 1. Configure MCP client with...
27
+ 2. Call tool '...' with args...
28
+ 3. See error...
29
+ validations:
30
+ required: true
31
+
32
+ - type: textarea
33
+ id: environment
34
+ attributes:
35
+ label: Environment
36
+ description: |
37
+ Please provide the output of these commands:
38
+ - `contree-mcp --version`
39
+ - `python --version`
40
+ - Your OS and version
41
+ placeholder: |
42
+ contree-mcp version: 0.1.0
43
+ Python version: 3.11.0
44
+ OS: macOS 14.0 / Ubuntu 22.04 / Windows 11
45
+ render: shell
46
+ validations:
47
+ required: true
48
+
49
+ - type: dropdown
50
+ id: mcp-client
51
+ attributes:
52
+ label: MCP Client
53
+ description: Which MCP client are you using?
54
+ options:
55
+ - Claude Desktop
56
+ - Claude Code
57
+ - Cursor
58
+ - Windsurf
59
+ - VS Code + MCP extension
60
+ - Other
61
+ validations:
62
+ required: true
63
+
64
+ - type: textarea
65
+ id: logs
66
+ attributes:
67
+ label: Logs
68
+ description: Please copy and paste any relevant error output or logs.
69
+ render: shell
@@ -0,0 +1,11 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Security Vulnerability
4
+ url: https://github.com/nebius/contree-mcp/security/advisories/new
5
+ about: Report security vulnerabilities privately through GitHub Security Advisories
6
+ - name: Documentation
7
+ url: https://nebius.github.io/contree-mcp/
8
+ about: Read the full documentation before opening an issue
9
+ - name: Nebius Support
10
+ url: https://nebius.ai/docs/support
11
+ about: For Nebius platform issues unrelated to Contree MCP
@@ -0,0 +1,23 @@
1
+ name: Documentation Issue
2
+ description: Report missing, incorrect, or unclear documentation
3
+ title: "[Docs]: "
4
+ labels: ["documentation"]
5
+ body:
6
+ - type: input
7
+ id: location
8
+ attributes:
9
+ label: Location
10
+ description: URL or file path (e.g., docs/tools/run.md)
11
+ placeholder: "https://... or docs/..."
12
+ validations:
13
+ required: true
14
+
15
+ - type: textarea
16
+ id: description
17
+ attributes:
18
+ label: What's wrong?
19
+ description: Describe the issue and suggest how to fix it.
20
+ placeholder: |
21
+ The documentation says X, but it should say Y...
22
+ validations:
23
+ required: true
@@ -0,0 +1,78 @@
1
+ name: Feature Request
2
+ description: Suggest a new feature or enhancement for Contree MCP
3
+ title: "[Feature]: "
4
+ labels: ["enhancement", "triage"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Thanks for suggesting a feature! Please describe your idea below.
10
+
11
+ - type: textarea
12
+ id: problem
13
+ attributes:
14
+ label: Problem Statement
15
+ description: What problem does this feature solve? What use case does it enable?
16
+ placeholder: I want to be able to...
17
+ validations:
18
+ required: true
19
+
20
+ - type: textarea
21
+ id: solution
22
+ attributes:
23
+ label: Proposed Solution
24
+ description: Describe your proposed solution or feature.
25
+ placeholder: Add a new tool that...
26
+ validations:
27
+ required: true
28
+
29
+ - type: dropdown
30
+ id: category
31
+ attributes:
32
+ label: Feature Category
33
+ description: What area of Contree MCP does this relate to?
34
+ options:
35
+ - New MCP Tool
36
+ - Existing Tool Enhancement
37
+ - Container Execution
38
+ - File Operations
39
+ - Image Management
40
+ - Registry Support
41
+ - MCP Server (stdio/http)
42
+ - Performance
43
+ - Developer Experience
44
+ - Documentation
45
+ - Other
46
+ validations:
47
+ required: true
48
+
49
+ - type: textarea
50
+ id: alternatives
51
+ attributes:
52
+ label: Alternatives Considered
53
+ description: Describe any alternative solutions or workarounds you've considered.
54
+
55
+ - type: textarea
56
+ id: example
57
+ attributes:
58
+ label: Example Usage
59
+ description: Show how the feature would be used (e.g., tool call JSON, CLI command).
60
+ render: json
61
+
62
+ - type: dropdown
63
+ id: importance
64
+ attributes:
65
+ label: Importance
66
+ description: How important is this feature to your workflow?
67
+ options:
68
+ - Nice to have
69
+ - Would improve my workflow
70
+ - Critical for my use case
71
+ validations:
72
+ required: true
73
+
74
+ - type: textarea
75
+ id: context
76
+ attributes:
77
+ label: Additional Context
78
+ description: Add any other context, screenshots, or examples about the feature request.
@@ -0,0 +1,110 @@
1
+ name: Documentation
2
+
3
+ on:
4
+ push:
5
+ branches: [master, main]
6
+ paths:
7
+ - 'docs/**'
8
+ - 'contree_mcp/**'
9
+ - '.github/workflows/docs.yml'
10
+ pull_request:
11
+ branches: [master, main]
12
+ paths:
13
+ - 'docs/**'
14
+ - 'contree_mcp/**'
15
+ - '.github/workflows/docs.yml'
16
+ workflow_dispatch:
17
+
18
+ env:
19
+ DEFAULT_PYTHON: "3.12"
20
+ FORCE_COLOR: "1"
21
+
22
+ jobs:
23
+ build:
24
+ name: Build Documentation
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - uses: actions/checkout@v5
28
+
29
+ - name: Install uv
30
+ uses: astral-sh/setup-uv@v5
31
+ with:
32
+ enable-cache: true
33
+
34
+ - name: Set up Python
35
+ run: uv python install ${{ env.DEFAULT_PYTHON }}
36
+
37
+ - name: Cache venv
38
+ id: cache-venv
39
+ uses: actions/cache@v5
40
+ with:
41
+ path: .venv
42
+ key: venv-docs-${{ runner.os }}-${{ env.DEFAULT_PYTHON }}-${{ hashFiles('uv.lock') }}
43
+
44
+ - name: Install dependencies
45
+ run: uv sync --group dev
46
+
47
+ - name: Build HTML documentation
48
+ run: |
49
+ cd docs
50
+ uv run sphinx-build -b html -W --keep-going . _build/html
51
+
52
+ - name: Upload documentation artifact
53
+ uses: actions/upload-artifact@v4
54
+ with:
55
+ name: documentation
56
+ path: docs/_build/html
57
+ retention-days: 7
58
+
59
+ linkcheck:
60
+ name: Check Links
61
+ runs-on: ubuntu-latest
62
+ continue-on-error: true
63
+ steps:
64
+ - uses: actions/checkout@v5
65
+
66
+ - name: Install uv
67
+ uses: astral-sh/setup-uv@v5
68
+ with:
69
+ enable-cache: true
70
+
71
+ - name: Set up Python
72
+ run: uv python install ${{ env.DEFAULT_PYTHON }}
73
+
74
+ - name: Cache venv
75
+ id: cache-venv
76
+ uses: actions/cache@v5
77
+ with:
78
+ path: .venv
79
+ key: venv-docs-${{ runner.os }}-${{ env.DEFAULT_PYTHON }}-${{ hashFiles('uv.lock') }}
80
+
81
+ - name: Install dependencies
82
+ run: uv sync --group dev
83
+
84
+ - name: Check external links
85
+ run: |
86
+ cd docs
87
+ uv run sphinx-build -b linkcheck . _build/linkcheck || true
88
+ cat _build/linkcheck/output.txt || true
89
+
90
+ deploy:
91
+ name: Deploy to S3
92
+ runs-on: ubuntu-latest
93
+ needs: build
94
+ if: github.event_name == 'push' && github.ref == 'refs/heads/master'
95
+ steps:
96
+ - name: Download documentation artifact
97
+ uses: actions/download-artifact@v4
98
+ with:
99
+ name: documentation
100
+ path: docs/_build/html
101
+
102
+ - name: Sync to S3
103
+ env:
104
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
105
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
106
+ AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
107
+ AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}
108
+ AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
109
+ run: |
110
+ aws s3 sync docs/_build/html "s3://${AWS_BUCKET}/mcp/" --delete
@@ -0,0 +1,103 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [master, main]
6
+ pull_request:
7
+ branches: [master, main]
8
+
9
+ env:
10
+ DEFAULT_PYTHON: "3.12"
11
+ FORCE_COLOR: "1"
12
+
13
+ jobs:
14
+ lint:
15
+ name: Lint
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v5
19
+
20
+ - name: Install uv
21
+ uses: astral-sh/setup-uv@v5
22
+ with:
23
+ enable-cache: true
24
+
25
+ - name: Set up Python
26
+ run: uv python install ${{ env.DEFAULT_PYTHON }}
27
+
28
+ - name: Cache venv
29
+ id: cache-venv
30
+ uses: actions/cache@v5
31
+ with:
32
+ path: .venv
33
+ key: venv-${{ github.job }}-${{ runner.os }}-${{ env.DEFAULT_PYTHON }}-${{ hashFiles('uv.lock') }}
34
+
35
+ - name: Install dependencies
36
+ run: uv sync --group dev
37
+
38
+ - name: Run ruff
39
+ run: uv run ruff check .
40
+
41
+ typecheck:
42
+ name: Type Check
43
+ runs-on: ubuntu-latest
44
+ steps:
45
+ - uses: actions/checkout@v5
46
+
47
+ - name: Install uv
48
+ uses: astral-sh/setup-uv@v5
49
+ with:
50
+ enable-cache: true
51
+
52
+ - name: Set up Python
53
+ run: uv python install ${{ env.DEFAULT_PYTHON }}
54
+
55
+ - name: Cache venv
56
+ id: cache-venv
57
+ uses: actions/cache@v5
58
+ with:
59
+ path: .venv
60
+ key: venv-${{ github.job }}-${{ runner.os }}-${{ env.DEFAULT_PYTHON }}-${{ hashFiles('uv.lock') }}
61
+
62
+ - name: Install dependencies
63
+ run: uv sync --group dev
64
+
65
+ - name: Run mypy
66
+ run: uv run mypy contree_mcp
67
+
68
+ test:
69
+ name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}
70
+ runs-on: ${{ matrix.os }}
71
+ strategy:
72
+ fail-fast: false
73
+ matrix:
74
+ os: [ubuntu-latest, macos-latest, windows-latest]
75
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
76
+ include:
77
+ - python-version: "3.14"
78
+ allow-failure: true
79
+
80
+ steps:
81
+ - uses: actions/checkout@v5
82
+
83
+ - name: Install uv
84
+ uses: astral-sh/setup-uv@v5
85
+ with:
86
+ enable-cache: true
87
+
88
+ - name: Set up Python ${{ matrix.python-version }}
89
+ run: uv python install ${{ matrix.python-version }}
90
+
91
+ - name: Cache venv
92
+ id: cache-venv
93
+ uses: actions/cache@v5
94
+ with:
95
+ path: .venv
96
+ key: venv-${{ github.job }}-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('uv.lock') }}
97
+
98
+ - name: Install dependencies
99
+ run: uv sync --group dev
100
+
101
+ - name: Run tests
102
+ run: uv run pytest -v --tb=short
103
+ continue-on-error: ${{ matrix.allow-failure || false }}
@@ -0,0 +1,9 @@
1
+ .*
2
+ !.github
3
+ !.gitignore
4
+ _build
5
+ __pycache__
6
+ *.pyc
7
+ *.egg-info
8
+ dist/
9
+ .secrets
@@ -0,0 +1,8 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
6
+ # Datasource local storage ignored files
7
+ /dataSources/
8
+ /dataSources.local.xml
@@ -0,0 +1,176 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS