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.6.tar.gz (5.3 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.6-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wme-0.1.6.tar.gz
  • Upload date:
  • Size: 5.3 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.6.tar.gz
Algorithm Hash digest
SHA256 e6c2da9aebf410ac8b015e82bf7a420216714612890fa071b51299211a3bff6b
MD5 3f0498e2396df1fb92e1ffebe412d5d6
BLAKE2b-256 dbeb30769fb346206985be7860d874e001e0aaf91b2ae477adb262b8f8c13a99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wme-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2a8dca0621b22e167c29764c0bc49bd9626ed20c2b317ba4e2267e23bbc312f0
MD5 94e2600455fff118374d69cb99dfc9cc
BLAKE2b-256 2018a45f37942a1e454226e8dc8294157b1d07c5489eeeb6c58c6af1bca17fae

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