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.4.tar.gz (5.0 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.4-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wme-0.1.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.3 Darwin/24.4.0

File hashes

Hashes for wme-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a6a7c63068bd44ce8052ebed3bb991f4392a39c98931b761f449828e1a115e26
MD5 f7c4dac7af22530b2c4374e4ca1e09cf
BLAKE2b-256 490826dca37b5f1afe42827610a7c754027665a6f25053043c8434b0322f618d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wme-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.3 Darwin/24.4.0

File hashes

Hashes for wme-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 233c5bdec8fcf1e856197afd28d454b3b31d050a4ed50986a00ba8b03aedc600
MD5 688422c8634961bb55bf2dfd1169f9f2
BLAKE2b-256 57f6deca2b4c3aeffbf8f5cee168aaebfcf7bb90d55ec61e292fa3dfbd6ddaa7

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