Skip to main content

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, etc.

Modules

AMP-T2DBioGridBRENDAChem2Bio2RDFChEMBLDisease OntologyDisGeNetDNormDrugCentralEnsEMBLFDAGene OntologyGWAS CatalogHUGOHumanBaseiCiteIDGJensenLabLINCSMaayanLabMeSHMONARCHOMIMOpen TargetsPantherPDBPubChemPubMedPubTatorReactomeRXNormSTRINGDBTIN-XUMLSUniProt

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, the relational db view, flattened as needed for many applications (e.g. ML) but related by common keys. Transforming REST JSON results to CSV/TSV, as these clients generally do, projects data structures to tables useful for many applications.

Download files

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

Source Distribution

BioClients-0.0.4.tar.gz (134.4 kB view details)

Uploaded Source

Built Distributions

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

BioClients-0.0.4-py3.8.egg (458.9 kB view details)

Uploaded Egg

BioClients-0.0.4-py3-none-any.whl (195.5 kB view details)

Uploaded Python 3

File details

Details for the file BioClients-0.0.4.tar.gz.

File metadata

  • Download URL: BioClients-0.0.4.tar.gz
  • Upload date:
  • Size: 134.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for BioClients-0.0.4.tar.gz
Algorithm Hash digest
SHA256 67209c730f809fa3418604b8e99e57a5848423d13ebd82172be5f7e3fdfc76cd
MD5 ac9fb3c611e7a7830d90628d4b5f5511
BLAKE2b-256 6c8ef842c372a8a5f81906e3483ce67ad2808848eb5ae8f4805143c99402c57c

See more details on using hashes here.

File details

Details for the file BioClients-0.0.4-py3.8.egg.

File metadata

  • Download URL: BioClients-0.0.4-py3.8.egg
  • Upload date:
  • Size: 458.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for BioClients-0.0.4-py3.8.egg
Algorithm Hash digest
SHA256 7e43e9097274fe58c171acdbb1bdcdb76c65c9c471ebcd4ed2cc8070918a6bb2
MD5 0b8663bf5c8e064f3569bb755ecbd157
BLAKE2b-256 338e9fbaca70e33435cb8ee76b5411adf9e02a3eb4c54e1e8c537b11e8a2dd2d

See more details on using hashes here.

File details

Details for the file BioClients-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: BioClients-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 195.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for BioClients-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e85228721563ca622c19d04c1c50868b2b4f108b7d647a3d6d78c65b3239bc24
MD5 d4a0fa91723799704f289ee424b6c316
BLAKE2b-256 b65acb20f1d17abc7bff55959d85c2376e09326156f87f71d3a8f80c2ff53987

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.35

2 files

0.2.34

2 files

0.2.33

2 files

0.2.30

2 files

0.2.20

2 files

0.2.19

2 files

0.2.18

2 files

0.2.16

2 files

0.2.15

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

3 files

0.2.8

2 files

0.2.7

2 files

0.2.3

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

3 files

0.1.4

3 files

0.1.3

2 files

0.1.1

3 files

0.1.0

3 files

0.0.9

2 files

0.0.8

3 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

This release

0.0.4 This release

3 files

0.0.3

2 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