Skip to main content

Python client for mediawiki/torque

Project description

torqueclient

Library to interface with a torque server running behind mediawiki. It creates a nicer programmattic interface with local caching options for the more cumbersome rest interface that the torque mediawiki extension creates.

Usage

The basic usage is:

from torqueclient import Torque

torque = Torque("<URL>", "<username>", "<password>")

print(torque.collections["<collection_name>"].documents["<document_key>"]["<field>"]

See the inline documentation for more information.

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

torqueclient-0.6.3.tar.gz (20.6 kB view hashes)

Uploaded Source

Built Distribution

torqueclient-0.6.3-py3-none-any.whl (20.9 kB view hashes)

Uploaded Python 3

Supported by

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