Skip to main content

Lightweight library to work with MediaWiki-API

Project description

WikiService

Lightweight python library for simple MediaWiki-API requests.

Example of usage

from wikiservice import APIService
s = APIService.WikiAPIService(username='John Doe', password='seceretpass',
domain='INC-DOMAIN', api_url='https://wiki-url.org/api.php')

s.login()
s.createPage(title='Sample page', text='There is a sample text')

s.logout()

Project details


Download files

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

Source Distribution

wikiservice-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file wikiservice-0.1.1.tar.gz.

File metadata

  • Download URL: wikiservice-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for wikiservice-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eac5c7c9333a65f1c4641146c5bf8b123ecccd95cafc9962361f11d0ec0e4eca
MD5 dc26a3f8a9352482293a85363dd8f880
BLAKE2b-256 796611462a2a25cbe9ee503678a3380c06f63ac20fb50bc1991de34921676b5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page