Readchar

Latest version: v4.2.1

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

4.0.1

added

- `key.DELETE` as an alias for `key.SUPR`

4.0.0

Breaking changes

- the `readkey()` function now raises a `KeyboardInterupt` when `CTRL+C` is pressed. (but `readchar()` can still be used to capture it). This is more inline with the python philosophy (IMHO) and prevents developers from accidentally trapping their users with no option to stop the programm.
- the `ESCAPE_SEQUENCES` variable, it's no longer used

fixes

- windows now returns strings instead of bytestrings, same as on linux
- windows now supports most special characters
- swaped LF and CR, as per 69
- windows actually returns CR on ENTER, so the ENTER variable now points to the appropriate existing variable
- `__all__` should return a list of strings
- f5-f12 had wrong codes on linux
- code coverage is much better now: [![Coverage Status](https://coveralls.io/repos/github/Cube707/python-readchar/badge.svg?branch=master)](https://coveralls.io/github/Cube707/python-readchar?branch=master)

added

- extensive testing for both windows and linux
- automated workflow that runs the test on both platforms
- more keycodes for windows
- add end-of-line-fixer to pre-commit
- add LICENCE (44)
- mac OS and FreeBSD run the linux behavior (note in the README that they are not supported but should work)
- `SHIFT+TAB` support on Linux

removed

- removed python 2.7, 3.4, 3.5 and pypy support

changed

- general cleanup of config and setup files
- bump precommit-hook versions
- simplyfied .yamellinter.yml
- reworked the github actions

4.0.0dev1

I fixed the import issue (88)

4.0.0dev0

this is a preview version of the new v4.0.0 developments for testing. Please feel free to tell us about any issues you encounter with it.

You can use one of this command to install it:

bash

4.0.0.dev0

bash
pip install -U git+https://github.com/magmax/python-readcharv4.0.0-dev0

3.1.0

- corrected metadata
- bump yamllint

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.