yertle 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 (55) hide show
  1. yertle-0.1.0/.env.example +49 -0
  2. yertle-0.1.0/.github/workflows/ci.yml +22 -0
  3. yertle-0.1.0/.github/workflows/publish-yertle.yml +72 -0
  4. yertle-0.1.0/.gitignore +224 -0
  5. yertle-0.1.0/.pre-commit-config.yaml +7 -0
  6. yertle-0.1.0/LICENSE +21 -0
  7. yertle-0.1.0/Makefile +56 -0
  8. yertle-0.1.0/PKG-INFO +98 -0
  9. yertle-0.1.0/README.md +32 -0
  10. yertle-0.1.0/docs/mcp/OVERVIEW.md +308 -0
  11. yertle-0.1.0/docs/sdk/OVERVIEW.md +197 -0
  12. yertle-0.1.0/docs/sre/COMPOSITION.md +237 -0
  13. yertle-0.1.0/docs/sre/LANGGRAPH.md +457 -0
  14. yertle-0.1.0/docs/sre/MEMORY.md +289 -0
  15. yertle-0.1.0/docs/sre/SUBAGENTS.md +275 -0
  16. yertle-0.1.0/examples/basic_ask.py +14 -0
  17. yertle-0.1.0/examples/prompts.md +57 -0
  18. yertle-0.1.0/pyproject.toml +131 -0
  19. yertle-0.1.0/src/yertle/__init__.py +29 -0
  20. yertle-0.1.0/src/yertle/_client.py +49 -0
  21. yertle-0.1.0/src/yertle/cli/__init__.py +0 -0
  22. yertle-0.1.0/src/yertle/cli/main.py +118 -0
  23. yertle-0.1.0/src/yertle/mcp/__init__.py +13 -0
  24. yertle-0.1.0/src/yertle/mcp/server.py +66 -0
  25. yertle-0.1.0/src/yertle/orgs.py +49 -0
  26. yertle-0.1.0/src/yertle/shared/__init__.py +7 -0
  27. yertle-0.1.0/src/yertle/shared/auth.py +86 -0
  28. yertle-0.1.0/src/yertle/sre/__init__.py +33 -0
  29. yertle-0.1.0/src/yertle/sre/__main__.py +4 -0
  30. yertle-0.1.0/src/yertle/sre/agent.py +63 -0
  31. yertle-0.1.0/src/yertle/sre/cli/__init__.py +11 -0
  32. yertle-0.1.0/src/yertle/sre/cli/app.py +214 -0
  33. yertle-0.1.0/src/yertle/sre/cli/status.py +76 -0
  34. yertle-0.1.0/src/yertle/sre/config.py +48 -0
  35. yertle-0.1.0/src/yertle/sre/prompts.py +95 -0
  36. yertle-0.1.0/src/yertle/sre/py.typed +0 -0
  37. yertle-0.1.0/src/yertle/sre/tools/__init__.py +16 -0
  38. yertle-0.1.0/src/yertle/sre/tools/_shell.py +111 -0
  39. yertle-0.1.0/src/yertle/sre/tools/aws.py +59 -0
  40. yertle-0.1.0/src/yertle/sre/tools/gh.py +89 -0
  41. yertle-0.1.0/src/yertle/sre/tools/yertle.py +66 -0
  42. yertle-0.1.0/tests/__init__.py +0 -0
  43. yertle-0.1.0/tests/sre/__init__.py +0 -0
  44. yertle-0.1.0/tests/sre/conftest.py +48 -0
  45. yertle-0.1.0/tests/sre/test_cli.py +51 -0
  46. yertle-0.1.0/tests/sre/test_shell.py +45 -0
  47. yertle-0.1.0/tests/sre/test_status.py +117 -0
  48. yertle-0.1.0/tests/sre/test_tools_aws.py +92 -0
  49. yertle-0.1.0/tests/sre/test_tools_gh.py +89 -0
  50. yertle-0.1.0/tests/sre/test_tools_yertle.py +70 -0
  51. yertle-0.1.0/tests/test_auth.py +107 -0
  52. yertle-0.1.0/tests/test_orgs.py +58 -0
  53. yertle-0.1.0/tests/test_sdk.py +93 -0
  54. yertle-0.1.0/tests/test_smoke.py +7 -0
  55. yertle-0.1.0/uv.lock +2548 -0
@@ -0,0 +1,49 @@
1
+ # Copy to `.env` and fill in. `.env` and `.env.local` are gitignored.
2
+ #
3
+ # Most knobs are optional and only consumed by specific extras
4
+ # (CLI vs SRE agent). Sections are labeled below.
5
+
6
+ # ---------------------------------------------------------------------------
7
+ # CLI (`yertle …`) — yertle[cli]
8
+ # ---------------------------------------------------------------------------
9
+ # Either of these can also be persisted to ~/.yertle/config.json via
10
+ # `yertle login`. Env vars take precedence per-key.
11
+
12
+ # YERTLE_TOKEN=yrt_...
13
+ # YERTLE_API_URL=https://api.yertle.com
14
+
15
+ # ---------------------------------------------------------------------------
16
+ # SRE agent (`yertle-sre …`) — yertle[sre]
17
+ # ---------------------------------------------------------------------------
18
+ # Only ANTHROPIC_API_KEY is required to run the agent. Everything else has
19
+ # sensible defaults. The yertle / aws / gh CLIs the agent shells out to use
20
+ # their own auth (yertle login / aws configure / gh auth login).
21
+
22
+ # ANTHROPIC_API_KEY=
23
+
24
+ # Defaults shown; uncomment to override.
25
+ # YERTLE_SRE_MODEL=claude-sonnet-4-6
26
+ # YERTLE_SRE_TOOL_TIMEOUT=30
27
+ # YERTLE_SRE_MAX_TOOL_OUTPUT=10000
28
+ # YERTLE_SRE_MAX_ITERATIONS=25
29
+ # YERTLE_SRE_ALLOW_WRITES=false
30
+
31
+ # ---------------------------------------------------------------------------
32
+ # Optional — LangSmith tracing (off by default; SRE agent only)
33
+ # ---------------------------------------------------------------------------
34
+ # When LANGCHAIN_TRACING_V2 is set to "true", every LLM call, tool call, and
35
+ # graph step from this agent is sent to LangSmith — a third-party hosted
36
+ # service from LangChain — for inspection in their UI. Highly recommended
37
+ # during development; catches looping agents, wrong tool choices, and prompt
38
+ # regressions.
39
+ #
40
+ # PRIVACY: traces include the full message history — system prompt, tool
41
+ # results, AWS resource IDs, GitHub data, anything the agent reads. Fine for
42
+ # personal dev use. Do NOT enable in shared/CI/production contexts without
43
+ # understanding what gets sent.
44
+ #
45
+ # Sign up for a free dev account (5k traces/month) at https://smith.langchain.com.
46
+
47
+ # LANGCHAIN_TRACING_V2=true
48
+ # LANGCHAIN_API_KEY=
49
+ # LANGCHAIN_PROJECT=yertle-sre
@@ -0,0 +1,22 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ jobs:
9
+ check:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+
14
+ - uses: astral-sh/setup-uv@v3
15
+ with:
16
+ enable-cache: true
17
+
18
+ - run: uv python install 3.11
19
+
20
+ - run: make install
21
+
22
+ - run: make check
@@ -0,0 +1,72 @@
1
+ name: publish-yertle
2
+
3
+ # Publish the hand-written `yertle` SDK facade to PyPI on a version tag.
4
+ #
5
+ # Trigger convention: `yertle-v{VERSION}` (e.g. `yertle-v0.1.0`) — matches
6
+ # the yertle-client pattern in the sibling backend repo, decouples release
7
+ # cadences across the ecosystem.
8
+ #
9
+ # Auth: PyPI Trusted Publisher (OIDC). No secrets stored — GitHub Actions
10
+ # authenticates via its OIDC identity, PyPI recognizes it based on a
11
+ # pending publisher registered manually (owner=model-context, repo=yertle-python,
12
+ # workflow=publish-yertle.yml).
13
+ #
14
+ # Unlike yertle-client's workflow (in the backend repo), there's NO regen
15
+ # step here. yertle is hand-written; publishing is just uv build + uv publish
16
+ # via the pypa action. See docs/notes/features/yertle-python/PACKAGING.md
17
+ # in the backend repo for the full playbook + gotchas.
18
+
19
+ on:
20
+ push:
21
+ tags:
22
+ - 'yertle-v*'
23
+ workflow_dispatch:
24
+ inputs:
25
+ dry_run:
26
+ description: "Build wheel + sdist but skip PyPI upload"
27
+ required: false
28
+ default: 'false'
29
+
30
+ jobs:
31
+ build-and-publish:
32
+ runs-on: ubuntu-latest
33
+ timeout-minutes: 10
34
+ permissions:
35
+ # EXCLUSIVE not additive — declaring any permission drops all defaults.
36
+ # See PACKAGING.md "Gotchas" #1.
37
+ id-token: write # required for PyPI OIDC
38
+ contents: read # required for actions/checkout
39
+
40
+ steps:
41
+ - uses: actions/checkout@v4
42
+
43
+ - uses: astral-sh/setup-uv@v3
44
+ with:
45
+ enable-cache: true
46
+
47
+ - name: Verify tag version matches package version
48
+ # Tag `yertle-v0.1.0` must match `version = "0.1.0"` in pyproject.toml.
49
+ # Skipped for workflow_dispatch (untagged commits can dry-run).
50
+ if: startsWith(github.ref, 'refs/tags/')
51
+ run: |
52
+ TAG_VERSION="${GITHUB_REF_NAME#yertle-v}"
53
+ PKG_VERSION=$(uv run --python 3.12 --with tomli python -c "import tomli; print(tomli.load(open('pyproject.toml','rb'))['project']['version'])")
54
+ echo "Tag version: $TAG_VERSION"
55
+ echo "Package version: $PKG_VERSION"
56
+ if [ "$TAG_VERSION" != "$PKG_VERSION" ]; then
57
+ echo "::error::Tag version ($TAG_VERSION) does not match package version ($PKG_VERSION). Bump pyproject.toml before tagging."
58
+ exit 1
59
+ fi
60
+
61
+ - name: Build wheel + sdist
62
+ run: uv build
63
+
64
+ - name: Show built artifacts
65
+ run: ls -la dist/
66
+
67
+ - name: Publish to PyPI
68
+ # Skipped on workflow_dispatch when dry_run='true'.
69
+ if: >
70
+ github.event_name == 'push' ||
71
+ (github.event_name == 'workflow_dispatch' && github.event.inputs.dry_run != 'true')
72
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,224 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
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
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ # Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ # poetry.lock
109
+ # poetry.toml
110
+
111
+ # pdm
112
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
113
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
114
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
115
+ # pdm.lock
116
+ # pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # pixi
121
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
122
+ # pixi.lock
123
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
124
+ # in the .venv directory. It is recommended not to include this directory in version control.
125
+ .pixi
126
+
127
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
128
+ __pypackages__/
129
+
130
+ # Celery stuff
131
+ celerybeat-schedule
132
+ celerybeat.pid
133
+
134
+ # Redis
135
+ *.rdb
136
+ *.aof
137
+ *.pid
138
+
139
+ # RabbitMQ
140
+ mnesia/
141
+ rabbitmq/
142
+ rabbitmq-data/
143
+
144
+ # ActiveMQ
145
+ activemq-data/
146
+
147
+ # SageMath parsed files
148
+ *.sage.py
149
+
150
+ # Environments
151
+ .env
152
+ .envrc
153
+ .venv
154
+ env/
155
+ venv/
156
+ ENV/
157
+ env.bak/
158
+ venv.bak/
159
+
160
+ # Spyder project settings
161
+ .spyderproject
162
+ .spyproject
163
+
164
+ # Rope project settings
165
+ .ropeproject
166
+
167
+ # mkdocs documentation
168
+ /site
169
+
170
+ # mypy
171
+ .mypy_cache/
172
+ .dmypy.json
173
+ dmypy.json
174
+
175
+ # Pyre type checker
176
+ .pyre/
177
+
178
+ # pytype static type analyzer
179
+ .pytype/
180
+
181
+ # Cython debug symbols
182
+ cython_debug/
183
+
184
+ # PyCharm
185
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
186
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
187
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
188
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
189
+ # .idea/
190
+
191
+ # Abstra
192
+ # Abstra is an AI-powered process automation framework.
193
+ # Ignore directories containing user credentials, local state, and settings.
194
+ # Learn more at https://abstra.io/docs
195
+ .abstra/
196
+
197
+ # Visual Studio Code
198
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
199
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
200
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
201
+ # you could uncomment the following to ignore the entire vscode folder
202
+ # .vscode/
203
+ # Temporary file for partial code execution
204
+ tempCodeRunnerFile.py
205
+
206
+ # Ruff stuff:
207
+ .ruff_cache/
208
+
209
+ # PyPI configuration file
210
+ .pypirc
211
+
212
+ # Marimo
213
+ marimo/_static/
214
+ marimo/_lsp/
215
+ __marimo__/
216
+
217
+ # Streamlit
218
+ .streamlit/secrets.toml
219
+
220
+ # Pyright
221
+ .pyright/
222
+
223
+ # macOS
224
+ .DS_Store
@@ -0,0 +1,7 @@
1
+ repos:
2
+ - repo: https://github.com/astral-sh/ruff-pre-commit
3
+ rev: v0.6.9
4
+ hooks:
5
+ - id: ruff
6
+ args: [--fix]
7
+ - id: ruff-format
yertle-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 model-context
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
yertle-0.1.0/Makefile ADDED
@@ -0,0 +1,56 @@
1
+ .DEFAULT_GOAL := help
2
+
3
+ help: ## Show this help message
4
+ @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[32mmake %-12s\033[0m %s\n", $$1, $$2}'
5
+
6
+ install: ## Install project + all runtime extras + dev deps into a uv-managed venv
7
+ # All extras: pyright typechecks src/yertle/{sre,mcp}/ which import
8
+ # langchain / fastmcp. Without --extra sre --extra mcp, pyright can't
9
+ # resolve those imports and CI fails with `reportMissingImports`.
10
+ uv sync --extra cli --extra sre --extra mcp --extra dev
11
+
12
+ lint: ## Run ruff lint
13
+ uv run ruff check .
14
+
15
+ fix: ## Auto-fix ruff lint issues
16
+ uv run ruff check --fix .
17
+
18
+ format: ## Format all files with ruff
19
+ uv run ruff format .
20
+
21
+ format-check: ## Check formatting without modifying files
22
+ uv run ruff format --check .
23
+
24
+ typecheck: ## Run pyright in strict mode
25
+ uv run pyright
26
+
27
+ test: ## Run the test suite
28
+ uv run pytest
29
+
30
+ check: lint format-check typecheck test ## Run every check CI runs
31
+
32
+ # ---------------------------------------------------------------------------
33
+ # SRE agent passthroughs (require `uv sync --extra sre`)
34
+ # ---------------------------------------------------------------------------
35
+ ask: ## Ask the agent a one-shot question (usage: make ask Q="your question")
36
+ @if [ -z "$(strip $(Q))" ]; then \
37
+ echo 'Usage: make ask Q="your question"' >&2; \
38
+ echo ' (the Q= prefix is required — make treats unquoted args as targets)' >&2; \
39
+ exit 2; \
40
+ fi
41
+ @uv run yertle-sre ask "$(Q)"
42
+
43
+ repl: ## Start the interactive SRE REPL
44
+ uv run yertle-sre repl
45
+
46
+ status: ## Show auth/connection status for all underlying CLIs (SRE)
47
+ uv run yertle-sre status
48
+
49
+ precommit: ## Install pre-commit hooks
50
+ uv run pre-commit install
51
+
52
+ clean: ## Remove caches and build artifacts
53
+ rm -rf .ruff_cache .pytest_cache .pyright build dist *.egg-info
54
+ find . -type d -name __pycache__ -prune -exec rm -rf {} +
55
+
56
+ .PHONY: help install lint fix format format-check typecheck test check ask repl status precommit clean
yertle-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,98 @@
1
+ Metadata-Version: 2.5
2
+ Name: yertle
3
+ Version: 0.1.0
4
+ Summary: Python ecosystem for Yertle — CLI, SDK, and tooling for the Yertle architecture-graph platform.
5
+ Project-URL: Homepage, https://github.com/model-context/yertle-python
6
+ Project-URL: Repository, https://github.com/model-context/yertle-python
7
+ Project-URL: Issues, https://github.com/model-context/yertle-python/issues
8
+ Author: Yertle
9
+ License: MIT License
10
+
11
+ Copyright (c) 2026 model-context
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a copy
14
+ of this software and associated documentation files (the "Software"), to deal
15
+ in the Software without restriction, including without limitation the rights
16
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17
+ copies of the Software, and to permit persons to whom the Software is
18
+ furnished to do so, subject to the following conditions:
19
+
20
+ The above copyright notice and this permission notice shall be included in all
21
+ copies or substantial portions of the Software.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29
+ SOFTWARE.
30
+ License-File: LICENSE
31
+ Keywords: architecture,cli,graph,yertle
32
+ Classifier: Development Status :: 3 - Alpha
33
+ Classifier: Intended Audience :: Developers
34
+ Classifier: License :: OSI Approved :: MIT License
35
+ Classifier: Operating System :: MacOS
36
+ Classifier: Operating System :: POSIX :: Linux
37
+ Classifier: Programming Language :: Python :: 3
38
+ Classifier: Programming Language :: Python :: 3.11
39
+ Classifier: Programming Language :: Python :: 3.12
40
+ Classifier: Programming Language :: Python :: 3.13
41
+ Requires-Python: >=3.11
42
+ Requires-Dist: yertle-client>=0.1.0
43
+ Provides-Extra: cli
44
+ Requires-Dist: rich>=13.7; extra == 'cli'
45
+ Requires-Dist: typer>=0.12; extra == 'cli'
46
+ Provides-Extra: dev
47
+ Requires-Dist: pre-commit>=3.7; extra == 'dev'
48
+ Requires-Dist: pyright>=1.1.380; extra == 'dev'
49
+ Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
50
+ Requires-Dist: pytest>=8.0; extra == 'dev'
51
+ Requires-Dist: ruff>=0.6; extra == 'dev'
52
+ Provides-Extra: mcp
53
+ Requires-Dist: fastmcp>=2.0; extra == 'mcp'
54
+ Requires-Dist: httpx>=0.27; extra == 'mcp'
55
+ Provides-Extra: sre
56
+ Requires-Dist: langchain-anthropic>=0.3.0; extra == 'sre'
57
+ Requires-Dist: langchain-core>=0.3.0; extra == 'sre'
58
+ Requires-Dist: langchain>=1.0; extra == 'sre'
59
+ Requires-Dist: langgraph>=1.0; extra == 'sre'
60
+ Requires-Dist: pydantic-settings>=2.4; extra == 'sre'
61
+ Requires-Dist: pydantic>=2.7; extra == 'sre'
62
+ Requires-Dist: python-dotenv>=1.0; extra == 'sre'
63
+ Requires-Dist: rich>=13.7; extra == 'sre'
64
+ Requires-Dist: typer>=0.12; extra == 'sre'
65
+ Description-Content-Type: text/markdown
66
+
67
+ # yertle-python
68
+
69
+ Python ecosystem for [Yertle](https://yertle.com) — CLI, SDK, and tooling for
70
+ working with Yertle architecture graphs from Python.
71
+
72
+ > **Status:** under construction. Initial scaffolding only.
73
+
74
+ ## Planned shape
75
+
76
+ A single PyPI package `yertle` with extras for different consumers:
77
+
78
+ ```bash
79
+ pip install yertle # SDK only (planned)
80
+ pip install yertle[cli] # + `yertle` command
81
+ pip install yertle[sre] # + `yertle-sre` agent (planned)
82
+ pip install yertle[mcp] # + `yertle-mcp` MCP server (planned)
83
+ ```
84
+
85
+ ## Development
86
+
87
+ Requires [`uv`](https://docs.astral.sh/uv/) and Python 3.11+.
88
+
89
+ ```bash
90
+ make install # uv sync --extra cli --extra dev
91
+ make check # lint + format-check + typecheck + test
92
+ ```
93
+
94
+ See `make help` for the full target list.
95
+
96
+ ## License
97
+
98
+ MIT. See [LICENSE](./LICENSE).
yertle-0.1.0/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # yertle-python
2
+
3
+ Python ecosystem for [Yertle](https://yertle.com) — CLI, SDK, and tooling for
4
+ working with Yertle architecture graphs from Python.
5
+
6
+ > **Status:** under construction. Initial scaffolding only.
7
+
8
+ ## Planned shape
9
+
10
+ A single PyPI package `yertle` with extras for different consumers:
11
+
12
+ ```bash
13
+ pip install yertle # SDK only (planned)
14
+ pip install yertle[cli] # + `yertle` command
15
+ pip install yertle[sre] # + `yertle-sre` agent (planned)
16
+ pip install yertle[mcp] # + `yertle-mcp` MCP server (planned)
17
+ ```
18
+
19
+ ## Development
20
+
21
+ Requires [`uv`](https://docs.astral.sh/uv/) and Python 3.11+.
22
+
23
+ ```bash
24
+ make install # uv sync --extra cli --extra dev
25
+ make check # lint + format-check + typecheck + test
26
+ ```
27
+
28
+ See `make help` for the full target list.
29
+
30
+ ## License
31
+
32
+ MIT. See [LICENSE](./LICENSE).