mcp-server-git 0.2.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.
@@ -0,0 +1,2 @@
1
+ __pycache__
2
+ .venv
@@ -0,0 +1 @@
1
+ 3.10
@@ -0,0 +1,7 @@
1
+ Copyright (c) 2024 Anthropic, PBC.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,123 @@
1
+ Metadata-Version: 2.3
2
+ Name: mcp-server-git
3
+ Version: 0.2.0
4
+ Summary: A Model Context Protocol server providing tools to read, search, and manipulate Git repositories programmatically via LLMs
5
+ Author: Anthropic, PBC.
6
+ Maintainer-email: David Soria Parra <davidsp@anthropic.com>
7
+ License: MIT
8
+ Keywords: automation,git,llm,mcp
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Requires-Python: >=3.10
15
+ Requires-Dist: click>=8.1.7
16
+ Requires-Dist: gitpython>=3.1.43
17
+ Requires-Dist: mcp>=0.6.0
18
+ Requires-Dist: pydantic>=2.0.0
19
+ Description-Content-Type: text/markdown
20
+
21
+ # mcp-git: A git MCP server
22
+
23
+ A Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.
24
+
25
+ Please note that mcp-git is currently in early development. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.
26
+
27
+ ## Available Tools
28
+
29
+ The current list of tools includes:
30
+
31
+ - `git_read_file`: Read contents of a file at a specific Git reference
32
+ - `git_list_files`: List all files in a repository or subdirectory
33
+ - `git_file_history`: Get commit history for a specific file
34
+ - `git_commit`: Create Git commits with messages and specified files
35
+ - `git_search_code`: Search repository content with pattern matching
36
+ - `git_get_diff`: View diffs between Git references
37
+ - `git_get_repo_structure`: View repository file structure
38
+ - `git_list_repos`: List available Git repositories
39
+ - `git_log`: Retrieve commit log for the repository
40
+ - `git_list_branches`: List all branches in the repository
41
+ - `git_list_tags`: List all tags in the repository
42
+
43
+ This list is expected to grow as we add more functionality to the server. We welcome contributions from the community to expand and enhance the available tools.
44
+
45
+ ## Installation
46
+
47
+ ### Using uv (recommended)
48
+
49
+ When using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed. We will
50
+ use [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *mcp-git*.
51
+
52
+ ### Using PIP
53
+
54
+ Alternatively you can install `mcp-git` via pip:
55
+
56
+ ```
57
+ pip install mcp-git
58
+ ```
59
+
60
+ After installation, you can run it as a script using:
61
+
62
+ ```
63
+ python -m mcp_git
64
+ ```
65
+
66
+ ## Configuration
67
+ ### Configure for Claude.app
68
+
69
+ Add to your Claude settings:
70
+
71
+ ```json
72
+ "mcpServers": {
73
+ "mcp-git": {
74
+ "command": "uvx",
75
+ "args": ["mcp-git", "--repository", "path/to/git/repo"]
76
+ }
77
+ }
78
+ ```
79
+
80
+ Alternatively, if using pip installation:
81
+
82
+ ```json
83
+ "mcpServers": {
84
+ "mcp-git": {
85
+ "command": "python",
86
+ "args": ["-m", "mcp_git", "--repository", "path/to/git/repo"]
87
+ }
88
+ }
89
+ ```
90
+
91
+ ### Configure for Zed
92
+
93
+ Add to your Zed settings.json:
94
+
95
+ ```json
96
+ "context_servers": [
97
+ "mcp-git": {
98
+ "command": "uvx",
99
+ "args": ["mcp-git"]
100
+ }
101
+ ],
102
+ ```
103
+
104
+ Alternatively, if using pip installation:
105
+
106
+ ```json
107
+ "context_servers": {
108
+ "mcp-git": {
109
+ "command": "python",
110
+ "args": ["-m", "mcp-git"]
111
+ }
112
+ },
113
+ ```
114
+
115
+
116
+ ## Contributing
117
+
118
+ We encourage contributions to help expand and improve mcp-git. Whether you want to add new tools, enhance existing functionality, or improve documentation, your input is valuable.
119
+
120
+ For examples of other MCP servers and implementation patterns, see:
121
+ https://github.com/modelcontextprotocol/servers
122
+
123
+ Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make mcp-git even more powerful and useful.
@@ -0,0 +1,103 @@
1
+ # mcp-git: A git MCP server
2
+
3
+ A Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.
4
+
5
+ Please note that mcp-git is currently in early development. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.
6
+
7
+ ## Available Tools
8
+
9
+ The current list of tools includes:
10
+
11
+ - `git_read_file`: Read contents of a file at a specific Git reference
12
+ - `git_list_files`: List all files in a repository or subdirectory
13
+ - `git_file_history`: Get commit history for a specific file
14
+ - `git_commit`: Create Git commits with messages and specified files
15
+ - `git_search_code`: Search repository content with pattern matching
16
+ - `git_get_diff`: View diffs between Git references
17
+ - `git_get_repo_structure`: View repository file structure
18
+ - `git_list_repos`: List available Git repositories
19
+ - `git_log`: Retrieve commit log for the repository
20
+ - `git_list_branches`: List all branches in the repository
21
+ - `git_list_tags`: List all tags in the repository
22
+
23
+ This list is expected to grow as we add more functionality to the server. We welcome contributions from the community to expand and enhance the available tools.
24
+
25
+ ## Installation
26
+
27
+ ### Using uv (recommended)
28
+
29
+ When using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed. We will
30
+ use [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *mcp-git*.
31
+
32
+ ### Using PIP
33
+
34
+ Alternatively you can install `mcp-git` via pip:
35
+
36
+ ```
37
+ pip install mcp-git
38
+ ```
39
+
40
+ After installation, you can run it as a script using:
41
+
42
+ ```
43
+ python -m mcp_git
44
+ ```
45
+
46
+ ## Configuration
47
+ ### Configure for Claude.app
48
+
49
+ Add to your Claude settings:
50
+
51
+ ```json
52
+ "mcpServers": {
53
+ "mcp-git": {
54
+ "command": "uvx",
55
+ "args": ["mcp-git", "--repository", "path/to/git/repo"]
56
+ }
57
+ }
58
+ ```
59
+
60
+ Alternatively, if using pip installation:
61
+
62
+ ```json
63
+ "mcpServers": {
64
+ "mcp-git": {
65
+ "command": "python",
66
+ "args": ["-m", "mcp_git", "--repository", "path/to/git/repo"]
67
+ }
68
+ }
69
+ ```
70
+
71
+ ### Configure for Zed
72
+
73
+ Add to your Zed settings.json:
74
+
75
+ ```json
76
+ "context_servers": [
77
+ "mcp-git": {
78
+ "command": "uvx",
79
+ "args": ["mcp-git"]
80
+ }
81
+ ],
82
+ ```
83
+
84
+ Alternatively, if using pip installation:
85
+
86
+ ```json
87
+ "context_servers": {
88
+ "mcp-git": {
89
+ "command": "python",
90
+ "args": ["-m", "mcp-git"]
91
+ }
92
+ },
93
+ ```
94
+
95
+
96
+ ## Contributing
97
+
98
+ We encourage contributions to help expand and improve mcp-git. Whether you want to add new tools, enhance existing functionality, or improve documentation, your input is valuable.
99
+
100
+ For examples of other MCP servers and implementation patterns, see:
101
+ https://github.com/modelcontextprotocol/servers
102
+
103
+ Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make mcp-git even more powerful and useful.
@@ -0,0 +1,36 @@
1
+ [project]
2
+ name = "mcp-server-git"
3
+ version = "0.2.0"
4
+ description = "A Model Context Protocol server providing tools to read, search, and manipulate Git repositories programmatically via LLMs"
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ authors = [{ name = "Anthropic, PBC." }]
8
+ maintainers = [{ name = "David Soria Parra", email = "davidsp@anthropic.com" }]
9
+ keywords = ["git", "mcp", "llm", "automation"]
10
+ license = { text = "MIT" }
11
+ classifiers = [
12
+ "Development Status :: 4 - Beta",
13
+ "Intended Audience :: Developers",
14
+ "License :: OSI Approved :: MIT License",
15
+ "Programming Language :: Python :: 3",
16
+ "Programming Language :: Python :: 3.10",
17
+ ]
18
+ dependencies = [
19
+ "click>=8.1.7",
20
+ "gitpython>=3.1.43",
21
+ "mcp>=0.6.0",
22
+ "pydantic>=2.0.0",
23
+ ]
24
+
25
+ [project.scripts]
26
+ mcp-server-git = "mcp_server_git:main"
27
+
28
+ [build-system]
29
+ requires = ["hatchling"]
30
+ build-backend = "hatchling.build"
31
+
32
+ [tool.uv]
33
+ dev-dependencies = [
34
+ "pyright>=1.1.389",
35
+ "ruff>=0.7.3",
36
+ ]
@@ -0,0 +1,500 @@
1
+ import logging
2
+ import json
3
+ import sys
4
+ import click
5
+ import anyio
6
+ import anyio.lowlevel
7
+ from pathlib import Path
8
+ from git.types import Sequence
9
+ from mcp.server import Server
10
+ from mcp.server.session import ServerSession
11
+ from mcp.server.stdio import stdio_server
12
+ from mcp.types import (
13
+ ClientCapabilities,
14
+ TextContent,
15
+ Tool,
16
+ EmbeddedResource,
17
+ ImageContent,
18
+ ListRootsResult,
19
+ RootsCapability,
20
+ )
21
+ from enum import Enum
22
+ import git
23
+ from git.objects import Blob, Tree
24
+
25
+ from pydantic import BaseModel, Field
26
+ from typing import List, Optional
27
+
28
+
29
+ class ReadFileInput(BaseModel):
30
+ repo_path: str
31
+ file_path: str
32
+ ref: str = "HEAD"
33
+
34
+
35
+ class ListFilesInput(BaseModel):
36
+ repo_path: str
37
+ path: str = ""
38
+ ref: str = "HEAD"
39
+
40
+
41
+ class FileHistoryInput(BaseModel):
42
+ repo_path: str
43
+ file_path: str
44
+ max_entries: int = 10
45
+
46
+
47
+ class CommitInput(BaseModel):
48
+ repo_path: str
49
+ message: str
50
+ files: Optional[List[str]] = Field(
51
+ None,
52
+ description="List of files to stage and commit. If omitted, all changes will be staged.",
53
+ )
54
+
55
+
56
+ class SearchCodeInput(BaseModel):
57
+ repo_path: str
58
+ query: str
59
+ file_pattern: str = "*"
60
+ ref: str = "HEAD"
61
+
62
+
63
+ class GetDiffInput(BaseModel):
64
+ repo_path: str
65
+ ref1: str
66
+ ref2: str
67
+ file_path: Optional[str] = None
68
+
69
+
70
+ class GetRepoStructureInput(BaseModel):
71
+ repo_path: str
72
+ ref: str = "HEAD"
73
+
74
+
75
+ class ListReposInput(BaseModel):
76
+ pass
77
+
78
+
79
+ class GitLogInput(BaseModel):
80
+ repo_path: str
81
+ max_count: int = 10
82
+ ref: str = "HEAD"
83
+
84
+
85
+ class ListBranchesInput(BaseModel):
86
+ repo_path: str
87
+
88
+
89
+ class ListTagsInput(BaseModel):
90
+ repo_path: str
91
+
92
+
93
+ class GitTools(str, Enum):
94
+ READ_FILE = "git_read_file"
95
+ LIST_FILES = "git_list_files"
96
+ FILE_HISTORY = "git_file_history"
97
+ COMMIT = "git_commit"
98
+ SEARCH_CODE = "git_search_code"
99
+ GET_DIFF = "git_get_diff"
100
+ GET_REPO_STRUCTURE = "git_get_repo_structure"
101
+ LIST_REPOS = "git_list_repos"
102
+ GIT_LOG = "git_log"
103
+ LIST_BRANCHES = "git_list_branches"
104
+ LIST_TAGS = "git_list_tags"
105
+
106
+
107
+ def git_read_file(repo: git.Repo, file_path: str, ref: str = "HEAD") -> str:
108
+ tree = repo.commit(ref).tree
109
+ blob = tree / file_path
110
+ try:
111
+ return blob.data_stream.read().decode("utf-8", errors="replace")
112
+ except UnicodeDecodeError:
113
+ # If it's a binary file, return a message indicating that
114
+ return "[Binary file content not shown]"
115
+
116
+
117
+ def git_list_files(repo: git.Repo, path: str = "", ref: str = "HEAD") -> Sequence[str]:
118
+ tree = repo.commit(ref).tree
119
+ if path:
120
+ tree = tree / path
121
+ # Use traverse() and isinstance() to get only blobs (files) recursively
122
+ return [str(o.path) for o in tree.traverse() if isinstance(o, Blob)]
123
+
124
+
125
+ def git_file_history(
126
+ repo: git.Repo, file_path: str, max_entries: int = 10
127
+ ) -> Sequence[str]:
128
+ commits = list(repo.iter_commits(paths=file_path, max_count=max_entries))
129
+ history = []
130
+ for commit in commits:
131
+ history.append(
132
+ f"Commit: {commit.hexsha}\n"
133
+ f"Author: {commit.author}\n"
134
+ f"Date: {commit.authored_datetime}\n"
135
+ f"Message: {commit.message}\n"
136
+ )
137
+ return history
138
+
139
+
140
+ def git_commit(repo: git.Repo, message: str, files: list[str] | None = None) -> str:
141
+ if files is not None:
142
+ repo.index.add(files)
143
+ else:
144
+ repo.index.add("*") # Stage all changes
145
+ commit = repo.index.commit(message)
146
+ return f"Changes committed successfully with hash {commit.hexsha}"
147
+
148
+
149
+ def git_search_code(
150
+ repo: git.Repo, query: str, file_pattern: str = "*", ref: str = "HEAD"
151
+ ) -> list[str]:
152
+ results = []
153
+ tree = repo.commit(ref).tree
154
+ for blob in tree.traverse():
155
+ if isinstance(blob, Blob) and Path(blob.path).match(file_pattern):
156
+ try:
157
+ content = blob.data_stream.read().decode("utf-8", errors="replace")
158
+ for i, line in enumerate(content.splitlines()):
159
+ if query in line:
160
+ results.append(f"{blob.path}:{i+1}: {line}")
161
+ except UnicodeDecodeError:
162
+ # Skip binary files
163
+ continue
164
+ return results
165
+
166
+
167
+ def git_get_diff(
168
+ repo: git.Repo, ref1: str, ref2: str, file_path: str | None = None
169
+ ) -> str:
170
+ if file_path:
171
+ return repo.git.diff(ref1, ref2, "--", file_path)
172
+ return repo.git.diff(ref1, ref2)
173
+
174
+
175
+ def git_get_repo_structure(repo: git.Repo, ref: str = "HEAD") -> str:
176
+ tree = repo.commit(ref).tree
177
+
178
+ def build_tree(tree_obj: Tree) -> dict:
179
+ result = {}
180
+ for item in tree_obj:
181
+ if isinstance(item, Tree):
182
+ result[item.name] = build_tree(item)
183
+ else:
184
+ result[item.name] = item.type
185
+ return result
186
+
187
+ structure = build_tree(tree)
188
+ return str(structure)
189
+
190
+
191
+ def git_log(repo: git.Repo, max_count: int = 10, ref: str = "HEAD") -> list[str]:
192
+ commits = list(repo.iter_commits(ref, max_count=max_count))
193
+ log = []
194
+ for commit in commits:
195
+ log.append(
196
+ f"Commit: {commit.hexsha}\n"
197
+ f"Author: {commit.author}\n"
198
+ f"Date: {commit.authored_datetime}\n"
199
+ f"Message: {commit.message}\n"
200
+ )
201
+ return log
202
+
203
+
204
+ def git_list_branches(repo: git.Repo) -> list[str]:
205
+ return [str(branch) for branch in repo.branches]
206
+
207
+
208
+ def git_list_tags(repo: git.Repo) -> list[str]:
209
+ return [str(tag) for tag in repo.tags]
210
+
211
+
212
+ async def serve(repository: Path | None) -> None:
213
+ # Set up logging
214
+ logger = logging.getLogger(__name__)
215
+
216
+ if repository is not None:
217
+ try:
218
+ git.Repo(repository)
219
+ logger.info(f"Using repository at {repository}")
220
+ except git.InvalidGitRepositoryError:
221
+ logger.error(f"{repository} is not a valid Git repository")
222
+ return
223
+
224
+ # Create server
225
+ server = Server("mcp-git")
226
+
227
+ @server.list_tools()
228
+ async def list_tools() -> list[Tool]:
229
+ return [
230
+ Tool(
231
+ name=GitTools.READ_FILE,
232
+ description="Retrieves and returns the content of a specified file from "
233
+ "a Git repository at a given reference (commit, branch, or tag). This "
234
+ "allows you to view file contents at any point in the repository's "
235
+ "history.",
236
+ inputSchema=ReadFileInput.schema(),
237
+ ),
238
+ Tool(
239
+ name=GitTools.LIST_FILES,
240
+ description="Enumerates all files in a Git repository or a specific "
241
+ "directory within the repository. This tool can be used to explore the "
242
+ "file structure of a project at a particular reference.",
243
+ inputSchema=ListFilesInput.schema(),
244
+ ),
245
+ Tool(
246
+ name=GitTools.FILE_HISTORY,
247
+ description="Retrieves the commit history for a specific file, showing "
248
+ "how it has changed over time. This includes commit hashes, authors, "
249
+ "dates, and commit messages, allowing you to track the evolution of a "
250
+ "file.",
251
+ inputSchema=FileHistoryInput.schema(),
252
+ ),
253
+ Tool(
254
+ name=GitTools.COMMIT,
255
+ description="Commits changes to the repository. You can "
256
+ "specify particular files to commit or commit all staged changes. This "
257
+ "tool allows you to create new snapshots of your project with "
258
+ "descriptive commit messages.",
259
+ inputSchema=CommitInput.schema(),
260
+ ),
261
+ Tool(
262
+ name=GitTools.SEARCH_CODE,
263
+ description="Searches for specific patterns or text across all files in "
264
+ "the repository. This powerful tool allows you to find occurrences of "
265
+ "code, comments, or any text within your project, optionally filtering "
266
+ "by file patterns and at a specific reference.",
267
+ inputSchema=SearchCodeInput.schema(),
268
+ ),
269
+ Tool(
270
+ name=GitTools.GET_DIFF,
271
+ description="Computes and displays the differences between two Git "
272
+ "references (commits, branches, or tags). This tool is crucial for "
273
+ "understanding changes between different versions of your codebase, "
274
+ "optionally focusing on a specific file.",
275
+ inputSchema=GetDiffInput.schema(),
276
+ ),
277
+ Tool(
278
+ name=GitTools.GET_REPO_STRUCTURE,
279
+ description="Generates a representation of the repository's file and "
280
+ "directory structure at a given reference. This provides a high-level "
281
+ "overview of your project's organization, helping you understand the "
282
+ "layout of your codebase.",
283
+ inputSchema=GetRepoStructureInput.schema(),
284
+ ),
285
+ Tool(
286
+ name=GitTools.LIST_REPOS,
287
+ description="Enumerates all available Git repositories from the "
288
+ "specified roots. This tool helps you manage and navigate multiple "
289
+ "repositories, providing a comprehensive list of Git projects "
290
+ "accessible to the current session.",
291
+ inputSchema=ListReposInput.schema(),
292
+ ),
293
+ Tool(
294
+ name=GitTools.GIT_LOG,
295
+ description="Retrieves the commit log for the repository, showing the "
296
+ "history of commits including commit hashes, authors, dates, and "
297
+ "commit messages. This tool provides an overview of the project's "
298
+ "development history.",
299
+ inputSchema=GitLogInput.schema(),
300
+ ),
301
+ Tool(
302
+ name=GitTools.LIST_BRANCHES,
303
+ description="Lists all branches in the Git repository. This tool "
304
+ "provides an overview of the different lines of development in the "
305
+ "project.",
306
+ inputSchema=ListBranchesInput.schema(),
307
+ ),
308
+ Tool(
309
+ name=GitTools.LIST_TAGS,
310
+ description="Lists all tags in the Git repository. This tool "
311
+ "provides an overview of the tagged versions or releases in the "
312
+ "project.",
313
+ inputSchema=ListTagsInput.schema(),
314
+ ),
315
+ ]
316
+
317
+ async def list_repos() -> Sequence[str]:
318
+ async def by_roots() -> Sequence[str]:
319
+ if not isinstance(server.request_context.session, ServerSession):
320
+ raise TypeError(
321
+ "server.request_context.session must be a ServerSession"
322
+ )
323
+
324
+ if not server.request_context.session.check_client_capability(
325
+ ClientCapabilities(roots=RootsCapability())
326
+ ):
327
+ return []
328
+
329
+ roots_result: ListRootsResult = (
330
+ await server.request_context.session.list_roots()
331
+ )
332
+ logger.debug(f"Roots result: {roots_result}")
333
+ repo_paths = []
334
+ for root in roots_result.roots:
335
+ path = root.uri.path
336
+ try:
337
+ # Verify this is a git repo
338
+ git.Repo(path)
339
+ repo_paths.append(str(path))
340
+ except git.InvalidGitRepositoryError:
341
+ pass
342
+ return repo_paths
343
+
344
+ def by_commandline() -> Sequence[str]:
345
+ return [str(repository)] if repository is not None else []
346
+
347
+ cmd_repos = by_commandline()
348
+ root_repos = await by_roots()
349
+ return [*root_repos, *cmd_repos]
350
+
351
+ @server.call_tool()
352
+ async def call_tool(
353
+ name: str, arguments: dict
354
+ ) -> list[TextContent | ImageContent | EmbeddedResource]:
355
+ if name == GitTools.LIST_REPOS:
356
+ result = await list_repos()
357
+ logging.debug(f"repos={result}")
358
+ return [
359
+ TextContent(
360
+ type="text",
361
+ text=f"Here is some JSON that contains a list of git repositories: {json.dumps(result)}",
362
+ )
363
+ ]
364
+
365
+ repo_path = Path(arguments["repo_path"])
366
+ repo = git.Repo(repo_path)
367
+
368
+ match name:
369
+ case GitTools.READ_FILE:
370
+ content = git_read_file(
371
+ repo, arguments["file_path"], arguments.get("ref", "HEAD")
372
+ )
373
+ return [
374
+ TextContent(
375
+ type="text",
376
+ text=f"Here is some JSON that contains the contents of a file: {json.dumps({'content': content})}",
377
+ )
378
+ ]
379
+
380
+ case GitTools.LIST_FILES:
381
+ files = git_list_files(
382
+ repo, arguments.get("path", ""), arguments.get("ref", "HEAD")
383
+ )
384
+ return [
385
+ TextContent(
386
+ type="text",
387
+ text=f"Here is some JSON that contains a list of files: {json.dumps({'files': list(files)})}",
388
+ )
389
+ ]
390
+
391
+ case GitTools.FILE_HISTORY:
392
+ history = git_file_history(
393
+ repo, arguments["file_path"], arguments.get("max_entries", 10)
394
+ )
395
+ return [
396
+ TextContent(
397
+ type="text",
398
+ text=f"Here is some JSON that contains a file's history: {json.dumps({'history': list(history)})}",
399
+ )
400
+ ]
401
+
402
+ case GitTools.COMMIT:
403
+ result = git_commit(repo, arguments["message"], arguments.get("files"))
404
+ return [
405
+ TextContent(
406
+ type="text",
407
+ text=f"Here is some JSON that contains the commit result: {json.dumps({'result': result})}",
408
+ )
409
+ ]
410
+
411
+ case GitTools.SEARCH_CODE:
412
+ results = git_search_code(
413
+ repo,
414
+ arguments["query"],
415
+ arguments.get("file_pattern", "*"),
416
+ arguments.get("ref", "HEAD"),
417
+ )
418
+ return [
419
+ TextContent(
420
+ type="text",
421
+ text=f"Here is some JSON that contains code search matches: {json.dumps({'matches': results})}",
422
+ )
423
+ ]
424
+
425
+ case GitTools.GET_DIFF:
426
+ diff = git_get_diff(
427
+ repo,
428
+ arguments["ref1"],
429
+ arguments["ref2"],
430
+ arguments.get("file_path"),
431
+ )
432
+ return [
433
+ TextContent(
434
+ type="text",
435
+ text=f"Here is some JSON that contains a diff: {json.dumps({'diff': diff})}",
436
+ )
437
+ ]
438
+
439
+ case GitTools.GET_REPO_STRUCTURE:
440
+ structure = git_get_repo_structure(repo, arguments.get("ref", "HEAD"))
441
+ return [
442
+ TextContent(
443
+ type="text",
444
+ text=f"Here is some JSON that contains the repository structure: {json.dumps({'structure': structure})}",
445
+ )
446
+ ]
447
+
448
+ case GitTools.GIT_LOG:
449
+ log = git_log(
450
+ repo, arguments.get("max_count", 10), arguments.get("ref", "HEAD")
451
+ )
452
+ return [
453
+ TextContent(
454
+ type="text",
455
+ text=f"Here is some JSON that contains the git log: {json.dumps({'log': log})}",
456
+ )
457
+ ]
458
+
459
+ case GitTools.LIST_BRANCHES:
460
+ branches = git_list_branches(repo)
461
+ return [
462
+ TextContent(
463
+ type="text",
464
+ text=f"Here is some JSON that contains a list of branches: {json.dumps({'branches': branches})}",
465
+ )
466
+ ]
467
+
468
+ case GitTools.LIST_TAGS:
469
+ tags = git_list_tags(repo)
470
+ return [
471
+ TextContent(
472
+ type="text",
473
+ text=f"Here is some JSON that contains a list of tags: {json.dumps({'tags': tags})}",
474
+ )
475
+ ]
476
+
477
+ case _:
478
+ raise ValueError(f"Unknown tool: {name}")
479
+
480
+ # Run the server
481
+ options = server.create_initialization_options()
482
+ async with stdio_server() as (read_stream, write_stream):
483
+ await server.run(read_stream, write_stream, options, raise_exceptions=True)
484
+
485
+
486
+ @click.command()
487
+ @click.option("-r", "--repository", type=click.Path(path_type=Path, dir_okay=True))
488
+ @click.option("-v", "--verbose", count=True)
489
+ def main(repository: Path | None, verbose: int):
490
+ logging_level = logging.WARN
491
+ if verbose == 1:
492
+ logging_level = logging.INFO
493
+ elif verbose >= 2:
494
+ logging_level = logging.DEBUG
495
+ logging.basicConfig(level=logging_level, stream=sys.stderr)
496
+ anyio.run(serve, repository)
497
+
498
+
499
+ if __name__ == "__main__":
500
+ main()
@@ -0,0 +1,5 @@
1
+ # __main__.py
2
+
3
+ from mcp_server_git import main
4
+
5
+ main()
@@ -0,0 +1,392 @@
1
+ version = 1
2
+ requires-python = ">=3.10"
3
+ resolution-markers = [
4
+ "python_full_version < '3.13'",
5
+ "python_full_version >= '3.13'",
6
+ ]
7
+
8
+ [[package]]
9
+ name = "annotated-types"
10
+ version = "0.7.0"
11
+ source = { registry = "https://pypi.org/simple" }
12
+ sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081 }
13
+ wheels = [
14
+ { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643 },
15
+ ]
16
+
17
+ [[package]]
18
+ name = "anyio"
19
+ version = "4.6.2.post1"
20
+ source = { registry = "https://pypi.org/simple" }
21
+ dependencies = [
22
+ { name = "exceptiongroup", marker = "python_full_version < '3.11'" },
23
+ { name = "idna" },
24
+ { name = "sniffio" },
25
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
26
+ ]
27
+ sdist = { url = "https://files.pythonhosted.org/packages/9f/09/45b9b7a6d4e45c6bcb5bf61d19e3ab87df68e0601fa8c5293de3542546cc/anyio-4.6.2.post1.tar.gz", hash = "sha256:4c8bc31ccdb51c7f7bd251f51c609e038d63e34219b44aa86e47576389880b4c", size = 173422 }
28
+ wheels = [
29
+ { url = "https://files.pythonhosted.org/packages/e4/f5/f2b75d2fc6f1a260f340f0e7c6a060f4dd2961cc16884ed851b0d18da06a/anyio-4.6.2.post1-py3-none-any.whl", hash = "sha256:6d170c36fba3bdd840c73d3868c1e777e33676a69c3a72cf0a0d5d6d8009b61d", size = 90377 },
30
+ ]
31
+
32
+ [[package]]
33
+ name = "certifi"
34
+ version = "2024.8.30"
35
+ source = { registry = "https://pypi.org/simple" }
36
+ sdist = { url = "https://files.pythonhosted.org/packages/b0/ee/9b19140fe824b367c04c5e1b369942dd754c4c5462d5674002f75c4dedc1/certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9", size = 168507 }
37
+ wheels = [
38
+ { url = "https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8", size = 167321 },
39
+ ]
40
+
41
+ [[package]]
42
+ name = "click"
43
+ version = "8.1.7"
44
+ source = { registry = "https://pypi.org/simple" }
45
+ dependencies = [
46
+ { name = "colorama", marker = "platform_system == 'Windows'" },
47
+ ]
48
+ sdist = { url = "https://files.pythonhosted.org/packages/96/d3/f04c7bfcf5c1862a2a5b845c6b2b360488cf47af55dfa79c98f6a6bf98b5/click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de", size = 336121 }
49
+ wheels = [
50
+ { url = "https://files.pythonhosted.org/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28", size = 97941 },
51
+ ]
52
+
53
+ [[package]]
54
+ name = "colorama"
55
+ version = "0.4.6"
56
+ source = { registry = "https://pypi.org/simple" }
57
+ sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697 }
58
+ wheels = [
59
+ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 },
60
+ ]
61
+
62
+ [[package]]
63
+ name = "exceptiongroup"
64
+ version = "1.2.2"
65
+ source = { registry = "https://pypi.org/simple" }
66
+ sdist = { url = "https://files.pythonhosted.org/packages/09/35/2495c4ac46b980e4ca1f6ad6db102322ef3ad2410b79fdde159a4b0f3b92/exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc", size = 28883 }
67
+ wheels = [
68
+ { url = "https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b", size = 16453 },
69
+ ]
70
+
71
+ [[package]]
72
+ name = "gitdb"
73
+ version = "4.0.11"
74
+ source = { registry = "https://pypi.org/simple" }
75
+ dependencies = [
76
+ { name = "smmap" },
77
+ ]
78
+ sdist = { url = "https://files.pythonhosted.org/packages/19/0d/bbb5b5ee188dec84647a4664f3e11b06ade2bde568dbd489d9d64adef8ed/gitdb-4.0.11.tar.gz", hash = "sha256:bf5421126136d6d0af55bc1e7c1af1c397a34f5b7bd79e776cd3e89785c2b04b", size = 394469 }
79
+ wheels = [
80
+ { url = "https://files.pythonhosted.org/packages/fd/5b/8f0c4a5bb9fd491c277c21eff7ccae71b47d43c4446c9d0c6cff2fe8c2c4/gitdb-4.0.11-py3-none-any.whl", hash = "sha256:81a3407ddd2ee8df444cbacea00e2d038e40150acfa3001696fe0dcf1d3adfa4", size = 62721 },
81
+ ]
82
+
83
+ [[package]]
84
+ name = "gitpython"
85
+ version = "3.1.43"
86
+ source = { registry = "https://pypi.org/simple" }
87
+ dependencies = [
88
+ { name = "gitdb" },
89
+ ]
90
+ sdist = { url = "https://files.pythonhosted.org/packages/b6/a1/106fd9fa2dd989b6fb36e5893961f82992cf676381707253e0bf93eb1662/GitPython-3.1.43.tar.gz", hash = "sha256:35f314a9f878467f5453cc1fee295c3e18e52f1b99f10f6cf5b1682e968a9e7c", size = 214149 }
91
+ wheels = [
92
+ { url = "https://files.pythonhosted.org/packages/e9/bd/cc3a402a6439c15c3d4294333e13042b915bbeab54edc457c723931fed3f/GitPython-3.1.43-py3-none-any.whl", hash = "sha256:eec7ec56b92aad751f9912a73404bc02ba212a23adb2c7098ee668417051a1ff", size = 207337 },
93
+ ]
94
+
95
+ [[package]]
96
+ name = "h11"
97
+ version = "0.14.0"
98
+ source = { registry = "https://pypi.org/simple" }
99
+ sdist = { url = "https://files.pythonhosted.org/packages/f5/38/3af3d3633a34a3316095b39c8e8fb4853a28a536e55d347bd8d8e9a14b03/h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d", size = 100418 }
100
+ wheels = [
101
+ { url = "https://files.pythonhosted.org/packages/95/04/ff642e65ad6b90db43e668d70ffb6736436c7ce41fcc549f4e9472234127/h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761", size = 58259 },
102
+ ]
103
+
104
+ [[package]]
105
+ name = "httpcore"
106
+ version = "1.0.7"
107
+ source = { registry = "https://pypi.org/simple" }
108
+ dependencies = [
109
+ { name = "certifi" },
110
+ { name = "h11" },
111
+ ]
112
+ sdist = { url = "https://files.pythonhosted.org/packages/6a/41/d7d0a89eb493922c37d343b607bc1b5da7f5be7e383740b4753ad8943e90/httpcore-1.0.7.tar.gz", hash = "sha256:8551cb62a169ec7162ac7be8d4817d561f60e08eaa485234898414bb5a8a0b4c", size = 85196 }
113
+ wheels = [
114
+ { url = "https://files.pythonhosted.org/packages/87/f5/72347bc88306acb359581ac4d52f23c0ef445b57157adedb9aee0cd689d2/httpcore-1.0.7-py3-none-any.whl", hash = "sha256:a3fff8f43dc260d5bd363d9f9cf1830fa3a458b332856f34282de498ed420edd", size = 78551 },
115
+ ]
116
+
117
+ [[package]]
118
+ name = "httpx"
119
+ version = "0.27.2"
120
+ source = { registry = "https://pypi.org/simple" }
121
+ dependencies = [
122
+ { name = "anyio" },
123
+ { name = "certifi" },
124
+ { name = "httpcore" },
125
+ { name = "idna" },
126
+ { name = "sniffio" },
127
+ ]
128
+ sdist = { url = "https://files.pythonhosted.org/packages/78/82/08f8c936781f67d9e6b9eeb8a0c8b4e406136ea4c3d1f89a5db71d42e0e6/httpx-0.27.2.tar.gz", hash = "sha256:f7c2be1d2f3c3c3160d441802406b206c2b76f5947b11115e6df10c6c65e66c2", size = 144189 }
129
+ wheels = [
130
+ { url = "https://files.pythonhosted.org/packages/56/95/9377bcb415797e44274b51d46e3249eba641711cf3348050f76ee7b15ffc/httpx-0.27.2-py3-none-any.whl", hash = "sha256:7bb2708e112d8fdd7829cd4243970f0c223274051cb35ee80c03301ee29a3df0", size = 76395 },
131
+ ]
132
+
133
+ [[package]]
134
+ name = "httpx-sse"
135
+ version = "0.4.0"
136
+ source = { registry = "https://pypi.org/simple" }
137
+ sdist = { url = "https://files.pythonhosted.org/packages/4c/60/8f4281fa9bbf3c8034fd54c0e7412e66edbab6bc74c4996bd616f8d0406e/httpx-sse-0.4.0.tar.gz", hash = "sha256:1e81a3a3070ce322add1d3529ed42eb5f70817f45ed6ec915ab753f961139721", size = 12624 }
138
+ wheels = [
139
+ { url = "https://files.pythonhosted.org/packages/e1/9b/a181f281f65d776426002f330c31849b86b31fc9d848db62e16f03ff739f/httpx_sse-0.4.0-py3-none-any.whl", hash = "sha256:f329af6eae57eaa2bdfd962b42524764af68075ea87370a2de920af5341e318f", size = 7819 },
140
+ ]
141
+
142
+ [[package]]
143
+ name = "idna"
144
+ version = "3.10"
145
+ source = { registry = "https://pypi.org/simple" }
146
+ sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490 }
147
+ wheels = [
148
+ { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442 },
149
+ ]
150
+
151
+ [[package]]
152
+ name = "mcp"
153
+ version = "0.9.1"
154
+ source = { registry = "https://pypi.org/simple" }
155
+ dependencies = [
156
+ { name = "anyio" },
157
+ { name = "httpx" },
158
+ { name = "httpx-sse" },
159
+ { name = "pydantic" },
160
+ { name = "sse-starlette" },
161
+ { name = "starlette" },
162
+ ]
163
+ sdist = { url = "https://files.pythonhosted.org/packages/e7/1c/932818470ffd49c33509110c835101a8dc4c9cdd06028b9f647fb3dde237/mcp-0.9.1.tar.gz", hash = "sha256:e8509a37c2ab546095788ed170e0fb4d7ce0cf5a3ee56b6449c78af27321a425", size = 78218 }
164
+ wheels = [
165
+ { url = "https://files.pythonhosted.org/packages/b3/a0/2ee813d456b57a726d583868417d1ad900fbe12ee3c8cd866e3e804ca486/mcp-0.9.1-py3-none-any.whl", hash = "sha256:7f640fcfb0be486aa510594df309920ae1d375cdca1f8aff21db3a96d837f303", size = 31562 },
166
+ ]
167
+
168
+ [[package]]
169
+ name = "mcp-server-git"
170
+ version = "0.2.0"
171
+ source = { editable = "." }
172
+ dependencies = [
173
+ { name = "click" },
174
+ { name = "gitpython" },
175
+ { name = "mcp" },
176
+ { name = "pydantic" },
177
+ ]
178
+
179
+ [package.dev-dependencies]
180
+ dev = [
181
+ { name = "pyright" },
182
+ { name = "ruff" },
183
+ ]
184
+
185
+ [package.metadata]
186
+ requires-dist = [
187
+ { name = "click", specifier = ">=8.1.7" },
188
+ { name = "gitpython", specifier = ">=3.1.43" },
189
+ { name = "mcp", specifier = ">=0.6.0" },
190
+ { name = "pydantic", specifier = ">=2.0.0" },
191
+ ]
192
+
193
+ [package.metadata.requires-dev]
194
+ dev = [
195
+ { name = "pyright", specifier = ">=1.1.389" },
196
+ { name = "ruff", specifier = ">=0.7.3" },
197
+ ]
198
+
199
+ [[package]]
200
+ name = "nodeenv"
201
+ version = "1.9.1"
202
+ source = { registry = "https://pypi.org/simple" }
203
+ sdist = { url = "https://files.pythonhosted.org/packages/43/16/fc88b08840de0e0a72a2f9d8c6bae36be573e475a6326ae854bcc549fc45/nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", size = 47437 }
204
+ wheels = [
205
+ { url = "https://files.pythonhosted.org/packages/d2/1d/1b658dbd2b9fa9c4c9f32accbfc0205d532c8c6194dc0f2a4c0428e7128a/nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9", size = 22314 },
206
+ ]
207
+
208
+ [[package]]
209
+ name = "pydantic"
210
+ version = "2.9.2"
211
+ source = { registry = "https://pypi.org/simple" }
212
+ dependencies = [
213
+ { name = "annotated-types" },
214
+ { name = "pydantic-core" },
215
+ { name = "typing-extensions" },
216
+ ]
217
+ sdist = { url = "https://files.pythonhosted.org/packages/a9/b7/d9e3f12af310e1120c21603644a1cd86f59060e040ec5c3a80b8f05fae30/pydantic-2.9.2.tar.gz", hash = "sha256:d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f", size = 769917 }
218
+ wheels = [
219
+ { url = "https://files.pythonhosted.org/packages/df/e4/ba44652d562cbf0bf320e0f3810206149c8a4e99cdbf66da82e97ab53a15/pydantic-2.9.2-py3-none-any.whl", hash = "sha256:f048cec7b26778210e28a0459867920654d48e5e62db0958433636cde4254f12", size = 434928 },
220
+ ]
221
+
222
+ [[package]]
223
+ name = "pydantic-core"
224
+ version = "2.23.4"
225
+ source = { registry = "https://pypi.org/simple" }
226
+ dependencies = [
227
+ { name = "typing-extensions" },
228
+ ]
229
+ sdist = { url = "https://files.pythonhosted.org/packages/e2/aa/6b6a9b9f8537b872f552ddd46dd3da230367754b6f707b8e1e963f515ea3/pydantic_core-2.23.4.tar.gz", hash = "sha256:2584f7cf844ac4d970fba483a717dbe10c1c1c96a969bf65d61ffe94df1b2863", size = 402156 }
230
+ wheels = [
231
+ { url = "https://files.pythonhosted.org/packages/5c/8b/d3ae387f66277bd8104096d6ec0a145f4baa2966ebb2cad746c0920c9526/pydantic_core-2.23.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:b10bd51f823d891193d4717448fab065733958bdb6a6b351967bd349d48d5c9b", size = 1867835 },
232
+ { url = "https://files.pythonhosted.org/packages/46/76/f68272e4c3a7df8777798282c5e47d508274917f29992d84e1898f8908c7/pydantic_core-2.23.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4fc714bdbfb534f94034efaa6eadd74e5b93c8fa6315565a222f7b6f42ca1166", size = 1776689 },
233
+ { url = "https://files.pythonhosted.org/packages/cc/69/5f945b4416f42ea3f3bc9d2aaec66c76084a6ff4ff27555bf9415ab43189/pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63e46b3169866bd62849936de036f901a9356e36376079b05efa83caeaa02ceb", size = 1800748 },
234
+ { url = "https://files.pythonhosted.org/packages/50/ab/891a7b0054bcc297fb02d44d05c50e68154e31788f2d9d41d0b72c89fdf7/pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed1a53de42fbe34853ba90513cea21673481cd81ed1be739f7f2efb931b24916", size = 1806469 },
235
+ { url = "https://files.pythonhosted.org/packages/31/7c/6e3fa122075d78f277a8431c4c608f061881b76c2b7faca01d317ee39b5d/pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cfdd16ab5e59fc31b5e906d1a3f666571abc367598e3e02c83403acabc092e07", size = 2002246 },
236
+ { url = "https://files.pythonhosted.org/packages/ad/6f/22d5692b7ab63fc4acbc74de6ff61d185804a83160adba5e6cc6068e1128/pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:255a8ef062cbf6674450e668482456abac99a5583bbafb73f9ad469540a3a232", size = 2659404 },
237
+ { url = "https://files.pythonhosted.org/packages/11/ac/1e647dc1121c028b691028fa61a4e7477e6aeb5132628fde41dd34c1671f/pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a7cd62e831afe623fbb7aabbb4fe583212115b3ef38a9f6b71869ba644624a2", size = 2053940 },
238
+ { url = "https://files.pythonhosted.org/packages/91/75/984740c17f12c3ce18b5a2fcc4bdceb785cce7df1511a4ce89bca17c7e2d/pydantic_core-2.23.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f09e2ff1f17c2b51f2bc76d1cc33da96298f0a036a137f5440ab3ec5360b624f", size = 1921437 },
239
+ { url = "https://files.pythonhosted.org/packages/a0/74/13c5f606b64d93f0721e7768cd3e8b2102164866c207b8cd6f90bb15d24f/pydantic_core-2.23.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e38e63e6f3d1cec5a27e0afe90a085af8b6806ee208b33030e65b6516353f1a3", size = 1966129 },
240
+ { url = "https://files.pythonhosted.org/packages/18/03/9c4aa5919457c7b57a016c1ab513b1a926ed9b2bb7915bf8e506bf65c34b/pydantic_core-2.23.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:0dbd8dbed2085ed23b5c04afa29d8fd2771674223135dc9bc937f3c09284d071", size = 2110908 },
241
+ { url = "https://files.pythonhosted.org/packages/92/2c/053d33f029c5dc65e5cf44ff03ceeefb7cce908f8f3cca9265e7f9b540c8/pydantic_core-2.23.4-cp310-none-win32.whl", hash = "sha256:6531b7ca5f951d663c339002e91aaebda765ec7d61b7d1e3991051906ddde119", size = 1735278 },
242
+ { url = "https://files.pythonhosted.org/packages/de/81/7dfe464eca78d76d31dd661b04b5f2036ec72ea8848dd87ab7375e185c23/pydantic_core-2.23.4-cp310-none-win_amd64.whl", hash = "sha256:7c9129eb40958b3d4500fa2467e6a83356b3b61bfff1b414c7361d9220f9ae8f", size = 1917453 },
243
+ { url = "https://files.pythonhosted.org/packages/5d/30/890a583cd3f2be27ecf32b479d5d615710bb926d92da03e3f7838ff3e58b/pydantic_core-2.23.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:77733e3892bb0a7fa797826361ce8a9184d25c8dffaec60b7ffe928153680ba8", size = 1865160 },
244
+ { url = "https://files.pythonhosted.org/packages/1d/9a/b634442e1253bc6889c87afe8bb59447f106ee042140bd57680b3b113ec7/pydantic_core-2.23.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1b84d168f6c48fabd1f2027a3d1bdfe62f92cade1fb273a5d68e621da0e44e6d", size = 1776777 },
245
+ { url = "https://files.pythonhosted.org/packages/75/9a/7816295124a6b08c24c96f9ce73085032d8bcbaf7e5a781cd41aa910c891/pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:df49e7a0861a8c36d089c1ed57d308623d60416dab2647a4a17fe050ba85de0e", size = 1799244 },
246
+ { url = "https://files.pythonhosted.org/packages/a9/8f/89c1405176903e567c5f99ec53387449e62f1121894aa9fc2c4fdc51a59b/pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ff02b6d461a6de369f07ec15e465a88895f3223eb75073ffea56b84d9331f607", size = 1805307 },
247
+ { url = "https://files.pythonhosted.org/packages/d5/a5/1a194447d0da1ef492e3470680c66048fef56fc1f1a25cafbea4bc1d1c48/pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:996a38a83508c54c78a5f41456b0103c30508fed9abcad0a59b876d7398f25fd", size = 2000663 },
248
+ { url = "https://files.pythonhosted.org/packages/13/a5/1df8541651de4455e7d587cf556201b4f7997191e110bca3b589218745a5/pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d97683ddee4723ae8c95d1eddac7c192e8c552da0c73a925a89fa8649bf13eea", size = 2655941 },
249
+ { url = "https://files.pythonhosted.org/packages/44/31/a3899b5ce02c4316865e390107f145089876dff7e1dfc770a231d836aed8/pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:216f9b2d7713eb98cb83c80b9c794de1f6b7e3145eef40400c62e86cee5f4e1e", size = 2052105 },
250
+ { url = "https://files.pythonhosted.org/packages/1b/aa/98e190f8745d5ec831f6d5449344c48c0627ac5fed4e5340a44b74878f8e/pydantic_core-2.23.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6f783e0ec4803c787bcea93e13e9932edab72068f68ecffdf86a99fd5918878b", size = 1919967 },
251
+ { url = "https://files.pythonhosted.org/packages/ae/35/b6e00b6abb2acfee3e8f85558c02a0822e9a8b2f2d812ea8b9079b118ba0/pydantic_core-2.23.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d0776dea117cf5272382634bd2a5c1b6eb16767c223c6a5317cd3e2a757c61a0", size = 1964291 },
252
+ { url = "https://files.pythonhosted.org/packages/13/46/7bee6d32b69191cd649bbbd2361af79c472d72cb29bb2024f0b6e350ba06/pydantic_core-2.23.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d5f7a395a8cf1621939692dba2a6b6a830efa6b3cee787d82c7de1ad2930de64", size = 2109666 },
253
+ { url = "https://files.pythonhosted.org/packages/39/ef/7b34f1b122a81b68ed0a7d0e564da9ccdc9a2924c8d6c6b5b11fa3a56970/pydantic_core-2.23.4-cp311-none-win32.whl", hash = "sha256:74b9127ffea03643e998e0c5ad9bd3811d3dac8c676e47db17b0ee7c3c3bf35f", size = 1732940 },
254
+ { url = "https://files.pythonhosted.org/packages/2f/76/37b7e76c645843ff46c1d73e046207311ef298d3f7b2f7d8f6ac60113071/pydantic_core-2.23.4-cp311-none-win_amd64.whl", hash = "sha256:98d134c954828488b153d88ba1f34e14259284f256180ce659e8d83e9c05eaa3", size = 1916804 },
255
+ { url = "https://files.pythonhosted.org/packages/74/7b/8e315f80666194b354966ec84b7d567da77ad927ed6323db4006cf915f3f/pydantic_core-2.23.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f3e0da4ebaef65158d4dfd7d3678aad692f7666877df0002b8a522cdf088f231", size = 1856459 },
256
+ { url = "https://files.pythonhosted.org/packages/14/de/866bdce10ed808323d437612aca1ec9971b981e1c52e5e42ad9b8e17a6f6/pydantic_core-2.23.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f69a8e0b033b747bb3e36a44e7732f0c99f7edd5cea723d45bc0d6e95377ffee", size = 1770007 },
257
+ { url = "https://files.pythonhosted.org/packages/dc/69/8edd5c3cd48bb833a3f7ef9b81d7666ccddd3c9a635225214e044b6e8281/pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:723314c1d51722ab28bfcd5240d858512ffd3116449c557a1336cbe3919beb87", size = 1790245 },
258
+ { url = "https://files.pythonhosted.org/packages/80/33/9c24334e3af796ce80d2274940aae38dd4e5676298b4398eff103a79e02d/pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bb2802e667b7051a1bebbfe93684841cc9351004e2badbd6411bf357ab8d5ac8", size = 1801260 },
259
+ { url = "https://files.pythonhosted.org/packages/a5/6f/e9567fd90104b79b101ca9d120219644d3314962caa7948dd8b965e9f83e/pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d18ca8148bebe1b0a382a27a8ee60350091a6ddaf475fa05ef50dc35b5df6327", size = 1996872 },
260
+ { url = "https://files.pythonhosted.org/packages/2d/ad/b5f0fe9e6cfee915dd144edbd10b6e9c9c9c9d7a56b69256d124b8ac682e/pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:33e3d65a85a2a4a0dc3b092b938a4062b1a05f3a9abde65ea93b233bca0e03f2", size = 2661617 },
261
+ { url = "https://files.pythonhosted.org/packages/06/c8/7d4b708f8d05a5cbfda3243aad468052c6e99de7d0937c9146c24d9f12e9/pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:128585782e5bfa515c590ccee4b727fb76925dd04a98864182b22e89a4e6ed36", size = 2071831 },
262
+ { url = "https://files.pythonhosted.org/packages/89/4d/3079d00c47f22c9a9a8220db088b309ad6e600a73d7a69473e3a8e5e3ea3/pydantic_core-2.23.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:68665f4c17edcceecc112dfed5dbe6f92261fb9d6054b47d01bf6371a6196126", size = 1917453 },
263
+ { url = "https://files.pythonhosted.org/packages/e9/88/9df5b7ce880a4703fcc2d76c8c2d8eb9f861f79d0c56f4b8f5f2607ccec8/pydantic_core-2.23.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:20152074317d9bed6b7a95ade3b7d6054845d70584216160860425f4fbd5ee9e", size = 1968793 },
264
+ { url = "https://files.pythonhosted.org/packages/e3/b9/41f7efe80f6ce2ed3ee3c2dcfe10ab7adc1172f778cc9659509a79518c43/pydantic_core-2.23.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:9261d3ce84fa1d38ed649c3638feefeae23d32ba9182963e465d58d62203bd24", size = 2116872 },
265
+ { url = "https://files.pythonhosted.org/packages/63/08/b59b7a92e03dd25554b0436554bf23e7c29abae7cce4b1c459cd92746811/pydantic_core-2.23.4-cp312-none-win32.whl", hash = "sha256:4ba762ed58e8d68657fc1281e9bb72e1c3e79cc5d464be146e260c541ec12d84", size = 1738535 },
266
+ { url = "https://files.pythonhosted.org/packages/88/8d/479293e4d39ab409747926eec4329de5b7129beaedc3786eca070605d07f/pydantic_core-2.23.4-cp312-none-win_amd64.whl", hash = "sha256:97df63000f4fea395b2824da80e169731088656d1818a11b95f3b173747b6cd9", size = 1917992 },
267
+ { url = "https://files.pythonhosted.org/packages/ad/ef/16ee2df472bf0e419b6bc68c05bf0145c49247a1095e85cee1463c6a44a1/pydantic_core-2.23.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:7530e201d10d7d14abce4fb54cfe5b94a0aefc87da539d0346a484ead376c3cc", size = 1856143 },
268
+ { url = "https://files.pythonhosted.org/packages/da/fa/bc3dbb83605669a34a93308e297ab22be82dfb9dcf88c6cf4b4f264e0a42/pydantic_core-2.23.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:df933278128ea1cd77772673c73954e53a1c95a4fdf41eef97c2b779271bd0bd", size = 1770063 },
269
+ { url = "https://files.pythonhosted.org/packages/4e/48/e813f3bbd257a712303ebdf55c8dc46f9589ec74b384c9f652597df3288d/pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cb3da3fd1b6a5d0279a01877713dbda118a2a4fc6f0d821a57da2e464793f05", size = 1790013 },
270
+ { url = "https://files.pythonhosted.org/packages/b4/e0/56eda3a37929a1d297fcab1966db8c339023bcca0b64c5a84896db3fcc5c/pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:42c6dcb030aefb668a2b7009c85b27f90e51e6a3b4d5c9bc4c57631292015b0d", size = 1801077 },
271
+ { url = "https://files.pythonhosted.org/packages/04/be/5e49376769bfbf82486da6c5c1683b891809365c20d7c7e52792ce4c71f3/pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:696dd8d674d6ce621ab9d45b205df149399e4bb9aa34102c970b721554828510", size = 1996782 },
272
+ { url = "https://files.pythonhosted.org/packages/bc/24/e3ee6c04f1d58cc15f37bcc62f32c7478ff55142b7b3e6d42ea374ea427c/pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2971bb5ffe72cc0f555c13e19b23c85b654dd2a8f7ab493c262071377bfce9f6", size = 2661375 },
273
+ { url = "https://files.pythonhosted.org/packages/c1/f8/11a9006de4e89d016b8de74ebb1db727dc100608bb1e6bbe9d56a3cbbcce/pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8394d940e5d400d04cad4f75c0598665cbb81aecefaca82ca85bd28264af7f9b", size = 2071635 },
274
+ { url = "https://files.pythonhosted.org/packages/7c/45/bdce5779b59f468bdf262a5bc9eecbae87f271c51aef628d8c073b4b4b4c/pydantic_core-2.23.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0dff76e0602ca7d4cdaacc1ac4c005e0ce0dcfe095d5b5259163a80d3a10d327", size = 1916994 },
275
+ { url = "https://files.pythonhosted.org/packages/d8/fa/c648308fe711ee1f88192cad6026ab4f925396d1293e8356de7e55be89b5/pydantic_core-2.23.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:7d32706badfe136888bdea71c0def994644e09fff0bfe47441deaed8e96fdbc6", size = 1968877 },
276
+ { url = "https://files.pythonhosted.org/packages/16/16/b805c74b35607d24d37103007f899abc4880923b04929547ae68d478b7f4/pydantic_core-2.23.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:ed541d70698978a20eb63d8c5d72f2cc6d7079d9d90f6b50bad07826f1320f5f", size = 2116814 },
277
+ { url = "https://files.pythonhosted.org/packages/d1/58/5305e723d9fcdf1c5a655e6a4cc2a07128bf644ff4b1d98daf7a9dbf57da/pydantic_core-2.23.4-cp313-none-win32.whl", hash = "sha256:3d5639516376dce1940ea36edf408c554475369f5da2abd45d44621cb616f769", size = 1738360 },
278
+ { url = "https://files.pythonhosted.org/packages/a5/ae/e14b0ff8b3f48e02394d8acd911376b7b66e164535687ef7dc24ea03072f/pydantic_core-2.23.4-cp313-none-win_amd64.whl", hash = "sha256:5a1504ad17ba4210df3a045132a7baeeba5a200e930f57512ee02909fc5c4cb5", size = 1919411 },
279
+ { url = "https://files.pythonhosted.org/packages/13/a9/5d582eb3204464284611f636b55c0a7410d748ff338756323cb1ce721b96/pydantic_core-2.23.4-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:f455ee30a9d61d3e1a15abd5068827773d6e4dc513e795f380cdd59932c782d5", size = 1857135 },
280
+ { url = "https://files.pythonhosted.org/packages/2c/57/faf36290933fe16717f97829eabfb1868182ac495f99cf0eda9f59687c9d/pydantic_core-2.23.4-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:1e90d2e3bd2c3863d48525d297cd143fe541be8bbf6f579504b9712cb6b643ec", size = 1740583 },
281
+ { url = "https://files.pythonhosted.org/packages/91/7c/d99e3513dc191c4fec363aef1bf4c8af9125d8fa53af7cb97e8babef4e40/pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e203fdf807ac7e12ab59ca2bfcabb38c7cf0b33c41efeb00f8e5da1d86af480", size = 1793637 },
282
+ { url = "https://files.pythonhosted.org/packages/29/18/812222b6d18c2d13eebbb0f7cdc170a408d9ced65794fdb86147c77e1982/pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e08277a400de01bc72436a0ccd02bdf596631411f592ad985dcee21445bd0068", size = 1941963 },
283
+ { url = "https://files.pythonhosted.org/packages/0f/36/c1f3642ac3f05e6bb4aec3ffc399fa3f84895d259cf5f0ce3054b7735c29/pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f220b0eea5965dec25480b6333c788fb72ce5f9129e8759ef876a1d805d00801", size = 1915332 },
284
+ { url = "https://files.pythonhosted.org/packages/f7/ca/9c0854829311fb446020ebb540ee22509731abad886d2859c855dd29b904/pydantic_core-2.23.4-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:d06b0c8da4f16d1d1e352134427cb194a0a6e19ad5db9161bf32b2113409e728", size = 1957926 },
285
+ { url = "https://files.pythonhosted.org/packages/c0/1c/7836b67c42d0cd4441fcd9fafbf6a027ad4b79b6559f80cf11f89fd83648/pydantic_core-2.23.4-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:ba1a0996f6c2773bd83e63f18914c1de3c9dd26d55f4ac302a7efe93fb8e7433", size = 2100342 },
286
+ { url = "https://files.pythonhosted.org/packages/a9/f9/b6bcaf874f410564a78908739c80861a171788ef4d4f76f5009656672dfe/pydantic_core-2.23.4-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:9a5bce9d23aac8f0cf0836ecfc033896aa8443b501c58d0602dbfd5bd5b37753", size = 1920344 },
287
+ ]
288
+
289
+ [[package]]
290
+ name = "pyright"
291
+ version = "1.1.389"
292
+ source = { registry = "https://pypi.org/simple" }
293
+ dependencies = [
294
+ { name = "nodeenv" },
295
+ { name = "typing-extensions" },
296
+ ]
297
+ sdist = { url = "https://files.pythonhosted.org/packages/72/4e/9a5ab8745e7606b88c2c7ca223449ac9d82a71fd5e31df47b453f2cb39a1/pyright-1.1.389.tar.gz", hash = "sha256:716bf8cc174ab8b4dcf6828c3298cac05c5ed775dda9910106a5dcfe4c7fe220", size = 21940 }
298
+ wheels = [
299
+ { url = "https://files.pythonhosted.org/packages/1b/26/c288cabf8cfc5a27e1aa9e5029b7682c0f920b8074f45d22bf844314d66a/pyright-1.1.389-py3-none-any.whl", hash = "sha256:41e9620bba9254406dc1f621a88ceab5a88af4c826feb4f614d95691ed243a60", size = 18581 },
300
+ ]
301
+
302
+ [[package]]
303
+ name = "ruff"
304
+ version = "0.7.4"
305
+ source = { registry = "https://pypi.org/simple" }
306
+ sdist = { url = "https://files.pythonhosted.org/packages/0b/8b/bc4e0dfa1245b07cf14300e10319b98e958a53ff074c1dd86b35253a8c2a/ruff-0.7.4.tar.gz", hash = "sha256:cd12e35031f5af6b9b93715d8c4f40360070b2041f81273d0527683d5708fce2", size = 3275547 }
307
+ wheels = [
308
+ { url = "https://files.pythonhosted.org/packages/e6/4b/f5094719e254829766b807dadb766841124daba75a37da83e292ae5ad12f/ruff-0.7.4-py3-none-linux_armv6l.whl", hash = "sha256:a4919925e7684a3f18e18243cd6bea7cfb8e968a6eaa8437971f681b7ec51478", size = 10447512 },
309
+ { url = "https://files.pythonhosted.org/packages/9e/1d/3d2d2c9f601cf6044799c5349ff5267467224cefed9b35edf5f1f36486e9/ruff-0.7.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:cfb365c135b830778dda8c04fb7d4280ed0b984e1aec27f574445231e20d6c63", size = 10235436 },
310
+ { url = "https://files.pythonhosted.org/packages/62/83/42a6ec6216ded30b354b13e0e9327ef75a3c147751aaf10443756cb690e9/ruff-0.7.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:63a569b36bc66fbadec5beaa539dd81e0527cb258b94e29e0531ce41bacc1f20", size = 9888936 },
311
+ { url = "https://files.pythonhosted.org/packages/4d/26/e1e54893b13046a6ad05ee9b89ee6f71542ba250f72b4c7a7d17c3dbf73d/ruff-0.7.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0d06218747d361d06fd2fdac734e7fa92df36df93035db3dc2ad7aa9852cb109", size = 10697353 },
312
+ { url = "https://files.pythonhosted.org/packages/21/24/98d2e109c4efc02bfef144ec6ea2c3e1217e7ce0cfddda8361d268dfd499/ruff-0.7.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e0cea28d0944f74ebc33e9f934238f15c758841f9f5edd180b5315c203293452", size = 10228078 },
313
+ { url = "https://files.pythonhosted.org/packages/ad/b7/964c75be9bc2945fc3172241b371197bb6d948cc69e28bc4518448c368f3/ruff-0.7.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:80094ecd4793c68b2571b128f91754d60f692d64bc0d7272ec9197fdd09bf9ea", size = 11264823 },
314
+ { url = "https://files.pythonhosted.org/packages/12/8d/20abdbf705969914ce40988fe71a554a918deaab62c38ec07483e77866f6/ruff-0.7.4-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:997512325c6620d1c4c2b15db49ef59543ef9cd0f4aa8065ec2ae5103cedc7e7", size = 11951855 },
315
+ { url = "https://files.pythonhosted.org/packages/b8/fc/6519ce58c57b4edafcdf40920b7273dfbba64fc6ebcaae7b88e4dc1bf0a8/ruff-0.7.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:00b4cf3a6b5fad6d1a66e7574d78956bbd09abfd6c8a997798f01f5da3d46a05", size = 11516580 },
316
+ { url = "https://files.pythonhosted.org/packages/37/1a/5ec1844e993e376a86eb2456496831ed91b4398c434d8244f89094758940/ruff-0.7.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7dbdc7d8274e1422722933d1edddfdc65b4336abf0b16dfcb9dedd6e6a517d06", size = 12692057 },
317
+ { url = "https://files.pythonhosted.org/packages/50/90/76867152b0d3c05df29a74bb028413e90f704f0f6701c4801174ba47f959/ruff-0.7.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e92dfb5f00eaedb1501b2f906ccabfd67b2355bdf117fea9719fc99ac2145bc", size = 11085137 },
318
+ { url = "https://files.pythonhosted.org/packages/c8/eb/0a7cb6059ac3555243bd026bb21785bbc812f7bbfa95a36c101bd72b47ae/ruff-0.7.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:3bd726099f277d735dc38900b6a8d6cf070f80828877941983a57bca1cd92172", size = 10681243 },
319
+ { url = "https://files.pythonhosted.org/packages/5e/76/2270719dbee0fd35780b05c08a07b7a726c3da9f67d9ae89ef21fc18e2e5/ruff-0.7.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:2e32829c429dd081ee5ba39aef436603e5b22335c3d3fff013cd585806a6486a", size = 10319187 },
320
+ { url = "https://files.pythonhosted.org/packages/9f/e5/39100f72f8ba70bec1bd329efc880dea8b6c1765ea1cb9d0c1c5f18b8d7f/ruff-0.7.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:662a63b4971807623f6f90c1fb664613f67cc182dc4d991471c23c541fee62dd", size = 10803715 },
321
+ { url = "https://files.pythonhosted.org/packages/a5/89/40e904784f305fb56850063f70a998a64ebba68796d823dde67e89a24691/ruff-0.7.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:876f5e09eaae3eb76814c1d3b68879891d6fde4824c015d48e7a7da4cf066a3a", size = 11162912 },
322
+ { url = "https://files.pythonhosted.org/packages/8d/1b/dd77503b3875c51e3dbc053fd8367b845ab8b01c9ca6d0c237082732856c/ruff-0.7.4-py3-none-win32.whl", hash = "sha256:75c53f54904be42dd52a548728a5b572344b50d9b2873d13a3f8c5e3b91f5cac", size = 8702767 },
323
+ { url = "https://files.pythonhosted.org/packages/63/76/253ddc3e89e70165bba952ecca424b980b8d3c2598ceb4fc47904f424953/ruff-0.7.4-py3-none-win_amd64.whl", hash = "sha256:745775c7b39f914238ed1f1b0bebed0b9155a17cd8bc0b08d3c87e4703b990d6", size = 9497534 },
324
+ { url = "https://files.pythonhosted.org/packages/aa/70/f8724f31abc0b329ca98b33d73c14020168babcf71b0cba3cded5d9d0e66/ruff-0.7.4-py3-none-win_arm64.whl", hash = "sha256:11bff065102c3ae9d3ea4dc9ecdfe5a5171349cdd0787c1fc64761212fc9cf1f", size = 8851590 },
325
+ ]
326
+
327
+ [[package]]
328
+ name = "smmap"
329
+ version = "5.0.1"
330
+ source = { registry = "https://pypi.org/simple" }
331
+ sdist = { url = "https://files.pythonhosted.org/packages/88/04/b5bf6d21dc4041000ccba7eb17dd3055feb237e7ffc2c20d3fae3af62baa/smmap-5.0.1.tar.gz", hash = "sha256:dceeb6c0028fdb6734471eb07c0cd2aae706ccaecab45965ee83f11c8d3b1f62", size = 22291 }
332
+ wheels = [
333
+ { url = "https://files.pythonhosted.org/packages/a7/a5/10f97f73544edcdef54409f1d839f6049a0d79df68adbc1ceb24d1aaca42/smmap-5.0.1-py3-none-any.whl", hash = "sha256:e6d8668fa5f93e706934a62d7b4db19c8d9eb8cf2adbb75ef1b675aa332b69da", size = 24282 },
334
+ ]
335
+
336
+ [[package]]
337
+ name = "sniffio"
338
+ version = "1.3.1"
339
+ source = { registry = "https://pypi.org/simple" }
340
+ sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 }
341
+ wheels = [
342
+ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 },
343
+ ]
344
+
345
+ [[package]]
346
+ name = "sse-starlette"
347
+ version = "2.1.3"
348
+ source = { registry = "https://pypi.org/simple" }
349
+ dependencies = [
350
+ { name = "anyio" },
351
+ { name = "starlette" },
352
+ { name = "uvicorn" },
353
+ ]
354
+ sdist = { url = "https://files.pythonhosted.org/packages/72/fc/56ab9f116b2133521f532fce8d03194cf04dcac25f583cf3d839be4c0496/sse_starlette-2.1.3.tar.gz", hash = "sha256:9cd27eb35319e1414e3d2558ee7414487f9529ce3b3cf9b21434fd110e017169", size = 19678 }
355
+ wheels = [
356
+ { url = "https://files.pythonhosted.org/packages/52/aa/36b271bc4fa1d2796311ee7c7283a3a1c348bad426d37293609ca4300eef/sse_starlette-2.1.3-py3-none-any.whl", hash = "sha256:8ec846438b4665b9e8c560fcdea6bc8081a3abf7942faa95e5a744999d219772", size = 9383 },
357
+ ]
358
+
359
+ [[package]]
360
+ name = "starlette"
361
+ version = "0.41.3"
362
+ source = { registry = "https://pypi.org/simple" }
363
+ dependencies = [
364
+ { name = "anyio" },
365
+ ]
366
+ sdist = { url = "https://files.pythonhosted.org/packages/1a/4c/9b5764bd22eec91c4039ef4c55334e9187085da2d8a2df7bd570869aae18/starlette-0.41.3.tar.gz", hash = "sha256:0e4ab3d16522a255be6b28260b938eae2482f98ce5cc934cb08dce8dc3ba5835", size = 2574159 }
367
+ wheels = [
368
+ { url = "https://files.pythonhosted.org/packages/96/00/2b325970b3060c7cecebab6d295afe763365822b1306a12eeab198f74323/starlette-0.41.3-py3-none-any.whl", hash = "sha256:44cedb2b7c77a9de33a8b74b2b90e9f50d11fcf25d8270ea525ad71a25374ff7", size = 73225 },
369
+ ]
370
+
371
+ [[package]]
372
+ name = "typing-extensions"
373
+ version = "4.12.2"
374
+ source = { registry = "https://pypi.org/simple" }
375
+ sdist = { url = "https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8", size = 85321 }
376
+ wheels = [
377
+ { url = "https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", size = 37438 },
378
+ ]
379
+
380
+ [[package]]
381
+ name = "uvicorn"
382
+ version = "0.32.0"
383
+ source = { registry = "https://pypi.org/simple" }
384
+ dependencies = [
385
+ { name = "click" },
386
+ { name = "h11" },
387
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
388
+ ]
389
+ sdist = { url = "https://files.pythonhosted.org/packages/e0/fc/1d785078eefd6945f3e5bab5c076e4230698046231eb0f3747bc5c8fa992/uvicorn-0.32.0.tar.gz", hash = "sha256:f78b36b143c16f54ccdb8190d0a26b5f1901fe5a3c777e1ab29f26391af8551e", size = 77564 }
390
+ wheels = [
391
+ { url = "https://files.pythonhosted.org/packages/eb/14/78bd0e95dd2444b6caacbca2b730671d4295ccb628ef58b81bee903629df/uvicorn-0.32.0-py3-none-any.whl", hash = "sha256:60b8f3a5ac027dcd31448f411ced12b5ef452c646f76f02f8cc3f25d8d26fd82", size = 63723 },
392
+ ]