code-sandboxes 0.0.1__py3-none-any.whl

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,7 @@
1
+ # Copyright (c) 2023-2024 Datalayer, Inc.
2
+ #
3
+ # BSD 3-Clause License
4
+
5
+ """Code Sandboxes."""
6
+
7
+ __all__ = []
@@ -0,0 +1,6 @@
1
+ #
2
+ # BSD 3-Clause License
3
+
4
+ """Code Sandboxes."""
5
+
6
+ __version__ = "0.0.1"
@@ -0,0 +1,18 @@
1
+ # Copyright (c) 2023-2024 Datalayer, Inc.
2
+ #
3
+ # BSD 3-Clause License
4
+
5
+ from fastmcp import FastMCP
6
+
7
+
8
+ mcp = FastMCP("Demo 🚀")
9
+
10
+
11
+ @mcp.tool()
12
+ def add(a: int, b: int) -> int:
13
+ """Add two numbers"""
14
+ return a + b
15
+
16
+
17
+ if __name__ == "__main__":
18
+ mcp.run()
@@ -0,0 +1,71 @@
1
+ Metadata-Version: 2.4
2
+ Name: code_sandboxes
3
+ Version: 0.0.1
4
+ Project-URL: Home, https://github.com/datalayer/code-sandboxes
5
+ Author-email: Datalayer <info@datalayer.io>
6
+ License: BSD 3-Clause License
7
+
8
+ Copyright (c) 2025, Datalayer
9
+ All rights reserved.
10
+
11
+ Redistribution and use in source and binary forms, with or without
12
+ modification, are permitted provided that the following conditions are met:
13
+
14
+ 1. Redistributions of source code must retain the above copyright notice, this
15
+ list of conditions and the following disclaimer.
16
+
17
+ 2. Redistributions in binary form must reproduce the above copyright notice,
18
+ this list of conditions and the following disclaimer in the documentation
19
+ and/or other materials provided with the distribution.
20
+
21
+ 3. Neither the name of the copyright holder nor the names of its
22
+ contributors may be used to endorse or promote products derived from
23
+ this software without specific prior written permission.
24
+
25
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
29
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
31
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
32
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
33
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
+ License-File: LICENSE
36
+ Keywords: Earth,Jupyter
37
+ Classifier: Intended Audience :: Developers
38
+ Classifier: Intended Audience :: System Administrators
39
+ Classifier: License :: OSI Approved :: BSD License
40
+ Classifier: Programming Language :: Python
41
+ Classifier: Programming Language :: Python :: 3
42
+ Requires-Python: >=3.10
43
+ Requires-Dist: jupyter-kernel-client
44
+ Requires-Dist: jupyter-nbmodel-client
45
+ Requires-Dist: mcp[cli]>=1.2.1
46
+ Provides-Extra: lint
47
+ Requires-Dist: mdformat-gfm>=0.3.5; extra == 'lint'
48
+ Requires-Dist: mdformat>0.7; extra == 'lint'
49
+ Requires-Dist: ruff; extra == 'lint'
50
+ Provides-Extra: test
51
+ Requires-Dist: ipykernel; extra == 'test'
52
+ Requires-Dist: jupyter-server<3,>=1.6; extra == 'test'
53
+ Requires-Dist: pytest>=7.0; extra == 'test'
54
+ Provides-Extra: typing
55
+ Requires-Dist: mypy>=0.990; extra == 'typing'
56
+ Description-Content-Type: text/markdown
57
+
58
+ <!--
59
+ ~ Copyright (c) 2023-2024 Datalayer, Inc.
60
+ ~
61
+ ~ BSD 3-Clause License
62
+ -->
63
+
64
+ [![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io)
65
+
66
+ [![Become a Sponsor](https://img.shields.io/static/v1?label=Become%20a%20Sponsor&message=%E2%9D%A4&logo=GitHub&style=flat&color=1ABC9C)](https://github.com/sponsors/datalayer)
67
+
68
+ # ✨ Code Sandboxes
69
+
70
+ [![Github Actions Status](https://github.com/datalayer/code-sandboxes/workflows/Build/badge.svg)](https://github.com/datalayer/code-sandboxes/actions/workflows/build.yml)
71
+ [![PyPI - Version](https://img.shields.io/pypi/v/code-sandboxes)](https://pypi.org/project/code-sandboxes)
@@ -0,0 +1,7 @@
1
+ code_sandboxes/__init__.py,sha256=F9ChWs-1v1mvw42cF3xFtSkoH0KVuw7oDQ7h-0adALo,104
2
+ code_sandboxes/__version__.py,sha256=BhqofjEpOmhP3kfgiPzqtYGMeNFFEaMOPLdfRb-dFFs,71
3
+ code_sandboxes/server.py,sha256=vwtwW6zg3hMQxvDdcLFEiGPP6iIGNnEDg-uv0yOAvo0,257
4
+ code_sandboxes-0.0.1.dist-info/METADATA,sha256=6xQXQAmyGUWOEU9sOhryXxx0-aiQAyCxERXBhwy9sIg,3405
5
+ code_sandboxes-0.0.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
6
+ code_sandboxes-0.0.1.dist-info/licenses/LICENSE,sha256=kW62dan-1HEplL1Cmfooudf8dRqCPGQZGD6APtrlZa8,1516
7
+ code_sandboxes-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2025, Datalayer
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.