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.4.2.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

torqueclient-0.4.2-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file torqueclient-0.4.2.tar.gz.

File metadata

  • Download URL: torqueclient-0.4.2.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2

File hashes

Hashes for torqueclient-0.4.2.tar.gz
Algorithm Hash digest
SHA256 0a2dca72eebab5d8d2c9c278c600446f6e059c828cf899a0c886a0d27947d93d
MD5 5cc4b128628bc234847e75484d984feb
BLAKE2b-256 6ac7af28105f5869f91cbb73e7395e1830e8a01f40aa408ce6251349326d5f9a

See more details on using hashes here.

File details

Details for the file torqueclient-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: torqueclient-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2

File hashes

Hashes for torqueclient-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4130131837109141a8d1bb6daa44668330e72c9d0a99875c3fadcbf3af17a6f7
MD5 6ab092005c3da1cb92e805d163d74c49
BLAKE2b-256 7d6ecf6176011cda4a944955baa9e9fdac12912c3b3991e4ab042fa484fcad9a

See more details on using hashes here.

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