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.post1.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.9.post1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for torqueclient-0.2.9.post1.tar.gz
Algorithm Hash digest
SHA256 4fa88a885b556f42dfcf3ef637a5cf0806c81ea230c58a4d82d99a923f22e722
MD5 5b4a76f85cb0a759a888e808c4c0dcf6
BLAKE2b-256 3afc2ae798d36158bb568431646c450ccf45a8279f5345d35f6a3a47e1fb92a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torqueclient-0.2.9.post1-py3-none-any.whl
  • Upload date:
  • Size: 19.9 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.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 08b23d5d4282ef99fa34b41f3929db231cdb326cb2ec9b903e944d5777ca4bb8
MD5 cfa2c5f490ee134d62d332b4d2cb6d7e
BLAKE2b-256 354da5bcb1c85b80e26cb9d6c2d6aab9ebec2dba06c7468ee6de5203aa34fc80

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