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.2.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.2-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torqueclient-0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2f783e845db25beff52abed46699b61285e78070419844dc5cbb23735d99249e
MD5 ee91b9e61d81b64959e2b0659b50e785
BLAKE2b-256 78b06e6227b8e1f14ff4ea07a79df0df6bb27b3f669d74389146dc6eee0cbace

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torqueclient-0.2.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b3d011dd7688455c1279dd0223e40bffea7418157100bb47164ff0b30d2ae42f
MD5 f5f561a8334449ed389a3286bfd2c549
BLAKE2b-256 98145819c8b2986a2dd160709f2ab37df462c94d56347273c1bc97d23941c872

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