Translator Component Toolkit
Project description
Introduction
What is TCT?
Translator Component Toolkit is a python library that allowing users to explore and use KGs in the Translator ecosystem. Users can check out the key function documentations here: https://ncatstranslator.github.io/Translator_component_toolkit/
Key features for TCT
Allowing users to select APIs, predicates according to the user's intention.
Parallel and fast quering of the selected APIs.
Providing reproducible results by setting contraints.
Allowing testing whether a user defined API follows a TRAPI standard or not.
Faciliting to explore knowledge graphs from both Translator ecosystem and user defined APIs.
Connecting large language models to convert user's questions into TRAPI queries.
How to use TCT
Install Requirments
To install TCT as a python library, you can install the library using pip install TCT from the command line. The current released version is TCT.0.1.0. This the recommended approach for installation.
The TCT is continuously updated, if you would like to use the latest functions, you can also clone this repository, and then run pip install -e . from this folder.
Please follow the example notebooks (four utilities) below to explore the Translator APIs.
KG overview
Explore different KGs KG overview
Connection finder
Example notebook for ConnectionFinder
Path finder
Example notebook for PathFinder
Network finder
Example notebook for NetworkFinder
Translate users' questions into TRAPI queries
Example notebook for translating users' questions into TRAPI queries can be found here.
Connecting to a user's API
API should be developed following the standard from TRAPI.
An example notebook for add a user's API can be found here.
Warning: It does not work if no user' API is established
Key Translator components
Connecting to key Translator components can be found here
Contributing
TCT is a tool that helps to explore knowledge graphs developed in the Biomedical Data Translator Consortium. Consortium members and external contributors are encouraged to submit issues and pull requests.
Contact info
Guangrong Qin, guangrong.qin@isbscience.org
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tct-0.1.2.tar.gz.
File metadata
- Download URL: tct-0.1.2.tar.gz
- Upload date:
- Size: 7.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b71010438303e9d9a2b3c8e416a0bf6af535d252f2943ed14a96e3cbbd5dc844
|
|
| MD5 |
70200339f9522ba74c76810e0a6b6806
|
|
| BLAKE2b-256 |
94e506d3ee8e3b1645ec5f2ec964c3dc43cc1a1d8527b887e5c84160a4b7d4ce
|
File details
Details for the file tct-0.1.2-py3-none-any.whl.
File metadata
- Download URL: tct-0.1.2-py3-none-any.whl
- Upload date:
- Size: 39.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdf513e1bb9f8330a017048287c36a0ee84b1861074658a8668604ca29ed0778
|
|
| MD5 |
fd8fa27f59cae67440096f17cbb42891
|
|
| BLAKE2b-256 |
49306e89a72b25c1dbdfd5463012495692903bfee511f742bc1b5809116781cc
|