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

Class Citeseer

source code

object --+    
         |    
 IExternal --+
             |
            Citeseer

A connection to Citeseer.

Instance Methods [hide private]
 
__init__(self, db)
Create a new external query interface.
source code
 
_query(self, query, start=0) source code
 
count(self, query)
Return the number of matches for the specified query.
source code
 
search(self, query, maxhits=100)
Return the number of matches for the specified query and a ResultSet() with the records that have been retrieved (at most maxhits).
source code
 
cancel(self)
Cancel a pending query.
source code

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

Class Variables [hide private]
  schema = 'org.pybliographer/bibtex/0.1'
  BATCH_SIZE = 50
  FETCHER_POOL = 2
  MIRRORS = ['http://citeseer.ist.psu.edu/cis', 'http://citeseer...
  baseURL = 'http://citeseer.ittc.ku.edu/cs'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, db)
(Constructor)

source code 
Create a new external query interface.

Args:
  db: Pyblio.Store.Database

Overrides: IExternal.__init__
(inherited documentation)

count(self, query)

source code 
Return the number of matches for the specified query.

Args:
  query: string
Return:
  twisted.internet.defer.Deferred() -> int

Overrides: IExternal.count
(inherited documentation)

search(self, query, maxhits=100)

source code 
Return the number of matches for the specified query and a
ResultSet() with the records that have been retrieved (at most
maxhits).

Args:
  query: string
  maxhit: integer
Return:
  (twisted.internet.defer.Deferred() -> int,
   Pyblio.Store.ResultSet)

Overrides: IExternal.search
(inherited documentation)

cancel(self)

source code 
Cancel a pending query.
Overrides: IExternal.cancel
(inherited documentation)

Class Variable Details [hide private]

MIRRORS

Value:
['http://citeseer.ist.psu.edu/cis', 'http://citeseer.ittc.ku.edu/cs']