Skip to main content

UMLS-Graph

Build a medical knowledge graph based on Unified Language Medical System (UMLS)

Requisite

Install MySQL Server 5.6 and import UMLS data into MySQL database. Please refer to UMLS websites on how to install the UMLS database.

Installation

pip install umls-graph

Let Codes Speak

from umls_graph.dataset import make_umls_all

# MySQL database information
mysql_info = {}
mysql_info["database"] = "umls"
mysql_info["username"] = "root"
mysql_info["password"] = "{not gonna tell you}"
mysql_info["hostname"] = "localhost"

# read all UMLS table and save them to csv formatted files in a specific folder
make_umls_all(mysql_info=mysql_info,save_folder="umls_datasets")

License

The umls-graph project is provided by Donghua Chen.

NOTE: This project DOES NOT provide the UMLS data download due to the license issue. In addition, the processed data are not verified in actual clinical use. Please be response for any UMLS data use.

Metadata

Release files for umls-graph 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for umls-graph 0.0.2
File Size Uploaded Provenance Actions
umls-graph-0.0.2.tar.gz 16.1 kB Without provenance Details for umls-graph-0.0.2.tar.gz

Release files / umls-graph-0.0.2.tar.gz

Download URL umls-graph-0.0.2.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e58c9a54e840e9111f5c817489dc116420e609fd41ef0cb57ad7eda481a815c1
BLAKE2b-256 checksum
How to use checksums
267899dcf5cd5467762c5dd8072f11e95f693702d87b3d668d84e89e0e365866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

Security for umls-graph 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page