Home | Trees | Indices | Help |
|
---|
|
object --+ | DOIQuery
Query DOI numbers.
Convenience module that properly groups queries to CrossRef in order to increase throughput.>>> cnx = DOIQuery(db, user=..., pwd=...) >>> for info in to_resolve: ... cnx.journalSearch(...).addCallback(got_results) >>> cnx.finished()
The 'db' parameter is a database from which the queries and results will be composed. It must conform to the org.pybliographer/crossref/0.1 schema.
The actual queries take place when enough searches have been requested, or when the .finished() method is called.
For each query, a list of possible DOIs is returned. It can possibly be empty if the citation could not be resolved.
In case of a failure in the query protocol itself, the registered errback handlers are called for each query.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
BATCH = 30
|
|||
baseURL =
|
|||
log = logging.getLogger('pyblio.external.crossref')
|
|
|||
Inherited from |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu Sep 13 21:54:19 2007 | http://epydoc.sourceforge.net |