Home | Trees | Index | Help |
|
---|
Package pywikipedia :: Module sqldump :: Class SQLdump |
|
object
--+
|
SQLdump
Method Summary | |
---|---|
__init__(self,
filename,
encoding)
| |
Generator which reads one line at a time from the SQL dump file, and parses it to create SQLentry objects. | |
yields pages which contain keyword | |
yields pages which contain a string matching the given regular expression | |
yields pages that contain internal links where special characters are encoded as hexadecimal codes, e.g. | |
yields articles that have less than minsize bytes of text | |
yields categories which don't have any supercategory | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
entries(self)Generator which reads one line at a time from the SQL dump file, and parses it to create SQLentry objects. Stops when the end of file is reached. |
query_find(self, keyword)yields pages which contain keyword |
query_findr(self, regex, namespace=None)yields pages which contain a string matching the given regular expression |
query_percentnames(self)yields pages that contain internal links where special characters are encoded as hexadecimal codes, e.g. %F6 |
query_shortpages(self, minsize)yields articles that have less than minsize bytes of text |
query_unmountedcats(self)yields categories which don't have any supercategory |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Jul 03 17:07:38 2005 | http://epydoc.sf.net |