Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Adds support for the standard Python curses module on Windows. Based on these wheels. Uses the PDCurses curses implementation.

The wheels are built from this GitHub repository.

PDCurses is compiled with wide character support, meaning get_wch() is available. UTF-8 is forced as the encoding.

Starting from windows-curses 2.0, in the name of pragmatism, these wheels (but not Gohlke's) include a hack to make resizing work for applications developed against ncurses without Python code changes: Whenever getch(), getkey(), or get_wch() return KEY_RESIZE, resize_term(0, 0) is called automatically. This gives behavior similar to the automatic SIGWINCH handling in ncurses (see PDCurses' resize_term() documentation). This commit implements the hack.

To add the same hack in Python code (which is harmless, and needed if you want resizing to work with older windows-curses versions or with Gohlke's wheels), call curses.resize_term(0, 0) after receiving KEY_RESIZE, and ignore any curses.error exceptions. ncurses reliably fails and does nothing for resize_term(0, 0), so this is safe on *nix.

Please tell me if the resize_term(0, 0) hackery causes you any trouble.

Release files for windows-curses 2.3.1a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for windows-curses 2.3.1a2
File Actions
windows_curses-2.3.1a2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for windows_curses-2.3.1a2-cp311-cp311-win_amd64.whl
windows_curses-2.3.1a2-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details for windows_curses-2.3.1a2-cp311-cp311-win32.whl
windows_curses-2.3.1a2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for windows_curses-2.3.1a2-cp310-cp310-win_amd64.whl
windows_curses-2.3.1a2-cp310-cp310-win32.whl CPython 3.10 CPython 3.10 Windows x86-32 Details for windows_curses-2.3.1a2-cp310-cp310-win32.whl
windows_curses-2.3.1a2-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for windows_curses-2.3.1a2-cp39-cp39-win_amd64.whl
windows_curses-2.3.1a2-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details for windows_curses-2.3.1a2-cp39-cp39-win32.whl
windows_curses-2.3.1a2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for windows_curses-2.3.1a2-cp38-cp38-win_amd64.whl
windows_curses-2.3.1a2-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details for windows_curses-2.3.1a2-cp38-cp38-win32.whl
windows_curses-2.3.1a2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for windows_curses-2.3.1a2-cp37-cp37m-win_amd64.whl
windows_curses-2.3.1a2-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details for windows_curses-2.3.1a2-cp37-cp37m-win32.whl
windows_curses-2.3.1a2-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details for windows_curses-2.3.1a2-cp36-cp36m-win_amd64.whl
windows_curses-2.3.1a2-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details for windows_curses-2.3.1a2-cp36-cp36m-win32.whl

Total release size: 894.6 kB

Release files / windows_curses-2.3.1a2-cp311-cp311-win_amd64.whl

Download URL windows_curses-2.3.1a2-cp311-cp311-win_amd64.whl
Size 80.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
0525fee9c8973a8b41bc6caa84f581e3a701afe6713adf52ddcc88b6c13d92bc
BLAKE2b-256 checksum
How to use checksums
1bb1b1e01d69e7654fb2411ff9563666ada9f261e0c0d002698fffd05c50fa69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp311-cp311-win32.whl

Download URL windows_curses-2.3.1a2-cp311-cp311-win32.whl
Size 69.8 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
49f42c7434605a11d67fae80ec8756e87d2ca57bf76335723d7ba3baf11d4226
BLAKE2b-256 checksum
How to use checksums
a40ef403b024130107cb0ebf8c10d1c812e214384c5f8b66fb2b003dae356828
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp310-cp310-win_amd64.whl

Download URL windows_curses-2.3.1a2-cp310-cp310-win_amd64.whl
Size 80.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c09e1a75fc79f5c361a7998544ac5427eb5188990adbf91716f40f13e263036b
BLAKE2b-256 checksum
How to use checksums
f595f73fe865b50b58b6e29324a2af606f1f6a7336d4fb7e66425ca80c1656f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp310-cp310-win32.whl

Download URL windows_curses-2.3.1a2-cp310-cp310-win32.whl
Size 69.8 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
dbc65104964217930e81fb891cdbd08413c494afadd7634e9aee3986feba6950
BLAKE2b-256 checksum
How to use checksums
f71460060e2775eee53e3e2fdc0f5902576ab085b0d021b5da458ef2a101d71f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp39-cp39-win_amd64.whl

Download URL windows_curses-2.3.1a2-cp39-cp39-win_amd64.whl
Size 89.1 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
b7619b92c721d4b06b44a466ba9d24c70c75223325155d630bfe4ae08924db06
BLAKE2b-256 checksum
How to use checksums
b2c428710cf01f6e943666153d8668d4de85586c43bdccbf51b66fc43ef1bf5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp39-cp39-win32.whl

Download URL windows_curses-2.3.1a2-cp39-cp39-win32.whl
Size 76.5 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
39baa85f82161e98298fe30ad002c540a1064f7df3c635fefe9b513c60b3a24c
BLAKE2b-256 checksum
How to use checksums
95b8f0c15e73a54151937f3e1b4a5558ff15ba668ae91b572ac3db7b3949da30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp38-cp38-win_amd64.whl

Download URL windows_curses-2.3.1a2-cp38-cp38-win_amd64.whl
Size 88.9 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
a0580d10b979581c5e374201e2245c273e568826c93f754a64057b679504a425
BLAKE2b-256 checksum
How to use checksums
9cac12bb081a102f5f5a7863515c3609f48301e5c98c49b9200e6dcf9a7670db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp38-cp38-win32.whl

Download URL windows_curses-2.3.1a2-cp38-cp38-win32.whl
Size 76.3 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
665db838106150b12cbec294c3647e44c228fe6d18a49ed26e9d46b60d183fb9
BLAKE2b-256 checksum
How to use checksums
73ba7d14544935a89b2cc52c6164ae0b93bc1cee9b1721ebb9bde69618dfbf07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp37-cp37m-win_amd64.whl

Download URL windows_curses-2.3.1a2-cp37-cp37m-win_amd64.whl
Size 70.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2ccf0a8f59b97326db05c25cee92acc1b1c419b3c420f1abf727b4af74542c20
BLAKE2b-256 checksum
How to use checksums
51245924fc41ba1fb30b28b6ed29e929215df522ab6b6c8684ff9a181431484a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp37-cp37m-win32.whl

Download URL windows_curses-2.3.1a2-cp37-cp37m-win32.whl
Size 61.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
9bb8d7dc4182637922debc26f7e9574f72ef4cc68879c4c2875e1224f3a4440e
BLAKE2b-256 checksum
How to use checksums
f1d2c462b949f766bec04ce199d8f669b8e873378a4fdb3f5d79495a3ea0d139
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp36-cp36m-win_amd64.whl

Download URL windows_curses-2.3.1a2-cp36-cp36m-win_amd64.whl
Size 70.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
d0c9c47f73272ee6adb2741f71e10a69fdf87476d305584d5388aa9bd9535b01
BLAKE2b-256 checksum
How to use checksums
f871809b2b879409ab57ccafd2fcf38b76315de0ea87cb9624703dd13c01bbce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / windows_curses-2.3.1a2-cp36-cp36m-win32.whl

Download URL windows_curses-2.3.1a2-cp36-cp36m-win32.whl
Size 61.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
0f105fdf18104717eb331f27496dc349bdac2016c55e870053b05d707ee6299c
BLAKE2b-256 checksum
How to use checksums
da2b22edeb7fdd6b072327cc53b82a8fe31fc7fd164e9b1cdb40d0906d48a641
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Security for windows-curses 2.3.1a2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page