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.1.tar.gz (19.4 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.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torqueclient-0.1.tar.gz
  • Upload date:
  • Size: 19.4 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.1.tar.gz
Algorithm Hash digest
SHA256 70b21e05a8b1e72585d5ccaff139f283dda2db5f646eb3538ba337d9fe858e8d
MD5 97fe65c6e9cc36a1b36f2d9edf4f16f3
BLAKE2b-256 2008d632cdd64eff3f9225a51529b1ce3708523c92403e659fe6a3350c86fe48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torqueclient-0.1-py3-none-any.whl
  • Upload date:
  • Size: 19.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0973b4029a4d9253920bdda2d46ec4e2d5e3fd0830ccfb2093e51bc45a7d2095
MD5 26c28b1d9533be8f9f9a70b598dc5edb
BLAKE2b-256 dda678d71649cee1d05b1b529543475962f016a8018624aa3f82f9341c1cb8d7

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