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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: torqueclient-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 465f74fbbeda714261c6360354304d824de40b089382a38758b6717f51b73b58
MD5 cd4e1727d0db2875499f1fbf5ff5f280
BLAKE2b-256 8139f6500fdf8053ccbbd13f8772733f8ee7d62606d3fa2d78e3e23b7504a083

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torqueclient-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77271b2c56008bfb7969e5122f7d29cdac516fa71d2af659cd73465bbd3f11b7
MD5 c6abce3ac25b9cf4ec4441ec2a092e03
BLAKE2b-256 14f59deb84e6e5aa27d66226d3d590497dcd35e7ed9938f17de988a2599fd84e

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