pip install ckill==1.0.1

Cleanly kills a process. Sends a SIGTERM signal, waits for it to die, and if it doesn't, SIGKILL all its subprocesses in the process tree from higher (recent) to lower (former) PID value.

Source
Among fairly niche packages on PyPI.
Over 499 downloads in the last 90 days.

Version usage of ckill

Proportion of downloaded versions in the last 3 months (only versions over 1%).

1.0.1

55.11%

1.0.0

44.89%