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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for torqueclient-0.2.tar.gz
Algorithm Hash digest
SHA256 bf845628beec537c78494132adbb49ce66bce72ca86dca86a742ed083872aa5d
MD5 7e59cfecaf588d2f577844bc77c846ae
BLAKE2b-256 1955f9d966d330dfd48519ad65e3eba88bf2c0359cdf435b3923f80a6049d580

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for torqueclient-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89938e1e1dfe5b70b314c0b4f3c62e0e62482269d3591a2e0cd1b484e5aa43d7
MD5 49f91cd10ecf6ab7597dbcebd93bfd40
BLAKE2b-256 00502b5432e9a8da640db908ad40f8d84cc2a339c2d1e3fdb7513ce6d3b934e4

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