Project Description for drug-repurposing-extract
This is a Python package for drug repurposing data extraction. You can use it to retrieve and analyze data related to specific compound IDs (CIDs) for potential drug repurposing.
Installation
You can install the package using pip:
pip install drug-repurposing-extract
Usage
Import the package
import drug_repurposing
from drug_repurposing import get_data
Generate CSV File from CID List
To generate a CSV file from a list of CIDs (Compound IDs), you can use the generate_data_from_list function:
get_data.generate_data_from_list([942, 1070])
Generate CSV List from Uploading a CSV File of CID List
You can also generate a CSV file from a list of CIDs by uploading a CSV file containing the CID list. Here's how you can do it in a Google Colab environment:
from google.colab import files
import io
import pandas as pd
uploaded = files.upload()
uploaded_file = list(uploaded.values())[0]
df = pd.read_csv(io.BytesIO(uploaded_file))
data = df["cid"].values
get_data.generate_data_from_list(data)
Predicting the CIDs Data
To predict data based on CIDs, you can follow these steps:
Make sure you have a CSV file (e.g., complete_data.csv) generated from the previous steps.
Read the CSV file using pandas:
import pandas as pd
df = pd.read_csv("complete_data.csv")
Use the predict_data function to perform predictions:
get_data.predict_data(df)
Metadata
Release files for drug-repurposing-extract 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| drug_repurposing_extract-0.2.3.tar.gz | 1.3 MB | Without provenance | Details for drug_repurposing_extract-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drug_repurposing_extract-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for drug_repurposing_extract-0.2.3-py3-none-any.whl |
Total release size: 2.7 MB
Release files / drug_repurposing_extract-0.2.3.tar.gz
| Download URL | drug_repurposing_extract-0.2.3.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55ffdf0135cb2ff0a58f684292ff5b888278d424d8fb48ddab3f024407048373
|
|
BLAKE2b-256 checksum How to use checksums |
b8bb244e4cee8c2bc93210a6ee34f9bc84f3cac9833de55ace6ca666cf6da211
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.13
|
Release files / drug_repurposing_extract-0.2.3-py3-none-any.whl
| Download URL | drug_repurposing_extract-0.2.3-py3-none-any.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b01d3832948cc2cbfd3ea1053adc5faf2a56dfd49cd77d96df97f4410a93c42
|
|
BLAKE2b-256 checksum How to use checksums |
edb7adf1fbd1b133a9cfa4265e24339fcec9dd3faa68e6cb26f431236433fcda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.13
|
Security for drug-repurposing-extract 0.2.3
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.