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. Run poetry run pytest to run tests

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.5.tar.gz (5.2 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.5-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wme-0.1.5.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.5.0

File hashes

Hashes for wme-0.1.5.tar.gz
Algorithm Hash digest
SHA256 a125cb4cb40f234847cadf0ac5e43ec46692df4c61ee494dec97d71c88589ca5
MD5 5df6147d0cc17e0ca2defaf4eb5396c6
BLAKE2b-256 3ef6c26d85af4e662ca3dd0fdf162fdc848c96adee31cfda659c58ec70b68900

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wme-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.5.0

File hashes

Hashes for wme-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 508232c098c3beef1e6befd9039e51607808f59b9607b81e9f1919e4ee036088
MD5 ad4217d2c07d6a81fffc618e6c4926a7
BLAKE2b-256 b7e20011346162551e4dbdc8f78d9193536e1349b6f5a2d69c30dbf6ad04fe9c

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