tooluniverse 0.1.2__tar.gz → 0.1.4__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.
Potentially problematic release.
This version of tooluniverse might be problematic. Click here for more details.
- {tooluniverse-0.1.2/src/tooluniverse.egg-info → tooluniverse-0.1.4}/PKG-INFO +13 -4
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/README.md +10 -2
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/setup.cfg +1 -1
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/graphql_tool.py +1 -1
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/openfda_tool.py +3 -2
- {tooluniverse-0.1.2 → tooluniverse-0.1.4/src/tooluniverse.egg-info}/PKG-INFO +13 -4
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/LICENSE +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/pyproject.toml +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/__init__.py +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/base_tool.py +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/data/__init__.py +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/data/fda_drug_labeling_tools.json +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/data/fda_drugs_with_brand_generic_names_for_tool.py +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/data/monarch_tools.json +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/data/opentarget_tools.json +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/data/special_tools.json +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/execute_function.py +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/restful_tool.py +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/utils.py +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse.egg-info/SOURCES.txt +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse.egg-info/dependency_links.txt +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse.egg-info/requires.txt +0 -0
- {tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: tooluniverse
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: A collection of biomedical tools designed for use by Agentic AI.
|
|
5
5
|
Home-page: https://github.com/mims-harvard/TxAgent
|
|
6
6
|
Author: Shanghua Gao
|
|
@@ -11,11 +11,12 @@ License-File: LICENSE
|
|
|
11
11
|
Requires-Dist: requests
|
|
12
12
|
Requires-Dist: numpy
|
|
13
13
|
Requires-Dist: graphql-core
|
|
14
|
+
Dynamic: license-file
|
|
14
15
|
|
|
15
16
|
# ToolUniverse
|
|
16
17
|
|
|
17
18
|
[](https://zitniklab.hms.harvard.edu/TxAgent)
|
|
18
|
-
[](https://arxiv.org/pdf/2503.10970)
|
|
19
20
|
[](https://pypi.org/project/txagent/)
|
|
20
21
|
[](https://pypi.org/project/tooluniverse/)
|
|
21
22
|
[](https://github.com/mims-harvard/TxAgent)
|
|
@@ -124,7 +125,15 @@ tooluni.run(query)
|
|
|
124
125
|
## Citation
|
|
125
126
|
|
|
126
127
|
```
|
|
127
|
-
|
|
128
|
+
@misc{gao2025txagent,
|
|
129
|
+
title={TxAgent: An AI Agent for Therapeutic Reasoning Across a Universe of Tools},
|
|
130
|
+
author={Shanghua Gao and Richard Zhu and Zhenglun Kong and Ayush Noori and Xiaorui Su and Curtis Ginder and Theodoros Tsiligkaridis and Marinka Zitnik},
|
|
131
|
+
year={2025},
|
|
132
|
+
eprint={2503.10970},
|
|
133
|
+
archivePrefix={arXiv},
|
|
134
|
+
primaryClass={cs.AI},
|
|
135
|
+
url={https://arxiv.org/abs/2503.10970},
|
|
136
|
+
}
|
|
128
137
|
```
|
|
129
138
|
|
|
130
139
|
## Contact
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# ToolUniverse
|
|
2
2
|
|
|
3
3
|
[](https://zitniklab.hms.harvard.edu/TxAgent)
|
|
4
|
-
[](https://arxiv.org/pdf/2503.10970)
|
|
5
5
|
[](https://pypi.org/project/txagent/)
|
|
6
6
|
[](https://pypi.org/project/tooluniverse/)
|
|
7
7
|
[](https://github.com/mims-harvard/TxAgent)
|
|
@@ -110,7 +110,15 @@ tooluni.run(query)
|
|
|
110
110
|
## Citation
|
|
111
111
|
|
|
112
112
|
```
|
|
113
|
-
|
|
113
|
+
@misc{gao2025txagent,
|
|
114
|
+
title={TxAgent: An AI Agent for Therapeutic Reasoning Across a Universe of Tools},
|
|
115
|
+
author={Shanghua Gao and Richard Zhu and Zhenglun Kong and Ayush Noori and Xiaorui Su and Curtis Ginder and Theodoros Tsiligkaridis and Marinka Zitnik},
|
|
116
|
+
year={2025},
|
|
117
|
+
eprint={2503.10970},
|
|
118
|
+
archivePrefix={arXiv},
|
|
119
|
+
primaryClass={cs.AI},
|
|
120
|
+
url={https://arxiv.org/abs/2503.10970},
|
|
121
|
+
}
|
|
114
122
|
```
|
|
115
123
|
|
|
116
124
|
## Contact
|
|
@@ -108,7 +108,7 @@ class OpentargetToolDrugNameMatch(GraphQLTool):
|
|
|
108
108
|
print("No drug name found in the arguments.")
|
|
109
109
|
return None
|
|
110
110
|
drug_name_results = self.drug_generic_tool.run(name_arguments)
|
|
111
|
-
if 'openfda.generic_name' in drug_name_results:
|
|
111
|
+
if drug_name_results is not None and 'openfda.generic_name' in drug_name_results:
|
|
112
112
|
arguments[each_args] = drug_name_results['openfda.generic_name']
|
|
113
113
|
print("Found generic name. Trying with the generic name: ", arguments[each_args])
|
|
114
114
|
results = execute_query(endpoint_url=self.endpoint_url, query=self.query_schema, variables=arguments)
|
|
@@ -3,6 +3,7 @@ from .base_tool import BaseTool
|
|
|
3
3
|
import copy
|
|
4
4
|
import re
|
|
5
5
|
import json
|
|
6
|
+
import os
|
|
6
7
|
|
|
7
8
|
def check_keys_present(api_capabilities_dict, keys):
|
|
8
9
|
for key in keys:
|
|
@@ -219,7 +220,7 @@ class FDATool(BaseTool):
|
|
|
219
220
|
if self.exists is None:
|
|
220
221
|
self.exists = self.return_fields
|
|
221
222
|
self.endpoint_url = endpoint_url
|
|
222
|
-
self.api_key = api_key
|
|
223
|
+
self.api_key = api_key or os.getenv('FDA_API_KEY')
|
|
223
224
|
|
|
224
225
|
def run(self, arguments):
|
|
225
226
|
arguments = copy.deepcopy(arguments)
|
|
@@ -390,7 +391,7 @@ class FDADrugLabelGetDrugGenericNameTool(FDADrugLabelTool):
|
|
|
390
391
|
}
|
|
391
392
|
|
|
392
393
|
|
|
393
|
-
from data.fda_drugs_with_brand_generic_names_for_tool import drug_list
|
|
394
|
+
from .data.fda_drugs_with_brand_generic_names_for_tool import drug_list
|
|
394
395
|
|
|
395
396
|
self.brand_to_generic = {drug['brand_name']: drug['generic_name'] for drug in drug_list}
|
|
396
397
|
self.generic_to_brand = {drug['generic_name']: drug['brand_name'] for drug in drug_list}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: tooluniverse
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: A collection of biomedical tools designed for use by Agentic AI.
|
|
5
5
|
Home-page: https://github.com/mims-harvard/TxAgent
|
|
6
6
|
Author: Shanghua Gao
|
|
@@ -11,11 +11,12 @@ License-File: LICENSE
|
|
|
11
11
|
Requires-Dist: requests
|
|
12
12
|
Requires-Dist: numpy
|
|
13
13
|
Requires-Dist: graphql-core
|
|
14
|
+
Dynamic: license-file
|
|
14
15
|
|
|
15
16
|
# ToolUniverse
|
|
16
17
|
|
|
17
18
|
[](https://zitniklab.hms.harvard.edu/TxAgent)
|
|
18
|
-
[](https://arxiv.org/pdf/2503.10970)
|
|
19
20
|
[](https://pypi.org/project/txagent/)
|
|
20
21
|
[](https://pypi.org/project/tooluniverse/)
|
|
21
22
|
[](https://github.com/mims-harvard/TxAgent)
|
|
@@ -124,7 +125,15 @@ tooluni.run(query)
|
|
|
124
125
|
## Citation
|
|
125
126
|
|
|
126
127
|
```
|
|
127
|
-
|
|
128
|
+
@misc{gao2025txagent,
|
|
129
|
+
title={TxAgent: An AI Agent for Therapeutic Reasoning Across a Universe of Tools},
|
|
130
|
+
author={Shanghua Gao and Richard Zhu and Zhenglun Kong and Ayush Noori and Xiaorui Su and Curtis Ginder and Theodoros Tsiligkaridis and Marinka Zitnik},
|
|
131
|
+
year={2025},
|
|
132
|
+
eprint={2503.10970},
|
|
133
|
+
archivePrefix={arXiv},
|
|
134
|
+
primaryClass={cs.AI},
|
|
135
|
+
url={https://arxiv.org/abs/2503.10970},
|
|
136
|
+
}
|
|
128
137
|
```
|
|
129
138
|
|
|
130
139
|
## Contact
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tooluniverse-0.1.2 → tooluniverse-0.1.4}/src/tooluniverse/data/fda_drug_labeling_tools.json
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
|
|
File without changes
|
|
File without changes
|