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.2.5.tar.gz
(19.6 kB
view details)
Built Distribution
File details
Details for the file torqueclient-0.2.5.tar.gz
.
File metadata
- Download URL: torqueclient-0.2.5.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.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72cb767940dbacd93a48f1aaa11bd7e3c3913e63b1dc89cd86f18f11556dc40d |
|
MD5 | e4a5bfc4287ac1ec9f6881a0e1969f9f |
|
BLAKE2b-256 | f1b75ad8b7a0b7fa5d95ced6f0b5ea5ff0b7de0481edbf0c37c197cc9ef1d2c1 |
File details
Details for the file torqueclient-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: torqueclient-0.2.5-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 817ddee3b7faf2b19dd40e5020ba1467a0ef48af8fe7509045dcaa1cae3efa57 |
|
MD5 | af4bff90149156c3637fe2b0277a50e7 |
|
BLAKE2b-256 | 93a05f08a841260b28c0cdca3e8a4ed8000fa5fa10a490d8cff526f89a5ca15c |