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.9.tar.gz (19.5 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.9-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torqueclient-0.2.9.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.2.9.tar.gz
Algorithm Hash digest
SHA256 b9a1e91430c88e3055e9dfe473f8b33eb3db74a05578a00bce929f998b938cb5
MD5 3455bc43f4e1c7158971e716f8ce3ccc
BLAKE2b-256 c5a8838a8b17a63b375859ea2b9b3c5a3f5137d191afc1f77471919561b7f30d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torqueclient-0.2.9-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.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5011de32472d246a3d7f26f76cafb023346c9b201240140712f91944d0d1ad3b
MD5 42bd167b5d52d71759190b4d27979b8c
BLAKE2b-256 539dd175c686492599af04fda992da227e8da859042dda477344656b0c4a925f

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