Skip to main content

python library for accessing the Wikimedia Enterprise API

Project description

Python Wikimedia Enterprise API

This is not the official API for the Wikimedia Enterprise API.

Currently only supports the on-demand API

import wme
creds = await wme.auth.login(username, password)
on_demand = wme.on_demand.OnDemand(creds)
results = await on_demand.lookup("Wikimedia Foundation")

Testing

For testing make a .env file with WME_USERNAME and WME_PASSWORD.

Install the pre-commit hooks with poetry run pre-commit install or just run them manually e.g. poetry run ruff check

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

wme-0.1.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wme-0.1.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file wme-0.1.2.tar.gz.

File metadata

  • Download URL: wme-0.1.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.1 Darwin/23.4.0

File hashes

Hashes for wme-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e146d0a71d0276fcf59b239e9fe947d61d7d707b49fb03497b27168d9c402172
MD5 c65e18ebe5f3d3d2cef13b89622b5835
BLAKE2b-256 8b1698aa89a75ec919a3135d4ecaaddc2d52276466ddcdb0973c777714d5f6f4

See more details on using hashes here.

File details

Details for the file wme-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wme-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.1 Darwin/23.4.0

File hashes

Hashes for wme-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66bbd5e1153993c6c8498af91a5ddebb2fdf3c9816dcf064515d515a95e30caf
MD5 7391984bfdaed531bd664a36b03faff0
BLAKE2b-256 bcb470ed678ace0f482a6b76b5475a9bf5a36c69c7de21f0ab84e053c59a99c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page