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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: torqueclient-0.2.8.tar.gz
  • Upload date:
  • Size: 19.6 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.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2

File hashes

Hashes for torqueclient-0.2.8.tar.gz
Algorithm Hash digest
SHA256 6df4b4e5bd5899775af900fb8928b6eecd6c851bfe7ac83c7b8c8285420b9fea
MD5 4cf53cf1c1a95ea4c6f629e4957ac7e9
BLAKE2b-256 189c50ec24fc42e3d4045da0725c5315404a9021b77a56e849b31cf924abf185

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torqueclient-0.2.8-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.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2

File hashes

Hashes for torqueclient-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 08c3876f49e3831d4888a3df35fad28c2e178138b1b1bd7677c805c8836a53de
MD5 f3bc8d1f5fc5ad8205b11399f9ab2066
BLAKE2b-256 5fbada06a894bba8b2ef401358563798ce7923fa3874665a957141d247c77f17

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