Clients to online biomedical resources, usually REST APIs.
Project description
BioClients

Python package for access to online biomedical resources,
usually via REST APIs. Modules generally include
Client.py
for command-line use and Utils.py
for
integration into other code. With the advent of HTTP web services,
first SOAP/XML and then mostly REST/JSON, many online APIs
require very similar methods for data search, requests
and transforms into usable formats, often CSV/TSV.
Availability and installation
Source at https://github.com/jeremyjyang/BioClients;
releases available via pypi.org
:
https://pypi.org/project/BioClients/
(pip3 install BioClients
).
However, current development snapshot recommended.
(First download or clone.)
$ cd BioClients
$ python3 setup.py install
Dependencies
- Python 3.6+
- Python packages:
pandas
,requests
,urllib
,json
,xml
,yaml
,psycopg2
,tqdm
, etc.
Modules
AMP-T2D • BioGrid • BRENDA • Chem2Bio2RDF • ChEMBL • Disease Ontology • DisGeNet • DNorm • DrugCentral • EnsEMBL • FDA • Gene Ontology • GWAS Catalog • HUGO • HumanBase • iCite • IDG • JensenLab • LINCS • MaayanLab • MeSH • MONARCH • OMIM • Open Targets • Panther • PDB • PubChem • PubMed • PubTator • Reactome • RXNorm • STRINGDB • TCGA • TIN-X • UMLS • UniProt
Usage
$ python3 -m BioClients.pubchem.Client -h
Data structures and formats, XML, JSON, and CSV/TSV
BioClients is designed to be simple and practical, and XML, JSON and CSV/TSV are likewise simple in many respects, yet a great deal of conceptual and technological progress is reflected. XML and JSON can represent arbitrarily complex data objects, comprised of nested lists, dictionaries, and trees of primary types. CSV/TSV represents tables of rows and columns, related by common keys, reflecting the development of SQL and relational databases. Transforming JSON to CSV/TSV, as these clients generally do, projects data objects to tables useful for many applications (e.g. machine learning).
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
File details
Details for the file BioClients-0.0.9.tar.gz
.
File metadata
- Download URL: BioClients-0.0.9.tar.gz
- Upload date:
- Size: 133.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
77689945d8b5bc79570a2ac3fcbd570c2e26f58f2651c7e1d8d7ed156cdc8b62
|
|
MD5 |
81f0689b7d0010b3b1155cc9dc468e31
|
|
BLAKE2b-256 |
2796a54cfbfd071f22ca2f9bb4112e09ce48d4ca0738905ad1df67bd029cebc4
|
File details
Details for the file BioClients-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: BioClients-0.0.9-py3-none-any.whl
- Upload date:
- Size: 212.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0e4b9680b381a9eeb2b70530c2265d0a6701e66131479fa79a4170b8dc9d98b7
|
|
MD5 |
623325ebf52572e183d045acadfbd3e3
|
|
BLAKE2b-256 |
7a24a069d89fdf8b7356c96bb09161abfeee3329e678871209a471abdca1f150
|