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.0.tar.gz (5.1 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.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wme-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5b034b99eb13bcd60480b5c4f375263a3cda29c8ffb6b7b08e2086370bf1d468
MD5 cdf176ef1f75f41129a5a3f496085c1a
BLAKE2b-256 b7ef01359b2dd2a8cb6fab2b554b3ba5cd81e7680331f0bf05ef6bc415975521

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wme-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19b05446e11faaee50b5d8c0abb6fc8f89396ef894c798b959aace0b394cb25b
MD5 059ff84dcc4d6adee40d4631f41ab09a
BLAKE2b-256 a8d038c0e6e94bb8870f8b49f9da8b39312dcd96a470060a9163ff801c748c45

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