pip install readline0==1.7

Pure Python, relatively-efficient reading of null-terminated lines

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

Version usage of readline0

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

1.7

30.43%

1.0

21.54%

1.3

13.50%

1.4

13.33%

1.1

10.77%

1.2

10.43%