Skip to main content

Wikisource Dedicated Python API library

Project description

pywikisource

This library contains the basic API operations like

  • Number of Index Book
  • Current page quality status
  • Proofreader of page
  • Validator of page

It is wikisource dedicated API library.

Demo

from pywikisource import WikiSourceApi

# Create the Wikisource object
WS = WikiSourceApi('en')

# Get page list
pageList = WS.createdPageList('Landon in Literary Gazette 1833.pdf')
for page in pageList:
    print(page)
    

# Get the number of pages of Index Book
print(WS.numpage('Landon in Literary Gazette 1833.pdf'))

# Get the proofreader of single page
print(WS.proofreader('Page:Landon_in_Literary_Gazette_1833.pdf/3'))


# Get the validator of single page
print(WS.validator('Page:Landon_in_Literary_Gazette_1833.pdf/3'))

Author

Licence

This is Free Software, released under the MIT.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pywikisource, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pywikisource-0.0.1-py3.6.egg (4.8 kB) File type Egg Python version 3.6 Upload date Hashes View hashes
Filename, size pywikisource-0.0.1-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pywikisource-0.0.1.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page