Skip to main content

Typed Python client and CLI for mirDIP HTTP API

Project description

mirdip-client

Typed Python client and CLI for the mirDIP HTTP API.

CI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mirdip_client-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mirdip_client-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

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

Hashes for mirdip_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c57d2a9569ecadb4ff5584e2e77f7e702c7c19912a931a4de38f5dad31d7fb13
MD5 d85b1a27f8ef5eecc8ecac56c0607d5e
BLAKE2b-256 cbaa26878bbd19e9af9d16f2d51d755d6074f3a7126ecaf5f35ab9cc25ed5d70

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirdip_client-0.1.0.tar.gz:

Publisher: publish.yml on jaimefalcon/mirDIP-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for mirdip_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a2d9f684fe2c4bd37f6e68faea54fa72365913a8952a25ec22d68aa255e1805
MD5 403e6e6f14f21ea8835736e09aafc1c4
BLAKE2b-256 da3acac28d5da368a885c9c21b215dac59e0454a051997a2d9338a7651975fe0

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirdip_client-0.1.0-py3-none-any.whl:

Publisher: publish.yml on jaimefalcon/mirDIP-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page