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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for torqueclient-0.3.0.tar.gz
Algorithm Hash digest
SHA256 915bfc551deb402612e165efae8301730716df4f76c916ab2c1992156accc6b3
MD5 94836d1a63c14402dd62b27ddbd58196
BLAKE2b-256 23d857867557b610baf86be4311ed07bb37db6fb4f7cfdbec9a5282809b2ee27

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for torqueclient-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a348f44ff76c04b007ede939099d621146fa11caea705b4a4ffd5f2c9e2a6424
MD5 9b83293903c99fdaae36715bd5e94778
BLAKE2b-256 d2f655aa1d637d8598160dedb24826001af1253e361c507e3f99e442081bcd96

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