Package Pyblio :: Package External :: Module PubMed :: Class PubMed
[hide private]
[frames] | no frames]

Class PubMed

source code

object --+
         |
        PubMed

A connection to the PubMed database

Instance Methods [hide private]
 
__init__(self, db)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_query(self, service, args, **kargs) source code
 
count(self, query, db='PubMed') source code
 
search(self, query, maxhits=500, db='PubMed') source code
 
cancel(self)
Cancel a running query.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  schema = 'org.pybliographer/pubmed/0.1'
  baseURL = 'http://eutils.ncbi.nlm.nih.gov/entrez/eutils'
  BATCH_SIZE = 500
  toolName = 'pybliographer'
  adminEmail = 'webmaster@pybliographer.org'
  log = logging.getLogger('pyblio.external.pubmed')
  SRV_SEARCH = '/esearch.fcgi'
  SRV_FETCH = '/efetch.fcgi'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, db)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

cancel(self)

source code 
Cancel a running query. The database is not reverted to its original state.