Typed Python client and CLI for mirDIP HTTP API
Project description
mirdip-client
Typed Python client and CLI for the mirDIP HTTP API.
Install
pip install .
Usage (Python)
from mirdip_client import MirDIPClient
client = MirDIPClient()
resp = client.search_genes("AKAP17A,AKR1C2,APP,ZZZ3,MARK4,C17orf51", "Very High")
print(resp.results_size)
print(resp.results) # Tab-delimited
Pandas helper
The results field is a tab-delimited string. To convert to a DataFrame:
import pandas as pd
from io import StringIO
# results contains header row followed by rows
df = pd.read_csv(StringIO(resp.results), sep="\t")
CLI
mirdip genes "AKAP17A,AKR1C2" "Very High"
mirdip micrornas "hsa-miR-603,hsa-let-7a-3p" "High"
mirdip bidirectional "AKAP17A,APP" "hsa-miR-603" "Medium" "TargetScan_v7_2" 2
Notes
- Base URL defaults to
http://ophid.utoronto.ca/mirDIP. - Score classes: Very High, High, Medium, Low.
- Responses include raw text and parsed fields.
Contributing
See CONTRIBUTING.md for development and release instructions.
Project details
Release history Release notifications | RSS feed
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 mirdip_client-0.1.0.tar.gz.
File metadata
- Download URL: mirdip_client-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c57d2a9569ecadb4ff5584e2e77f7e702c7c19912a931a4de38f5dad31d7fb13
|
|
| MD5 |
d85b1a27f8ef5eecc8ecac56c0607d5e
|
|
| BLAKE2b-256 |
cbaa26878bbd19e9af9d16f2d51d755d6074f3a7126ecaf5f35ab9cc25ed5d70
|
Provenance
The following attestation bundles were made for mirdip_client-0.1.0.tar.gz:
Publisher:
publish.yml on jaimefalcon/mirDIP-Python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mirdip_client-0.1.0.tar.gz -
Subject digest:
c57d2a9569ecadb4ff5584e2e77f7e702c7c19912a931a4de38f5dad31d7fb13 - Sigstore transparency entry: 569678267
- Sigstore integration time:
-
Permalink:
jaimefalcon/mirDIP-Python@7c5c216fe5aa5f7ff1cb880dabfc5adca303a44e -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jaimefalcon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7c5c216fe5aa5f7ff1cb880dabfc5adca303a44e -
Trigger Event:
push
-
Statement type:
File details
Details for the file mirdip_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mirdip_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a2d9f684fe2c4bd37f6e68faea54fa72365913a8952a25ec22d68aa255e1805
|
|
| MD5 |
403e6e6f14f21ea8835736e09aafc1c4
|
|
| BLAKE2b-256 |
da3acac28d5da368a885c9c21b215dac59e0454a051997a2d9338a7651975fe0
|
Provenance
The following attestation bundles were made for mirdip_client-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on jaimefalcon/mirDIP-Python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mirdip_client-0.1.0-py3-none-any.whl -
Subject digest:
5a2d9f684fe2c4bd37f6e68faea54fa72365913a8952a25ec22d68aa255e1805 - Sigstore transparency entry: 569678273
- Sigstore integration time:
-
Permalink:
jaimefalcon/mirDIP-Python@7c5c216fe5aa5f7ff1cb880dabfc5adca303a44e -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jaimefalcon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7c5c216fe5aa5f7ff1cb880dabfc5adca303a44e -
Trigger Event:
push
-
Statement type: