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
Release history Release notifications | RSS feed
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.4.0.tar.gz
(19.5 kB
view details)
Built Distribution
File details
Details for the file torqueclient-0.4.0.tar.gz
.
File metadata
- Download URL: torqueclient-0.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdbb537f161ec7a171464e4b53024765769a531b7ed155dcbf4ccf2fe5e6a239 |
|
MD5 | eb6c421cddad59108479c7c0a9b3d02d |
|
BLAKE2b-256 | 74f0ae2b7cc7d5a8f57b108faa2f1a679166f16cffdcb2a41f1966b11c41a5d1 |
File details
Details for the file torqueclient-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: torqueclient-0.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | be24652ce509d7f322407384a07ebf4a8603b09e60def3653222ee9a00d8c9f3 |
|
MD5 | e1f1f3c12e0062dbd4faf5d67ca83eaa |
|
BLAKE2b-256 | 9fc7f172b51074be157d1c1c9132623531792cdcee71ef1bc2bcb5157106dbfe |