Skip to main content

BioClients BioClients logo

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 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

Allen • AMP-T2D • BindingDb • BioGrid • BRENDA • CDC • Chem2Bio2RDF • ChEBI • ChEMBL • Disease Ontology • DisGeNet • DNorm • DrugCentral • EnsEMBL • FDA • Gene Ontology • GWAS Catalog • HUGO • HumanBase • iCite • IDG • JensenLab • LINCS • MaayanLab • Medline • MeSH • MONARCH • MyGene • NCBO • OMIM • Open Targets • Panther • PDB • PubChem • PubMed • PubTator • Reactome • RXNorm • STRINGDB • TCGA • UMLS • UniProt • Wikidata • WikiPathways

Miscellaneous utilities: UTIL

Usage Example

$ python3 -m BioClients.pubchem.Client -h

Design pattern

Generally each module includes command-line app Client.py which calls functions in a corresponding Utils.py, providing all capabilities by import of the module. Functions can write to an output file or return a Pandas dataframe (if output file unspecified).

Data structures and formats, XML, JSON, and TSV

BioClients is designed to be simple and practical, and XML, JSON and 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. TSV represents tables of rows and columns, related by common keys, reflecting the development of SQL and relational databases. Transforming JSON to TSV, as these clients generally do, projects data objects to tables useful for many applications (e.g. machine learning).

Metadata

Release files for bioclients 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bioclients 0.1.7
File Size Uploaded
BioClients-0.1.7.tar.gz 376.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bioclients 0.1.7
File Interpreter ABI Platform
BioClients-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 644.0 kB

Release files / BioClients-0.1.7.tar.gz

Download URL BioClients-0.1.7.tar.gz
Size 376.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b6e5a92cf6554aa8ba8632c490aba7fe74613733b8a8a2b0612aa981ef0dbdde
BLAKE2b-256 checksum
How to use checksums
0835fb8e71e855d7ffaae1e96aeca4054c2ba9d6e1f7feab9c5002b07fef3401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.8

Release files / BioClients-0.1.7-py3-none-any.whl

Download URL BioClients-0.1.7-py3-none-any.whl
Size 268.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
861ab536cb3ae1b69ea26d5a60a5cd4e66d2ff9dc31b05bcdef43ea24f15f17e
BLAKE2b-256 checksum
How to use checksums
5e51fd4f4de146c71aa2b4f441514c6ef2ac21a577f4bd9bf5785814bf00fcb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.8

Release history Release notifications | RSS feed

0.2.37

2 release files

0.2.36

2 release files

0.2.35

2 release files

0.2.34

2 release files

0.2.33

2 release files

0.2.30

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.18

2 release files

0.2.15

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

3 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.3

2 release files

0.2.0

2 release files

0.1.8

2 release files

This release

0.1.7 This release

2 release files

0.1.6

3 release files

0.1.4

3 release files

0.1.3

2 release files

0.1.1

3 release files

0.1.0

3 release files

0.0.9

2 release files

0.0.8

3 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

3 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page