Establishes a connection to a Wikibase instance and provides methods for interacting with it.
Project description
WBMaker
This alpha package helps establish an authenticated connection with a Wikibase instance and provides a number of functions for building items using the wikibaseintegrator package and working with Wikimedia pages (e.g., "item talk" pages) using the mwclient package. While it is simple enough to work with these packages separately, it is helpful to provide a lightweight layer of abstraction for many of the tasks needed in developing bot-based applications and data processing pipelines.
I am planning on building in additional functionality that I find most commonly used when developing bots that take action on Wikidata or another Wikibase instance.
Installation
pip install wbmaker
or install from source
git clone https://github.com/skybristol/wbmaker
Config.ini
The package assumes availability of a config.ini defaulting to the current directory and containing a default [wb] object with configuration details. These can include a bot user and password for authenticated connections. Parameters can be set when calling the WB() class.
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
Built Distribution
File details
Details for the file wbmaker-0.0.5.tar.gz
.
File metadata
- Download URL: wbmaker-0.0.5.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.10.9 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32480edbdc04a4c9ef3df2beef392f089f2cde54fcf6f77ac7e9234dbd8277ef |
|
MD5 | 08bdf3042b7217f835b479cae011d627 |
|
BLAKE2b-256 | 7a0a0df83183c771fae9c4489bcba4bbb14434b45ffdf730335cd9e2d224518b |
File details
Details for the file wbmaker-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: wbmaker-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.10.9 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2128904f03d14fe5234a8524efc2746bde2af6a0ddca71e7a081343fb7aff00 |
|
MD5 | ebe08e6cd01796ba1c5f52d80e3166fa |
|
BLAKE2b-256 | db05e06c3e48187ed857be46d1a74f2177f6c7825bf2bf20c3ba8f1d101f9eae |