from paws.EpochFail.wikiquality import read_aq, read_page_ids
print(next(read_aq('omgdata')))
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-2-0a935b96a872> in <module>()
----> 1 print(next(read_aq('omgdata')))

paws.EpochFail.wikiquality in read_aq(lang)

RuntimeError: Data for omgdata not available, try ('en', 'fr', 'ru')
print(next(read_aq('en')))
{'timestamp': '20051201000000', 'prediction': 'Stub', 'weighted_sum': 0.10413085831157592, 'title': 'Lost Moon', 'rev_id': 28847753, 'page_id': 3204489}
print(next(read_page_ids('women pages')))
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-4-7b33f095c907> in <module>()
----> 1 print(next(read_page_ids('women pages')))

paws.EpochFail.wikiquality in read_page_ids(group)

RuntimeError: Data for women pages not available, try ('women scientists',)
print(next(read_page_ids('women scientists')))
{'page_id': 9622178}
my_page_ids = set(r['page_id'] for r in read_page_ids('women scientists'))