modulector-sdk 2.5.2__tar.gz → 2.6.1__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.
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 omicsdatascience
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.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 omicsdatascience
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.
@@ -1,115 +1,117 @@
1
- Metadata-Version: 2.4
2
- Name: modulector-sdk
3
- Version: 2.5.2
4
- Summary: Typed Python SDK for the Modulector API.
5
- Author: omicsdatascience
6
- License-Expression: MIT
7
- Project-URL: API, https://modulector.multiomix.org/
8
- Project-URL: Homepage, https://modulector.multiomix.org/
9
- Project-URL: Issues, https://github.com/omics-datascience/modulector/issues
10
- Project-URL: Repository, https://github.com/omics-datascience/modulector
11
- Keywords: api-client,bioinformatics,methylation,mirna,sdk
12
- Classifier: Development Status :: 4 - Beta
13
- Classifier: Intended Audience :: Developers
14
- Classifier: Intended Audience :: Science/Research
15
- Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.10
18
- Classifier: Programming Language :: Python :: 3.11
19
- Classifier: Programming Language :: Python :: 3.12
20
- Classifier: Programming Language :: Python :: 3.13
21
- Classifier: Programming Language :: Python :: 3.14
22
- Classifier: Topic :: Internet :: WWW/HTTP
23
- Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
24
- Classifier: Typing :: Typed
25
- Requires-Python: >=3.10
26
- Description-Content-Type: text/markdown
27
- License-File: LICENSE
28
- Requires-Dist: mcp==1.27.2
29
- Requires-Dist: requests==2.31.0
30
- Dynamic: license-file
31
-
32
- # Modulector SDK
33
-
34
- Typed Python SDK for the Modulector API. The package contains client helpers for
35
- querying miRNA target interactions, miRNA aliases, methylation sites, disease
36
- associations, drug associations, and PubMed subscriptions without installing the
37
- Django backend dependencies.
38
-
39
- ## Installation
40
-
41
- ```bash
42
- pip install modulector-sdk
43
- ```
44
-
45
- ## Usage
46
-
47
- ```python
48
- from modulector_sdk import get_mirna_details, get_mirna_target_interactions
49
-
50
- details = get_mirna_details("hsa-miR-21-5p")
51
- interactions = get_mirna_target_interactions(
52
- mirna="hsa-miR-21-5p",
53
- gene="PTEN",
54
- include_pubmeds=True,
55
- )
56
- ```
57
-
58
- Set `MODULECTOR_API_BASE_URL` to target a different Modulector deployment:
59
-
60
- ```bash
61
- MODULECTOR_API_BASE_URL=https://your-modulector.example.org python script.py
62
- ```
63
-
64
- Every service function also accepts a `base_url` keyword argument for
65
- per-request overrides.
66
-
67
- ## MCP server
68
-
69
- The SDK also installs a Model Context Protocol server that exposes the same
70
- service functions as LLM-callable tools.
71
-
72
- For local stdio MCP clients:
73
-
74
- ```bash
75
- modulector-mcp
76
- ```
77
-
78
- Example client configuration:
79
-
80
- ```json
81
- {
82
- "mcpServers": {
83
- "modulector": {
84
- "command": "modulector-mcp"
85
- }
86
- }
87
- }
88
- ```
89
-
90
- For Streamable HTTP clients:
91
-
92
- ```bash
93
- modulector-mcp --transport streamable-http --host 127.0.0.1 --port 8000
94
- ```
95
-
96
- Then connect the client to `http://127.0.0.1:8000/mcp`.
97
-
98
- The server includes tools for miRNA target interactions, miRNA details and
99
- aliases, miRNA identifier resolution, methylation site lookup and annotation,
100
- disease associations, drug associations, and PubMed news subscriptions. Use
101
- `MODULECTOR_API_BASE_URL` or each tool's `base_url` argument to target a custom
102
- Modulector deployment.
103
-
104
- When deployed with the root Docker Compose stack, nginx proxies the MCP
105
- Streamable HTTP endpoint at `https://<mydomain.com>/mcp`.
106
-
107
- ## Development
108
-
109
- Build this SDK from the `sdk/` directory:
110
-
111
- ```bash
112
- uv build
113
- ```
114
-
115
- The generated source distribution and wheel are written to `sdk/dist/`.
1
+ Metadata-Version: 2.4
2
+ Name: modulector-sdk
3
+ Version: 2.6.1
4
+ Summary: Typed Python SDK for the Modulector API.
5
+ Author: omicsdatascience
6
+ License-Expression: MIT
7
+ Project-URL: API, https://modulector.multiomix.org/
8
+ Project-URL: Homepage, https://modulector.multiomix.org/
9
+ Project-URL: Issues, https://github.com/omics-datascience/modulector/issues
10
+ Project-URL: Repository, https://github.com/omics-datascience/modulector
11
+ Keywords: api-client,bioinformatics,methylation,mirna,sdk
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Topic :: Internet :: WWW/HTTP
23
+ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: >=3.10
26
+ Description-Content-Type: text/markdown
27
+ License-File: LICENSE
28
+ Requires-Dist: mcp==1.27.2
29
+ Requires-Dist: requests==2.31.0
30
+ Dynamic: license-file
31
+
32
+ # Modulector SDK
33
+
34
+ Typed Python SDK for the Modulector API. The package contains client helpers for querying predicted and experimentally validated miRNA target interactions, miRNA aliases, methylation sites, disease associations, drug associations, and PubMed subscriptions without installing the Django backend dependencies.
35
+
36
+ ## Installation
37
+
38
+ ```bash
39
+ pip install modulector-sdk
40
+ ```
41
+
42
+ ## Usage
43
+
44
+ ```python
45
+ from modulector_sdk import (
46
+ get_mirna_details,
47
+ get_mirna_target_interactions,
48
+ get_mirna_target_validations,
49
+ )
50
+
51
+ details = get_mirna_details("hsa-miR-21-5p")
52
+ interactions = get_mirna_target_interactions(
53
+ mirna="hsa-miR-21-5p",
54
+ gene="PTEN",
55
+ include_pubmeds=True,
56
+ )
57
+ validations = get_mirna_target_validations(
58
+ mirna="hsa-miR-122-5p",
59
+ target="SLC7A1",
60
+ experiment="Western blot",
61
+ )
62
+ ```
63
+
64
+ Set `MODULECTOR_API_BASE_URL` to target a different Modulector deployment:
65
+
66
+ ```bash
67
+ MODULECTOR_API_BASE_URL=https://your-modulector.example.org python script.py
68
+ ```
69
+
70
+ Every service function also accepts a `base_url` keyword argument for
71
+ per-request overrides.
72
+
73
+ ## MCP server
74
+
75
+ The SDK also installs a Model Context Protocol server that exposes the same
76
+ service functions as LLM-callable tools.
77
+
78
+ For local stdio MCP clients:
79
+
80
+ ```bash
81
+ modulector-mcp
82
+ ```
83
+
84
+ Example client configuration:
85
+
86
+ ```json
87
+ {
88
+ "mcpServers": {
89
+ "modulector": {
90
+ "command": "modulector-mcp"
91
+ }
92
+ }
93
+ }
94
+ ```
95
+
96
+ For Streamable HTTP clients:
97
+
98
+ ```bash
99
+ modulector-mcp --transport streamable-http --host 127.0.0.1 --port 8000
100
+ ```
101
+
102
+ Then connect the client to `http://127.0.0.1:8000/mcp`.
103
+
104
+ The server includes tools for predicted and experimentally validated miRNA target interactions, miRNA details and aliases, miRNA identifier resolution, methylation site lookup and annotation, disease associations, drug associations, and PubMed news subscriptions. Use `MODULECTOR_API_BASE_URL` or each tool's `base_url` argument to target a custom Modulector deployment.
105
+
106
+ When deployed with the root Docker Compose stack, nginx proxies the MCP
107
+ Streamable HTTP endpoint at `https://<mydomain.com>/mcp`.
108
+
109
+ ## Development
110
+
111
+ Build this SDK from the `sdk/` directory:
112
+
113
+ ```bash
114
+ uv build
115
+ ```
116
+
117
+ The generated source distribution and wheel are written to `sdk/dist/`.
@@ -1,84 +1,86 @@
1
- # Modulector SDK
2
-
3
- Typed Python SDK for the Modulector API. The package contains client helpers for
4
- querying miRNA target interactions, miRNA aliases, methylation sites, disease
5
- associations, drug associations, and PubMed subscriptions without installing the
6
- Django backend dependencies.
7
-
8
- ## Installation
9
-
10
- ```bash
11
- pip install modulector-sdk
12
- ```
13
-
14
- ## Usage
15
-
16
- ```python
17
- from modulector_sdk import get_mirna_details, get_mirna_target_interactions
18
-
19
- details = get_mirna_details("hsa-miR-21-5p")
20
- interactions = get_mirna_target_interactions(
21
- mirna="hsa-miR-21-5p",
22
- gene="PTEN",
23
- include_pubmeds=True,
24
- )
25
- ```
26
-
27
- Set `MODULECTOR_API_BASE_URL` to target a different Modulector deployment:
28
-
29
- ```bash
30
- MODULECTOR_API_BASE_URL=https://your-modulector.example.org python script.py
31
- ```
32
-
33
- Every service function also accepts a `base_url` keyword argument for
34
- per-request overrides.
35
-
36
- ## MCP server
37
-
38
- The SDK also installs a Model Context Protocol server that exposes the same
39
- service functions as LLM-callable tools.
40
-
41
- For local stdio MCP clients:
42
-
43
- ```bash
44
- modulector-mcp
45
- ```
46
-
47
- Example client configuration:
48
-
49
- ```json
50
- {
51
- "mcpServers": {
52
- "modulector": {
53
- "command": "modulector-mcp"
54
- }
55
- }
56
- }
57
- ```
58
-
59
- For Streamable HTTP clients:
60
-
61
- ```bash
62
- modulector-mcp --transport streamable-http --host 127.0.0.1 --port 8000
63
- ```
64
-
65
- Then connect the client to `http://127.0.0.1:8000/mcp`.
66
-
67
- The server includes tools for miRNA target interactions, miRNA details and
68
- aliases, miRNA identifier resolution, methylation site lookup and annotation,
69
- disease associations, drug associations, and PubMed news subscriptions. Use
70
- `MODULECTOR_API_BASE_URL` or each tool's `base_url` argument to target a custom
71
- Modulector deployment.
72
-
73
- When deployed with the root Docker Compose stack, nginx proxies the MCP
74
- Streamable HTTP endpoint at `https://<mydomain.com>/mcp`.
75
-
76
- ## Development
77
-
78
- Build this SDK from the `sdk/` directory:
79
-
80
- ```bash
81
- uv build
82
- ```
83
-
84
- The generated source distribution and wheel are written to `sdk/dist/`.
1
+ # Modulector SDK
2
+
3
+ Typed Python SDK for the Modulector API. The package contains client helpers for querying predicted and experimentally validated miRNA target interactions, miRNA aliases, methylation sites, disease associations, drug associations, and PubMed subscriptions without installing the Django backend dependencies.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install modulector-sdk
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ from modulector_sdk import (
15
+ get_mirna_details,
16
+ get_mirna_target_interactions,
17
+ get_mirna_target_validations,
18
+ )
19
+
20
+ details = get_mirna_details("hsa-miR-21-5p")
21
+ interactions = get_mirna_target_interactions(
22
+ mirna="hsa-miR-21-5p",
23
+ gene="PTEN",
24
+ include_pubmeds=True,
25
+ )
26
+ validations = get_mirna_target_validations(
27
+ mirna="hsa-miR-122-5p",
28
+ target="SLC7A1",
29
+ experiment="Western blot",
30
+ )
31
+ ```
32
+
33
+ Set `MODULECTOR_API_BASE_URL` to target a different Modulector deployment:
34
+
35
+ ```bash
36
+ MODULECTOR_API_BASE_URL=https://your-modulector.example.org python script.py
37
+ ```
38
+
39
+ Every service function also accepts a `base_url` keyword argument for
40
+ per-request overrides.
41
+
42
+ ## MCP server
43
+
44
+ The SDK also installs a Model Context Protocol server that exposes the same
45
+ service functions as LLM-callable tools.
46
+
47
+ For local stdio MCP clients:
48
+
49
+ ```bash
50
+ modulector-mcp
51
+ ```
52
+
53
+ Example client configuration:
54
+
55
+ ```json
56
+ {
57
+ "mcpServers": {
58
+ "modulector": {
59
+ "command": "modulector-mcp"
60
+ }
61
+ }
62
+ }
63
+ ```
64
+
65
+ For Streamable HTTP clients:
66
+
67
+ ```bash
68
+ modulector-mcp --transport streamable-http --host 127.0.0.1 --port 8000
69
+ ```
70
+
71
+ Then connect the client to `http://127.0.0.1:8000/mcp`.
72
+
73
+ The server includes tools for predicted and experimentally validated miRNA target interactions, miRNA details and aliases, miRNA identifier resolution, methylation site lookup and annotation, disease associations, drug associations, and PubMed news subscriptions. Use `MODULECTOR_API_BASE_URL` or each tool's `base_url` argument to target a custom Modulector deployment.
74
+
75
+ When deployed with the root Docker Compose stack, nginx proxies the MCP
76
+ Streamable HTTP endpoint at `https://<mydomain.com>/mcp`.
77
+
78
+ ## Development
79
+
80
+ Build this SDK from the `sdk/` directory:
81
+
82
+ ```bash
83
+ uv build
84
+ ```
85
+
86
+ The generated source distribution and wheel are written to `sdk/dist/`.
@@ -1,56 +1,56 @@
1
- [build-system]
2
- requires = ["setuptools==80.9.0"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "modulector-sdk"
7
- version = "2.5.2"
8
- description = "Typed Python SDK for the Modulector API."
9
- readme = "README.md"
10
- requires-python = ">=3.10"
11
- license = "MIT"
12
- license-files = ["LICENSE"]
13
- authors = [
14
- { name = "omicsdatascience" },
15
- ]
16
- keywords = [
17
- "api-client",
18
- "bioinformatics",
19
- "methylation",
20
- "mirna",
21
- "sdk",
22
- ]
23
- classifiers = [
24
- "Development Status :: 4 - Beta",
25
- "Intended Audience :: Developers",
26
- "Intended Audience :: Science/Research",
27
- "Operating System :: OS Independent",
28
- "Programming Language :: Python :: 3",
29
- "Programming Language :: Python :: 3.10",
30
- "Programming Language :: Python :: 3.11",
31
- "Programming Language :: Python :: 3.12",
32
- "Programming Language :: Python :: 3.13",
33
- "Programming Language :: Python :: 3.14",
34
- "Topic :: Internet :: WWW/HTTP",
35
- "Topic :: Scientific/Engineering :: Bio-Informatics",
36
- "Typing :: Typed",
37
- ]
38
- dependencies = [
39
- "mcp==1.27.2",
40
- "requests==2.31.0",
41
- ]
42
-
43
- [project.urls]
44
- API = "https://modulector.multiomix.org/"
45
- Homepage = "https://modulector.multiomix.org/"
46
- Issues = "https://github.com/omics-datascience/modulector/issues"
47
- Repository = "https://github.com/omics-datascience/modulector"
48
-
49
- [project.scripts]
50
- modulector-mcp = "modulector_sdk.mcp_server:main"
51
-
52
- [tool.setuptools.packages.find]
53
- where = ["src"]
54
-
55
- [tool.setuptools.package-data]
56
- modulector_sdk = ["py.typed"]
1
+ [build-system]
2
+ requires = ["setuptools==80.9.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "modulector-sdk"
7
+ version = "2.6.1"
8
+ description = "Typed Python SDK for the Modulector API."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ authors = [
14
+ { name = "omicsdatascience" },
15
+ ]
16
+ keywords = [
17
+ "api-client",
18
+ "bioinformatics",
19
+ "methylation",
20
+ "mirna",
21
+ "sdk",
22
+ ]
23
+ classifiers = [
24
+ "Development Status :: 4 - Beta",
25
+ "Intended Audience :: Developers",
26
+ "Intended Audience :: Science/Research",
27
+ "Operating System :: OS Independent",
28
+ "Programming Language :: Python :: 3",
29
+ "Programming Language :: Python :: 3.10",
30
+ "Programming Language :: Python :: 3.11",
31
+ "Programming Language :: Python :: 3.12",
32
+ "Programming Language :: Python :: 3.13",
33
+ "Programming Language :: Python :: 3.14",
34
+ "Topic :: Internet :: WWW/HTTP",
35
+ "Topic :: Scientific/Engineering :: Bio-Informatics",
36
+ "Typing :: Typed",
37
+ ]
38
+ dependencies = [
39
+ "mcp==1.27.2",
40
+ "requests==2.31.0",
41
+ ]
42
+
43
+ [project.urls]
44
+ API = "https://modulector.multiomix.org/"
45
+ Homepage = "https://modulector.multiomix.org/"
46
+ Issues = "https://github.com/omics-datascience/modulector/issues"
47
+ Repository = "https://github.com/omics-datascience/modulector"
48
+
49
+ [project.scripts]
50
+ modulector-mcp = "modulector_sdk.mcp_server:main"
51
+
52
+ [tool.setuptools.packages.find]
53
+ where = ["src"]
54
+
55
+ [tool.setuptools.package-data]
56
+ modulector_sdk = ["py.typed"]
@@ -1,4 +1,4 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+