awslabs.syntheticdata-mcp-server 0.0.1__tar.gz → 0.0.2__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.
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/PKG-INFO +2 -2
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/README.md +1 -1
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/awslabs/syntheticdata_mcp_server/server.py +2 -2
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/pyproject.toml +1 -1
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/test_server.py +7 -7
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/uv.lock +1 -1
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/.gitignore +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/.pre-commit-config.yaml +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/.python-version +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/CHANGELOG.md +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/LICENSE +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/NOTICE +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/awslabs/__init__.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/awslabs/syntheticdata_mcp_server/__init__.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/awslabs/syntheticdata_mcp_server/pandas_interpreter.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/awslabs/syntheticdata_mcp_server/storage/__init__.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/awslabs/syntheticdata_mcp_server/storage/base.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/awslabs/syntheticdata_mcp_server/storage/loader.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/awslabs/syntheticdata_mcp_server/storage/s3.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/__init__.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/conftest.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/test_constants.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/test_pandas_interpreter.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/test_storage/__init__.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/test_storage/test_loader.py +0 -0
- {awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/test_storage/test_s3.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: awslabs.syntheticdata-mcp-server
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: An AWS Labs Model Context Protocol (MCP) server for syntheticdata
|
|
5
5
|
Project-URL: homepage, https://awslabs.github.io/mcp/
|
|
6
6
|
Project-URL: docs, https://awslabs.github.io/mcp/servers/syntheticdata-mcp-server/
|
|
@@ -97,7 +97,7 @@ The MCP server uses the AWS profile specified in the `AWS_PROFILE` environment v
|
|
|
97
97
|
### Getting Data Generation Instructions
|
|
98
98
|
|
|
99
99
|
```python
|
|
100
|
-
response = await server.
|
|
100
|
+
response = await server.get_data_gen_instructions(
|
|
101
101
|
business_description="An e-commerce platform with customers, orders, and products"
|
|
102
102
|
)
|
|
103
103
|
```
|
|
@@ -66,7 +66,7 @@ The MCP server uses the AWS profile specified in the `AWS_PROFILE` environment v
|
|
|
66
66
|
### Getting Data Generation Instructions
|
|
67
67
|
|
|
68
68
|
```python
|
|
69
|
-
response = await server.
|
|
69
|
+
response = await server.get_data_gen_instructions(
|
|
70
70
|
business_description="An e-commerce platform with customers, orders, and products"
|
|
71
71
|
)
|
|
72
72
|
```
|
|
@@ -143,8 +143,8 @@ mcp = FastMCP(
|
|
|
143
143
|
)
|
|
144
144
|
|
|
145
145
|
|
|
146
|
-
@mcp.tool(name='
|
|
147
|
-
async def
|
|
146
|
+
@mcp.tool(name='get_data_gen_instructions')
|
|
147
|
+
async def get_data_gen_instructions(
|
|
148
148
|
business_description: str = Field(
|
|
149
149
|
...,
|
|
150
150
|
description='A detailed description of the business domain and use case. The more specific and comprehensive the description, the better the data generation instructions will be.',
|
|
@@ -13,7 +13,7 @@ from awslabs.syntheticdata_mcp_server.server import (
|
|
|
13
13
|
_get_recommended_record_counts,
|
|
14
14
|
_validate_table_data,
|
|
15
15
|
execute_pandas_code,
|
|
16
|
-
|
|
16
|
+
get_data_gen_instructions,
|
|
17
17
|
load_to_storage,
|
|
18
18
|
main,
|
|
19
19
|
mcp,
|
|
@@ -23,7 +23,7 @@ from pytest import mark
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
@mark.asyncio
|
|
26
|
-
async def
|
|
26
|
+
async def test_get_data_gen_instructions() -> None:
|
|
27
27
|
"""Test generation of data generation instructions."""
|
|
28
28
|
business_description = """
|
|
29
29
|
An e-commerce platform that sells electronics. We need customer data with their
|
|
@@ -31,7 +31,7 @@ async def test_get_data_generation_instructions() -> None:
|
|
|
31
31
|
including payment status.
|
|
32
32
|
"""
|
|
33
33
|
|
|
34
|
-
result = await
|
|
34
|
+
result = await get_data_gen_instructions(business_description)
|
|
35
35
|
|
|
36
36
|
assert result['success'] is True
|
|
37
37
|
assert 'instructions' in result
|
|
@@ -58,9 +58,9 @@ async def test_get_data_generation_instructions() -> None:
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
@mark.asyncio
|
|
61
|
-
async def
|
|
61
|
+
async def test_get_data_gen_instructions_empty() -> None:
|
|
62
62
|
"""Test generation of data generation instructions with empty input."""
|
|
63
|
-
result = await
|
|
63
|
+
result = await get_data_gen_instructions('')
|
|
64
64
|
|
|
65
65
|
assert result['success'] is False
|
|
66
66
|
assert 'error' in result
|
|
@@ -68,9 +68,9 @@ async def test_get_data_generation_instructions_empty() -> None:
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
@mark.asyncio
|
|
71
|
-
async def
|
|
71
|
+
async def test_get_data_gen_instructions_invalid() -> None:
|
|
72
72
|
"""Test generation of data generation instructions with invalid input."""
|
|
73
|
-
result = await
|
|
73
|
+
result = await get_data_gen_instructions(' ')
|
|
74
74
|
|
|
75
75
|
assert result['success'] is False
|
|
76
76
|
assert 'error' in result
|
{awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/.gitignore
RENAMED
|
File without changes
|
|
File without changes
|
{awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/.python-version
RENAMED
|
File without changes
|
{awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/CHANGELOG.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/__init__.py
RENAMED
|
File without changes
|
{awslabs_syntheticdata_mcp_server-0.0.1 → awslabs_syntheticdata_mcp_server-0.0.2}/tests/conftest.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|