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.6.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

wbmaker-0.0.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wbmaker-0.0.6.tar.gz
  • Upload date:
  • Size: 3.7 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.6.tar.gz
Algorithm Hash digest
SHA256 b1654e3f68d09686cf9d7b057cf0348c3fb70ff0de1ecc358c23aa4422bcc7bb
MD5 bae8d6879873f1df56e0ee0cb96ba73d
BLAKE2b-256 7bed8a7791add0e8c810a29b76192a62aca2209a1462f9e74f97121d2e6b29b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wbmaker-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2f557ac43d2c03499c0b0b5aa087b2b592aa1f45a74238a199fd0853df39e01e
MD5 85d30e0769c64373bf18af78eaf4db49
BLAKE2b-256 61805d1b16b4029ed9576748aa24f48d4e77c720df21b6e3c7a41a8c9c33e2d2

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