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.3.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.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wme-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 65ac205a377919b9045dc16e6304ba2beca1bbc660de941163e47f477bc10ad8
MD5 d773b3e21f53fd4bc5c37505bb08ee57
BLAKE2b-256 7ecfcd4fdd8388afe2bf97d9f206baa4b6e7076a5403389fb8cb58a3410446cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wme-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0b3ce2b3654698fc50c9d677c6b5ab379c043c35e01c3e3a9233bc894e2a6fc9
MD5 ab9c244a61dc20baa5c84aa823f39ee1
BLAKE2b-256 cf0eee4dbe79393d3c7141554533331220ce58627f16e30e3ce36a3c94be31be

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