Metadata-Version: 2.1
Name: wme
Version: 0.1.0
Summary: python library for accessing the Wikimedia Enterprise API
Home-page: https://gitlab.wikimedia.org/repos/future-audiences/wme
License: MIT
Keywords: wikimedia,api,python
Author: Daniel Erenrich
Author-email: derenrich@wikimedia.org
Requires-Python: >=3.11,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: httpx (>=0.27.0,<0.28.0)
Requires-Dist: pydantic (>=2.7.1,<3.0.0)
Project-URL: Repository, https://gitlab.wikimedia.org/repos/future-audiences/wme
Description-Content-Type: text/markdown

# Python Wikimedia Enterprise API

This is not the official API for the Wikimedia Enterprise API.

Currently only supports the on-demand API

```python
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`

