# Which PyPI packages work

> Every week wmpy checks the most downloaded PyPI packages, and the ones plugin authors ask for, against the keyboard's Python. See which load, what stops the rest, and which missing features block the most.

URL: https://wmkeyboard.pages.dev/plugins/guides/package-compatibility/
Section: Plugins

Before you try to [vendor a package](https://wmkeyboard.pages.dev/plugins/guides/python-packages/), you
can look it up here. Once a week a job runs `wmpy pip check` on the 500 most
downloaded projects on PyPI and on a list of packages plugin authors reach
for: text, dates, numbers, file formats and small utilities. It records the
verdict for each one and what stopped it.

totals

The verdicts are the ones `wmpy pip check` gives, explained on
[Python packages](https://wmkeyboard.pages.dev/plugins/guides/python-packages/#the-verdicts). A package
counts as working only when the packages it needs work too. **Comes with the
keyboard** means plugins import it without installing it: `requests` and
`httpx`. **Compiled code** means it ships only compiled wheels and needs
their compiled parts: numpy, pandas, Pillow and lxml are like this. A package
whose compiled parts have a Python fallback is checked on that fallback
instead. **Not checked** means wmpy could not resolve or download it.

The keyboard's Python grows between releases, and these results follow the
interpreter wmpy was built from. To check a package against your own copy,
run:

```bash
wmpy pip check humanize
```

## Packages that work

working

## What stops the most packages

The Python features and standard library parts the keyboard lacks, ranked by
how many packages each one stops. **Alone** counts the packages for which it
is the only problem, so adding it would let them load. These lists decide
what the keyboard's Python gets next.

blockers

A message such as `expected ')'` is the keyboard's parser stopping on a line
it cannot read yet. `wmpy pip check NAME` shows that line for any package.

Some packages fail on purpose: they reach for the file system, sockets,
threads, other processes or the interpreter's own internals (frames, code
objects, `sys.settrace`), which plugins go without. Some have a replacement in the
[`wm` package](https://wmkeyboard.pages.dev/plugins/wm-package/), such as `wm.http` for sockets, and
the keyboard ships its own [`requests`, `httpx` and
`urllib.request`](https://wmkeyboard.pages.dev/plugins/guides/requests/) that go through `wm.http`.

blockers

## Every package

Type to filter by name, verdict or description. Click a column to sort.

packages

## How the list is made

The job is `scripts/pypi_compat_survey.py` in the WM Keyboard repository. It
reads the download ranking from
[top-pypi-packages](https://hugovk.github.io/top-pypi-packages/), asks PyPI
what each package's latest release ships, and runs `wmpy pip check NAME
--json` on everything that has a pure-Python wheel or a small source
archive. A package with only compiled wheels and a source archive over 2 MB
is counted as compiled without downloading it. You can run it yourself:

```bash
python3 scripts/pypi_compat_survey.py --wmpy "$(command -v wmpy)" --top 100
```
