source: orange-bioinformatics/orangecontrib/bio/obiKEGG/service.py @ 1873:0810c5708cc5

Revision 1873:0810c5708cc5, 472 bytes checked in by Ales Erjavec <ales.erjavec@…>, 7 months ago (diff)

Moved '_bioinformatics' into orangecontrib namespace.

Line 
1"""
2
3"""
4from __future__ import absolute_import
5
6KEGG_WDSL = "http://soap.genome.jp/KEGG.wsdl"
7
8REST_API = "http://rest.kegg.jp/"
9
10
11def slumber_service():
12    """
13    Return a rest based service using `slumber` package
14    """
15    import slumber
16    if not hasattr(slumber_service, "_cached"):
17        slumber_service._cached = slumber.API(REST_API)
18    return slumber_service._cached
19
20
21from . import conf
22
23default_service = slumber_service
24
25web_service = slumber_service
Note: See TracBrowser for help on using the repository browser.