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

AllenAMP-T2DBindingDbBioGridBRENDACDCChem2Bio2RDFChEMBLDisease OntologyDisGeNetDNormDrugCentralEnsEMBLFDAGene OntologyGWAS CatalogHUGOHumanBaseiCiteIDGJensenLabLINCSMaayanLabMeSHMONARCHMyGeneNCBOOMIMOpen TargetsPantherPDBPubChemPubMedPubTatorReactomeRXNormSTRINGDBTCGA • • UMLSUniProtWikidataWikiPathways

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

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.1.6.tar.gz (366.0 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.1.6-py3.8.egg (593.7 kB view details)

Uploaded Egg

BioClients-0.1.6-py3-none-any.whl (250.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: BioClients-0.1.6.tar.gz
  • Upload date:
  • Size: 366.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.5

File hashes

Hashes for BioClients-0.1.6.tar.gz
Algorithm Hash digest
SHA256 0059bfd619d956e97744e40276be8a2199a5072edc0c9d488eb1568b525c2c0b
MD5 81edbcac1404febcb2dcf7ae3b0577af
BLAKE2b-256 f91d1aaae34a9916031319a48c49b025d6fb5e764793d81243202c24e3297afa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: BioClients-0.1.6-py3.8.egg
  • Upload date:
  • Size: 593.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.5

File hashes

Hashes for BioClients-0.1.6-py3.8.egg
Algorithm Hash digest
SHA256 f4a03149247483a2fecb39083968dc6800de93820dabb30d40b9580769f9b1a9
MD5 fa8290ce74f2eab312cdc0e11b2a21b0
BLAKE2b-256 d07fd4f5a68533a52a76618ca818984ffe11f4f34f80bf6139a5fdd837cc14e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: BioClients-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 250.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.1 CPython/3.8.5

File hashes

Hashes for BioClients-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 abe7d5faf5043ada2afdf3331975b130cc0aeb842bb7fbbd3729dcfbcd5d8b70
MD5 80779ec9f70afdf0240e168207b16187
BLAKE2b-256 16475f4054068ab399d8e0eeb3c6c791fa16b80469a85df9eaea18fb1aefb2ad

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

This release

0.1.6 This release

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

0.0.4

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