API wrapper for PierianDx web services
Project description
Pyriandx
Pyriandx is an API library for PierianDx genomic web services.
Getting started
Pyriandx can be used as a CLI tool OR a library. Oooh fancy!
Using the CLI
TL;DR
pyriandx --username oldmate@fullysickinstitutiion.com.gov.edu.au --password h4x0r --institution institution-name --json case-file.json my-cool-vcf.vcf
Example case-file.json
is in pyriandx/json/create_case.json
.
PierianDX API client ::: API wrapper for PierianDx web services
Usage:
pyriandx [-hxv] [--username <username>] [--password <password>] [--output-dir <output-dir>] --institution <institution> --json <json-file> <target-vcf>
Options:
-h, --help Prints this help and exit
-v, --version Prints the version and exits
-b, --base_url Base URL for PierianDX service [default: https://app.uat.pieriandx.com/cgw-api/v2.0.0].
-u, --username=username Username for PierianDX service, usually an email address. Overrides environment if it exists.
-p, --password=password Password for PierianDX service. Overrides environment if it exists.
-j, --json JSON file with details for target
-i, --institution=institution Institution to use for API authentication
-o, --output-dir=output-dir Directory to place downloaded reports. [default: output]
-x, --verbose Make output more verbose innit
Environment variables:
DEBUG_HTTP If defined, prints verbose information for all http transactions
USERNAME If defined, uses this as username for authenticating to PierianDX
PASSWORD If defined, uses this as password for authenticating to PierianDX
BASE_URL If defined, uses this as base URL for PierianDX service
Using as a module
Check the examples/
folder for some sweet example code.
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
pyriandx-0.1.13.tar.gz
(7.3 kB
view hashes)
Built Distribution
pyriandx-0.1.13-py3-none-any.whl
(10.0 kB
view hashes)
Close
Hashes for pyriandx-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 358bec30c8bf67a552121609d6d4d1e953fad67239634ba0b36b67562a766163 |
|
MD5 | 9cab5ef0e9bcfdeca759d1152e9eec3c |
|
BLAKE2b-256 | e060a1689f1bc3462e0352aede6c24ec0682d636e320abd40ce4e1f67468c389 |