@formaggio-software/rhtop-linux-amd64 0.0.0-stage → 0.0.5
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.
- package/package.json +16 -4
- package/payload/LICENSE.txt +95 -0
- package/payload/NOTICE +16 -0
- package/payload/THIRD_PARTY_NOTICES/altgraph-0.17.5.dist-info/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/altgraph-0.17.5.dist-info/METADATA +307 -0
- package/payload/THIRD_PARTY_NOTICES/annotated_types-0.8.0.dist-info/METADATA +295 -0
- package/payload/THIRD_PARTY_NOTICES/annotated_types-0.8.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/anyio-4.16.0.dist-info/METADATA +108 -0
- package/payload/THIRD_PARTY_NOTICES/anyio-4.16.0.dist-info/licenses/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/attrs-26.1.0.dist-info/METADATA +199 -0
- package/payload/THIRD_PARTY_NOTICES/attrs-26.1.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/build-1.6.1.dist-info/METADATA +142 -0
- package/payload/THIRD_PARTY_NOTICES/build-1.6.1.dist-info/licenses/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/cffi-2.1.1.dist-info/METADATA +67 -0
- package/payload/THIRD_PARTY_NOTICES/cffi-2.1.1.dist-info/licenses/LICENSE +23 -0
- package/payload/THIRD_PARTY_NOTICES/click-8.5.1.dist-info/METADATA +83 -0
- package/payload/THIRD_PARTY_NOTICES/click-8.5.1.dist-info/licenses/LICENSE.txt +28 -0
- package/payload/THIRD_PARTY_NOTICES/cryptography-50.0.2.dist-info/METADATA +111 -0
- package/payload/THIRD_PARTY_NOTICES/cryptography-50.0.2.dist-info/licenses/LICENSE +3 -0
- package/payload/THIRD_PARTY_NOTICES/cryptography-50.0.2.dist-info/licenses/LICENSE.APACHE +202 -0
- package/payload/THIRD_PARTY_NOTICES/cryptography-50.0.2.dist-info/licenses/LICENSE.BSD +27 -0
- package/payload/THIRD_PARTY_NOTICES/h11-0.16.0.dist-info/METADATA +202 -0
- package/payload/THIRD_PARTY_NOTICES/h11-0.16.0.dist-info/licenses/LICENSE.txt +22 -0
- package/payload/THIRD_PARTY_NOTICES/hatchling-1.33.0.dist-info/METADATA +81 -0
- package/payload/THIRD_PARTY_NOTICES/hatchling-1.33.0.dist-info/licenses/LICENSE.txt +9 -0
- package/payload/THIRD_PARTY_NOTICES/httpcore2-2.16.2.dist-info/METADATA +798 -0
- package/payload/THIRD_PARTY_NOTICES/httpcore2-2.16.2.dist-info/licenses/LICENSE.md +28 -0
- package/payload/THIRD_PARTY_NOTICES/httpx2-2.16.2.dist-info/METADATA +227 -0
- package/payload/THIRD_PARTY_NOTICES/httpx2-2.16.2.dist-info/licenses/LICENSE.md +13 -0
- package/payload/THIRD_PARTY_NOTICES/idna-3.20.dist-info/METADATA +176 -0
- package/payload/THIRD_PARTY_NOTICES/idna-3.20.dist-info/licenses/LICENSE.md +31 -0
- package/payload/THIRD_PARTY_NOTICES/iniconfig-2.3.1.dist-info/METADATA +84 -0
- package/payload/THIRD_PARTY_NOTICES/iniconfig-2.3.1.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco.classes-3.4.0.dist-info/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco.classes-3.4.0.dist-info/METADATA +60 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco_context-6.1.2.dist-info/METADATA +81 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco_context-6.1.2.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco_functools-4.6.0.dist-info/METADATA +68 -0
- package/payload/THIRD_PARTY_NOTICES/jaraco_functools-4.6.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/jeepney-0.9.0.dist-info/METADATA +35 -0
- package/payload/THIRD_PARTY_NOTICES/jeepney-0.9.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/jsonschema-4.26.0.dist-info/METADATA +170 -0
- package/payload/THIRD_PARTY_NOTICES/jsonschema-4.26.0.dist-info/licenses/COPYING +19 -0
- package/payload/THIRD_PARTY_NOTICES/jsonschema_specifications-2025.9.1.dist-info/METADATA +54 -0
- package/payload/THIRD_PARTY_NOTICES/jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING +19 -0
- package/payload/THIRD_PARTY_NOTICES/keyring-25.7.0.dist-info/METADATA +554 -0
- package/payload/THIRD_PARTY_NOTICES/keyring-25.7.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/linkify_it_py-2.2.0.dist-info/METADATA +262 -0
- package/payload/THIRD_PARTY_NOTICES/linkify_it_py-2.2.0.dist-info/licenses/LICENSE +48 -0
- package/payload/THIRD_PARTY_NOTICES/markdown_it_py-4.3.0.dist-info/METADATA +237 -0
- package/payload/THIRD_PARTY_NOTICES/markdown_it_py-4.3.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/markdown_it_py-4.3.0.dist-info/licenses/LICENSE.markdown-it +22 -0
- package/payload/THIRD_PARTY_NOTICES/mcp-2.3.0.dist-info/METADATA +172 -0
- package/payload/THIRD_PARTY_NOTICES/mcp-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/mcp_types-2.3.0.dist-info/METADATA +43 -0
- package/payload/THIRD_PARTY_NOTICES/mcp_types-2.3.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/mdit_py_plugins-0.7.0.dist-info/METADATA +60 -0
- package/payload/THIRD_PARTY_NOTICES/mdit_py_plugins-0.7.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/mdurl-0.1.2.dist-info/LICENSE +46 -0
- package/payload/THIRD_PARTY_NOTICES/mdurl-0.1.2.dist-info/METADATA +32 -0
- package/payload/THIRD_PARTY_NOTICES/more_itertools-11.2.1.dist-info/METADATA +302 -0
- package/payload/THIRD_PARTY_NOTICES/more_itertools-11.2.1.dist-info/licenses/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/opentelemetry_api-1.45.2.dist-info/METADATA +43 -0
- package/payload/THIRD_PARTY_NOTICES/opentelemetry_api-1.45.2.dist-info/licenses/LICENSE +201 -0
- package/payload/THIRD_PARTY_NOTICES/packaging-26.3.dist-info/METADATA +112 -0
- package/payload/THIRD_PARTY_NOTICES/packaging-26.3.dist-info/licenses/LICENSE +3 -0
- package/payload/THIRD_PARTY_NOTICES/packaging-26.3.dist-info/licenses/LICENSE.APACHE +177 -0
- package/payload/THIRD_PARTY_NOTICES/packaging-26.3.dist-info/licenses/LICENSE.BSD +23 -0
- package/payload/THIRD_PARTY_NOTICES/pathspec-1.1.1.dist-info/METADATA +392 -0
- package/payload/THIRD_PARTY_NOTICES/pathspec-1.1.1.dist-info/licenses/LICENSE +373 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/METADATA +110 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/AUTHORS.txt +888 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/LICENSE.txt +20 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt +13 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/distlib/LICENSE.txt +284 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/distro/LICENSE +202 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/idna/LICENSE.md +31 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/msgpack/COPYING +14 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +3 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.APACHE +177 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/packaging/LICENSE.BSD +23 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +25 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/requests/LICENSE +175 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +13 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/rich/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pip-26.2.2.dist-info/licenses/src/pip/_vendor/urllib3/LICENSE.txt +21 -0
- package/payload/THIRD_PARTY_NOTICES/platformdirs-4.14.7.dist-info/METADATA +114 -0
- package/payload/THIRD_PARTY_NOTICES/platformdirs-4.14.7.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pluggy-1.7.0.dist-info/METADATA +152 -0
- package/payload/THIRD_PARTY_NOTICES/pluggy-1.7.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pycparser-3.12.dist-info/METADATA +286 -0
- package/payload/THIRD_PARTY_NOTICES/pycparser-3.12.dist-info/licenses/LICENSE +27 -0
- package/payload/THIRD_PARTY_NOTICES/pydantic-2.14.3.dist-info/METADATA +1646 -0
- package/payload/THIRD_PARTY_NOTICES/pydantic-2.14.3.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pydantic_core-2.50.4.dist-info/METADATA +172 -0
- package/payload/THIRD_PARTY_NOTICES/pydantic_core-2.50.4.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pygments-2.21.0.dist-info/METADATA +58 -0
- package/payload/THIRD_PARTY_NOTICES/pygments-2.21.0.dist-info/licenses/AUTHORS +296 -0
- package/payload/THIRD_PARTY_NOTICES/pygments-2.21.0.dist-info/licenses/LICENSE +25 -0
- package/payload/THIRD_PARTY_NOTICES/pyinstaller-6.22.3.dist-info/METADATA +213 -0
- package/payload/THIRD_PARTY_NOTICES/pyinstaller-6.22.3.dist-info/licenses/COPYING.txt +648 -0
- package/payload/THIRD_PARTY_NOTICES/pyinstaller_hooks_contrib-2026.10.dist-info/METADATA +373 -0
- package/payload/THIRD_PARTY_NOTICES/pyinstaller_hooks_contrib-2026.10.dist-info/licenses/LICENSE +521 -0
- package/payload/THIRD_PARTY_NOTICES/pyjwt-2.15.1.dist-info/METADATA +94 -0
- package/payload/THIRD_PARTY_NOTICES/pyjwt-2.15.1.dist-info/licenses/AUTHORS.rst +7 -0
- package/payload/THIRD_PARTY_NOTICES/pyjwt-2.15.1.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pyproject_hooks-1.3.3.dist-info/METADATA +27 -0
- package/payload/THIRD_PARTY_NOTICES/pyproject_hooks-1.3.3.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pytest-9.2.0.dist-info/METADATA +217 -0
- package/payload/THIRD_PARTY_NOTICES/pytest-9.2.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/pytest_asyncio-1.5.0.dist-info/METADATA +100 -0
- package/payload/THIRD_PARTY_NOTICES/pytest_asyncio-1.5.0.dist-info/licenses/LICENSE +201 -0
- package/payload/THIRD_PARTY_NOTICES/python_multipart-0.0.34.dist-info/METADATA +179 -0
- package/payload/THIRD_PARTY_NOTICES/python_multipart-0.0.34.dist-info/licenses/LICENSE.txt +202 -0
- package/payload/THIRD_PARTY_NOTICES/pyyaml-6.0.3.dist-info/METADATA +59 -0
- package/payload/THIRD_PARTY_NOTICES/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/referencing-0.37.0.dist-info/METADATA +64 -0
- package/payload/THIRD_PARTY_NOTICES/referencing-0.37.0.dist-info/licenses/COPYING +19 -0
- package/payload/THIRD_PARTY_NOTICES/rich-15.0.0.dist-info/METADATA +479 -0
- package/payload/THIRD_PARTY_NOTICES/rich-15.0.0.dist-info/licenses/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/rpds_py-2026.9.1.dist-info/METADATA +99 -0
- package/payload/THIRD_PARTY_NOTICES/rpds_py-2026.9.1.dist-info/licenses/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/ruff-0.17.5.dist-info/METADATA +484 -0
- package/payload/THIRD_PARTY_NOTICES/ruff-0.17.5.dist-info/licenses/LICENSE +430 -0
- package/payload/THIRD_PARTY_NOTICES/secretstorage-3.5.0.dist-info/METADATA +109 -0
- package/payload/THIRD_PARTY_NOTICES/secretstorage-3.5.0.dist-info/licenses/LICENSE +25 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/autocommand-2.2.2.dist-info/LICENSE +166 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/autocommand-2.2.2.dist-info/METADATA +420 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/METADATA +46 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/METADATA +133 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/importlib_metadata-8.7.1.dist-info/licenses/LICENSE +73 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco.text-4.0.0.dist-info/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco.text-4.0.0.dist-info/METADATA +96 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco_context-6.1.0.dist-info/METADATA +82 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco_context-6.1.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco_functools-4.4.0.dist-info/METADATA +69 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/jaraco_functools-4.4.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/more_itertools-10.8.0.dist-info/METADATA +283 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/more_itertools-10.8.0.dist-info/licenses/LICENSE +19 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/packaging-26.3.dist-info/METADATA +112 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/packaging-26.3.dist-info/licenses/LICENSE +3 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/packaging-26.3.dist-info/licenses/LICENSE.APACHE +177 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/packaging-26.3.dist-info/licenses/LICENSE.BSD +23 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/platformdirs-4.4.0.dist-info/METADATA +350 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/platformdirs-4.4.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/tomli-2.4.0.dist-info/METADATA +270 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/tomli-2.4.0.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/wheel-0.46.3.dist-info/METADATA +69 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/wheel-0.46.3.dist-info/licenses/LICENSE.txt +21 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/zipp-3.23.0.dist-info/METADATA +106 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools/_vendor/zipp-3.23.0.dist-info/licenses/LICENSE +18 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools-84.2.1.dist-info/METADATA +140 -0
- package/payload/THIRD_PARTY_NOTICES/setuptools-84.2.1.dist-info/licenses/LICENSE +17 -0
- package/payload/THIRD_PARTY_NOTICES/sse_starlette-3.7.0.dist-info/METADATA +493 -0
- package/payload/THIRD_PARTY_NOTICES/sse_starlette-3.7.0.dist-info/licenses/AUTHORS +10 -0
- package/payload/THIRD_PARTY_NOTICES/sse_starlette-3.7.0.dist-info/licenses/LICENSE +27 -0
- package/payload/THIRD_PARTY_NOTICES/starlette-1.10.0.dist-info/METADATA +181 -0
- package/payload/THIRD_PARTY_NOTICES/starlette-1.10.0.dist-info/licenses/LICENSE.md +27 -0
- package/payload/THIRD_PARTY_NOTICES/textual-6.12.0.dist-info/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/textual-6.12.0.dist-info/METADATA +265 -0
- package/payload/THIRD_PARTY_NOTICES/tomlkit-0.15.2.dist-info/METADATA +93 -0
- package/payload/THIRD_PARTY_NOTICES/tomlkit-0.15.2.dist-info/licenses/LICENSE +20 -0
- package/payload/THIRD_PARTY_NOTICES/trove_classifiers-2026.9.21.13.dist-info/METADATA +82 -0
- package/payload/THIRD_PARTY_NOTICES/trove_classifiers-2026.9.21.13.dist-info/licenses/LICENSE +201 -0
- package/payload/THIRD_PARTY_NOTICES/truststore-0.10.5.dist-info/METADATA +110 -0
- package/payload/THIRD_PARTY_NOTICES/truststore-0.10.5.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/typing_extensions-4.16.0.dist-info/METADATA +73 -0
- package/payload/THIRD_PARTY_NOTICES/typing_extensions-4.16.0.dist-info/licenses/LICENSE +279 -0
- package/payload/THIRD_PARTY_NOTICES/typing_inspection-0.4.5.dist-info/METADATA +49 -0
- package/payload/THIRD_PARTY_NOTICES/typing_inspection-0.4.5.dist-info/licenses/LICENSE +21 -0
- package/payload/THIRD_PARTY_NOTICES/uvicorn-0.54.0.dist-info/METADATA +189 -0
- package/payload/THIRD_PARTY_NOTICES/uvicorn-0.54.0.dist-info/licenses/LICENSE.md +27 -0
- package/payload/rhtop +0 -0
- package/README.md +0 -3
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mcp
|
|
3
|
+
Version: 2.3.0
|
|
4
|
+
Summary: Model Context Protocol SDK
|
|
5
|
+
Project-URL: Homepage, https://modelcontextprotocol.io
|
|
6
|
+
Project-URL: Documentation, https://py.sdk.modelcontextprotocol.io/
|
|
7
|
+
Project-URL: Repository, https://github.com/modelcontextprotocol/python-sdk
|
|
8
|
+
Project-URL: Issues, https://github.com/modelcontextprotocol/python-sdk/issues
|
|
9
|
+
Author: Model Context Protocol a Series of LF Projects, LLC.
|
|
10
|
+
Maintainer-email: David Soria Parra <davidsp@anthropic.com>, Marcelo Trylesinski <marcelotryle@gmail.com>, Max Isbey <maxisbey@anthropic.com>, Felix Weinberger <fweinberger@anthropic.com>
|
|
11
|
+
License: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: automation,llm,mcp
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Requires-Dist: anyio>=4.10; python_version >= '3.14'
|
|
25
|
+
Requires-Dist: anyio>=4.9; python_version < '3.14'
|
|
26
|
+
Requires-Dist: httpx2>=2.10.0
|
|
27
|
+
Requires-Dist: jsonschema>=4.20.0
|
|
28
|
+
Requires-Dist: mcp-types==2.3.0
|
|
29
|
+
Requires-Dist: opentelemetry-api>=1.28.0
|
|
30
|
+
Requires-Dist: pydantic>=2.12.0
|
|
31
|
+
Requires-Dist: pyjwt[crypto]>=2.10.1
|
|
32
|
+
Requires-Dist: python-multipart>=0.0.9
|
|
33
|
+
Requires-Dist: pywin32>=311; sys_platform == 'win32'
|
|
34
|
+
Requires-Dist: sse-starlette>=3.0.0
|
|
35
|
+
Requires-Dist: starlette>=0.27; python_version < '3.14'
|
|
36
|
+
Requires-Dist: starlette>=0.48.0; python_version >= '3.14'
|
|
37
|
+
Requires-Dist: typing-extensions>=4.13.0
|
|
38
|
+
Requires-Dist: typing-inspection>=0.4.1
|
|
39
|
+
Requires-Dist: uvicorn>=0.31.1; sys_platform != 'emscripten'
|
|
40
|
+
Provides-Extra: cli
|
|
41
|
+
Requires-Dist: python-dotenv>=1.0.0; extra == 'cli'
|
|
42
|
+
Requires-Dist: typer>=0.16.0; extra == 'cli'
|
|
43
|
+
Provides-Extra: rich
|
|
44
|
+
Requires-Dist: rich>=13.9.4; extra == 'rich'
|
|
45
|
+
Description-Content-Type: text/markdown
|
|
46
|
+
|
|
47
|
+
# MCP Python SDK
|
|
48
|
+
|
|
49
|
+
<div align="center">
|
|
50
|
+
|
|
51
|
+
<strong>Python implementation of the Model Context Protocol (MCP)</strong>
|
|
52
|
+
|
|
53
|
+
[![PyPI][pypi-badge]][pypi-url]
|
|
54
|
+
[![MIT licensed][mit-badge]][mit-url]
|
|
55
|
+
[![Python Version][python-badge]][python-url]
|
|
56
|
+
[![Documentation][docs-badge]][docs-url]
|
|
57
|
+
[![Protocol][protocol-badge]][protocol-url]
|
|
58
|
+
[![Specification][spec-badge]][spec-url]
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
## Documentation
|
|
63
|
+
|
|
64
|
+
**The documentation lives at <https://py.sdk.modelcontextprotocol.io/>.**
|
|
65
|
+
|
|
66
|
+
It has a [Get started guide](https://py.sdk.modelcontextprotocol.io/get-started/), [What's new in v2](https://py.sdk.modelcontextprotocol.io/whats-new/), the [API reference](https://py.sdk.modelcontextprotocol.io/api/mcp/), and the [migration guide](https://py.sdk.modelcontextprotocol.io/migration/).
|
|
67
|
+
|
|
68
|
+
## What is MCP?
|
|
69
|
+
|
|
70
|
+
The [Model Context Protocol](https://modelcontextprotocol.io) lets you build servers that expose data and functionality to LLM applications in a secure, standardized way. Think of it like a web API, but designed for LLM interactions. With this SDK you can:
|
|
71
|
+
|
|
72
|
+
- **Build MCP servers** that expose tools, resources, and prompts to any MCP host
|
|
73
|
+
- **Build MCP clients** that connect to any MCP server
|
|
74
|
+
- Speak every standard transport: stdio, Streamable HTTP, and SSE
|
|
75
|
+
|
|
76
|
+
## Requirements
|
|
77
|
+
|
|
78
|
+
Python 3.10+.
|
|
79
|
+
|
|
80
|
+
## Installation
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
uv add "mcp[cli]" # or: pip install "mcp[cli]"
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
The `cli` extra adds the `mcp` command-line tool (`mcp dev`, `mcp run`, `mcp install`) on top of the SDK; install plain `mcp` if you don't need it. For one-off commands, `uv run --with "mcp[cli]" mcp ...` works without a project.
|
|
87
|
+
|
|
88
|
+
## A server in 15 lines
|
|
89
|
+
|
|
90
|
+
Create a `server.py`:
|
|
91
|
+
|
|
92
|
+
<!-- snippet-source docs_src/index/tutorial001.py -->
|
|
93
|
+
```python
|
|
94
|
+
from mcp.server import MCPServer
|
|
95
|
+
|
|
96
|
+
mcp = MCPServer("Demo")
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
@mcp.tool()
|
|
100
|
+
def add(a: int, b: int) -> int:
|
|
101
|
+
"""Add two numbers."""
|
|
102
|
+
return a + b
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
@mcp.resource("greeting://{name}")
|
|
106
|
+
def greeting(name: str) -> str:
|
|
107
|
+
"""Greet someone by name."""
|
|
108
|
+
return f"Hello, {name}!"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
_Full example: [docs_src/index/tutorial001.py](https://github.com/modelcontextprotocol/python-sdk/blob/main/docs_src/index/tutorial001.py)_
|
|
112
|
+
<!-- /snippet-source -->
|
|
113
|
+
|
|
114
|
+
That's a complete MCP server: one tool, one templated resource. Open it in the [MCP Inspector](https://github.com/modelcontextprotocol/inspector):
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
uv run mcp dev server.py
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Call `add` with `a=1`, `b=2` and you get `3` back.
|
|
121
|
+
|
|
122
|
+
Notice what you did **not** write: no JSON Schema (`a: int, b: int` _is_ the schema), no request parsing, no validation code, no protocol handling. Two type-hinted Python functions and a docstring.
|
|
123
|
+
|
|
124
|
+
[Get started](https://py.sdk.modelcontextprotocol.io/get-started/) takes it from here.
|
|
125
|
+
|
|
126
|
+
## A client in 10 lines
|
|
127
|
+
|
|
128
|
+
The same package is a full MCP **client**. Serve `server.py` over HTTP:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
uv run mcp run server.py --transport streamable-http
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
then point a `Client` at it:
|
|
135
|
+
|
|
136
|
+
```python
|
|
137
|
+
import asyncio
|
|
138
|
+
|
|
139
|
+
from mcp import Client
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
async def main() -> None:
|
|
143
|
+
async with Client("http://localhost:8000/mcp") as client:
|
|
144
|
+
result = await client.call_tool("add", {"a": 1, "b": 2})
|
|
145
|
+
print(result.structured_content) # {'result': 3}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
asyncio.run(main())
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
A URL means Streamable HTTP, the transport you deploy. `Client` can also launch a local server as a stdio subprocess or take any custom transport; [Clients](https://py.sdk.modelcontextprotocol.io/client/) has the rest.
|
|
152
|
+
|
|
153
|
+
## Contributing
|
|
154
|
+
|
|
155
|
+
We are passionate about supporting contributors of all levels of experience and would love to see you get involved in the project. See the [contributing guide](https://github.com/modelcontextprotocol/python-sdk/blob/main/CONTRIBUTING.md) to get started.
|
|
156
|
+
|
|
157
|
+
## License
|
|
158
|
+
|
|
159
|
+
This project is licensed under the MIT License. See the [LICENSE](https://github.com/modelcontextprotocol/python-sdk/blob/main/LICENSE) file for details.
|
|
160
|
+
|
|
161
|
+
[pypi-badge]: https://img.shields.io/pypi/v/mcp.svg
|
|
162
|
+
[pypi-url]: https://pypi.org/project/mcp/
|
|
163
|
+
[mit-badge]: https://img.shields.io/pypi/l/mcp.svg
|
|
164
|
+
[mit-url]: https://github.com/modelcontextprotocol/python-sdk/blob/main/LICENSE
|
|
165
|
+
[python-badge]: https://img.shields.io/pypi/pyversions/mcp.svg
|
|
166
|
+
[python-url]: https://www.python.org/downloads/
|
|
167
|
+
[docs-badge]: https://img.shields.io/badge/docs-python--sdk-blue.svg
|
|
168
|
+
[docs-url]: https://py.sdk.modelcontextprotocol.io/
|
|
169
|
+
[protocol-badge]: https://img.shields.io/badge/protocol-modelcontextprotocol.io-blue.svg
|
|
170
|
+
[protocol-url]: https://modelcontextprotocol.io
|
|
171
|
+
[spec-badge]: https://img.shields.io/badge/spec-spec.modelcontextprotocol.io-blue.svg
|
|
172
|
+
[spec-url]: https://modelcontextprotocol.io/specification/latest
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Anthropic, PBC
|
|
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.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mcp-types
|
|
3
|
+
Version: 2.3.0
|
|
4
|
+
Summary: Model Context Protocol wire types
|
|
5
|
+
Project-URL: Homepage, https://modelcontextprotocol.io
|
|
6
|
+
Project-URL: Documentation, https://py.sdk.modelcontextprotocol.io/
|
|
7
|
+
Project-URL: Repository, https://github.com/modelcontextprotocol/python-sdk
|
|
8
|
+
Project-URL: Issues, https://github.com/modelcontextprotocol/python-sdk/issues
|
|
9
|
+
Author: Model Context Protocol a Series of LF Projects, LLC.
|
|
10
|
+
Maintainer-email: David Soria Parra <davidsp@anthropic.com>, Marcelo Trylesinski <marcelotryle@gmail.com>, Max Isbey <maxisbey@anthropic.com>, Felix Weinberger <fweinberger@anthropic.com>
|
|
11
|
+
License: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: automation,llm,mcp
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Requires-Dist: pydantic>=2.12.0
|
|
25
|
+
Requires-Dist: typing-extensions>=4.13.0
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# MCP Types
|
|
29
|
+
|
|
30
|
+
The wire types for the [Model Context Protocol](https://modelcontextprotocol.io).
|
|
31
|
+
|
|
32
|
+
This package holds the protocol message models, JSON-RPC envelope types, per-version
|
|
33
|
+
surface validators, and the protocol-version registry. Its only runtime dependencies are
|
|
34
|
+
`pydantic` and `typing-extensions`, so it can be installed on its own when you need to
|
|
35
|
+
(de)serialize MCP traffic without pulling in the full `mcp` SDK.
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
from mcp_types import Tool, CallToolRequest
|
|
39
|
+
from mcp_types.version import LATEST_PROTOCOL_VERSION
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The `mcp` package re-exports these names, so existing `from mcp import Tool` imports
|
|
43
|
+
keep working.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Anthropic, PBC
|
|
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.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mdit-py-plugins
|
|
3
|
+
Version: 0.7.0
|
|
4
|
+
Summary: Collection of plugins for markdown-it-py
|
|
5
|
+
Keywords: markdown,markdown-it,lexer,parser,development
|
|
6
|
+
Author-email: Chris Sewell <chrisj_sewell@hotmail.com>
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
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
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
|
+
Classifier: Topic :: Text Processing :: Markup
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: markdown-it-py>=3.0.0,<5.0.0
|
|
24
|
+
Requires-Dist: pre-commit ; extra == "code-style"
|
|
25
|
+
Requires-Dist: myst-parser ; extra == "rtd"
|
|
26
|
+
Requires-Dist: sphinx-book-theme ; extra == "rtd"
|
|
27
|
+
Requires-Dist: coverage ; extra == "testing"
|
|
28
|
+
Requires-Dist: pytest ; extra == "testing"
|
|
29
|
+
Requires-Dist: pytest-cov ; extra == "testing"
|
|
30
|
+
Requires-Dist: pytest-regressions ; extra == "testing"
|
|
31
|
+
Requires-Dist: pytest-timeout ; extra == "testing"
|
|
32
|
+
Project-URL: Documentation, https://mdit-py-plugins.readthedocs.io
|
|
33
|
+
Project-URL: Homepage, https://github.com/executablebooks/mdit-py-plugins
|
|
34
|
+
Provides-Extra: code-style
|
|
35
|
+
Provides-Extra: rtd
|
|
36
|
+
Provides-Extra: testing
|
|
37
|
+
|
|
38
|
+
# mdit-py-plugins
|
|
39
|
+
|
|
40
|
+
[![Github-CI][github-ci]][github-link]
|
|
41
|
+
[![Coverage Status][codecov-badge]][codecov-link]
|
|
42
|
+
[![PyPI][pypi-badge]][pypi-link]
|
|
43
|
+
[![Conda][conda-badge]][conda-link]
|
|
44
|
+
[![Code style: black][black-badge]][black-link]
|
|
45
|
+
|
|
46
|
+
Collection of core plugins for [markdown-it-py](https://github.com/executablebooks/markdown-it-py).
|
|
47
|
+
|
|
48
|
+
[github-ci]: https://github.com/executablebooks/mdit-py-plugins/workflows/continuous-integration/badge.svg
|
|
49
|
+
[github-link]: https://github.com/executablebooks/mdit-py-plugins
|
|
50
|
+
[pypi-badge]: https://img.shields.io/pypi/v/mdit-py-plugins.svg
|
|
51
|
+
[pypi-link]: https://pypi.org/project/mdit-py-plugins
|
|
52
|
+
[conda-badge]: https://anaconda.org/conda-forge/mdit-py-plugins/badges/version.svg
|
|
53
|
+
[conda-link]: https://anaconda.org/conda-forge/mdit-py-plugins
|
|
54
|
+
[codecov-badge]: https://codecov.io/gh/executablebooks/mdit-py-plugins/branch/master/graph/badge.svg
|
|
55
|
+
[codecov-link]: https://codecov.io/gh/executablebooks/mdit-py-plugins
|
|
56
|
+
[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg
|
|
57
|
+
[black-link]: https://github.com/ambv/black
|
|
58
|
+
[install-badge]: https://img.shields.io/pypi/dw/mdit-py-plugins?label=pypi%20installs
|
|
59
|
+
[install-link]: https://pypistats.org/packages/mdit-py-plugins
|
|
60
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 ExecutableBookProject
|
|
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.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Copyright (c) 2015 Vitaly Puzrin, Alex Kocharin.
|
|
2
|
+
Copyright (c) 2021 Taneli Hukkinen
|
|
3
|
+
|
|
4
|
+
Permission is hereby granted, free of charge, to any person
|
|
5
|
+
obtaining a copy of this software and associated documentation
|
|
6
|
+
files (the "Software"), to deal in the Software without
|
|
7
|
+
restriction, including without limitation the rights to use,
|
|
8
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the
|
|
10
|
+
Software is furnished to do so, subject to the following
|
|
11
|
+
conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
18
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
20
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
21
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
22
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
23
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
24
|
+
|
|
25
|
+
--------------------------------------------------------------------------------
|
|
26
|
+
|
|
27
|
+
.parse() is based on Joyent's node.js `url` code:
|
|
28
|
+
|
|
29
|
+
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
30
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
31
|
+
of this software and associated documentation files (the "Software"), to
|
|
32
|
+
deal in the Software without restriction, including without limitation the
|
|
33
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
34
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
35
|
+
furnished to do so, subject to the following conditions:
|
|
36
|
+
|
|
37
|
+
The above copyright notice and this permission notice shall be included in
|
|
38
|
+
all copies or substantial portions of the Software.
|
|
39
|
+
|
|
40
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
41
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
42
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
43
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
44
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
45
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
46
|
+
IN THE SOFTWARE.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: mdurl
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: Markdown URL utilities
|
|
5
|
+
Keywords: markdown,commonmark
|
|
6
|
+
Author-email: Taneli Hukkinen <hukkin@users.noreply.github.com>
|
|
7
|
+
Requires-Python: >=3.7
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: MacOS
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
|
+
Classifier: Typing :: Typed
|
|
22
|
+
Project-URL: Homepage, https://github.com/executablebooks/mdurl
|
|
23
|
+
|
|
24
|
+
# mdurl
|
|
25
|
+
|
|
26
|
+
[](https://github.com/executablebooks/mdurl/actions?query=workflow%3ATests+branch%3Amaster+event%3Apush)
|
|
27
|
+
[](https://codecov.io/gh/executablebooks/mdurl)
|
|
28
|
+
[](https://pypi.org/project/mdurl)
|
|
29
|
+
|
|
30
|
+
This is a Python port of the JavaScript [mdurl](https://www.npmjs.com/package/mdurl) package.
|
|
31
|
+
See the [upstream README.md file](https://github.com/markdown-it/mdurl/blob/master/README.md) for API documentation.
|
|
32
|
+
|