Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wbmaker-0.0.7.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

wbmaker-0.0.7-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file wbmaker-0.0.7.tar.gz.

File metadata

  • Download URL: wbmaker-0.0.7.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for wbmaker-0.0.7.tar.gz
Algorithm Hash digest
SHA256 055871756da789f52a59dba188f78085475a132b1b67395f96140d692987521f
MD5 dd0134e973be3bb4dbe55014c1e04753
BLAKE2b-256 eb324e1c65e6bd87ffe6a455129e34815fd323fb92e65674e483eac738aa755e

See more details on using hashes here.

File details

Details for the file wbmaker-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: wbmaker-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for wbmaker-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b1dce47d379144ce8ffbb66f44d0bf7ac31a868e7b62dd26f777bf0bc6fe10f5
MD5 5cf73094c0a773bda7d99971c2970802
BLAKE2b-256 c7a4d62a9dbf25d06e1fde2029ce49af8ec697a7927dd0bccb1c2438b5909e98

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