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.

Metadata

Release files for windows-curses 2.4.0a5

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.4.0a5
File Actions
windows_curses-2.4.0a5-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for windows_curses-2.4.0a5-cp312-cp312-win_amd64.whl
windows_curses-2.4.0a5-cp312-cp312-win32.whl CPython 3.12 CPython 3.12 Windows x86-32 Details for windows_curses-2.4.0a5-cp312-cp312-win32.whl
windows_curses-2.4.0a5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for windows_curses-2.4.0a5-cp311-cp311-win_amd64.whl
windows_curses-2.4.0a5-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details for windows_curses-2.4.0a5-cp311-cp311-win32.whl
windows_curses-2.4.0a5-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for windows_curses-2.4.0a5-cp310-cp310-win_amd64.whl
windows_curses-2.4.0a5-cp310-cp310-win32.whl CPython 3.10 CPython 3.10 Windows x86-32 Details for windows_curses-2.4.0a5-cp310-cp310-win32.whl
windows_curses-2.4.0a5-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for windows_curses-2.4.0a5-cp39-cp39-win_amd64.whl
windows_curses-2.4.0a5-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details for windows_curses-2.4.0a5-cp39-cp39-win32.whl
windows_curses-2.4.0a5-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for windows_curses-2.4.0a5-cp38-cp38-win_amd64.whl
windows_curses-2.4.0a5-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details for windows_curses-2.4.0a5-cp38-cp38-win32.whl
windows_curses-2.4.0a5-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for windows_curses-2.4.0a5-cp37-cp37m-win_amd64.whl
windows_curses-2.4.0a5-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details for windows_curses-2.4.0a5-cp37-cp37m-win32.whl
windows_curses-2.4.0a5-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details for windows_curses-2.4.0a5-cp36-cp36m-win_amd64.whl
windows_curses-2.4.0a5-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details for windows_curses-2.4.0a5-cp36-cp36m-win32.whl

Total release size: 1.1 MB

Release files / windows_curses-2.4.0a5-cp312-cp312-win_amd64.whl

Download URL windows_curses-2.4.0a5-cp312-cp312-win_amd64.whl
Size 81.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
4300389cd49dc2805aa492beefe06ca8fa750136e90df5f0769c753de7276449
BLAKE2b-256 checksum
How to use checksums
365c50e649613ef616b8d27cd0cf0bab1de161635799a2a4a5a245aefd722b37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp312-cp312-win32.whl

Download URL windows_curses-2.4.0a5-cp312-cp312-win32.whl
Size 71.4 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
ab51d31fb6f679e7df08e809644c6a796be18032648c4d654c8016e2ab477edd
BLAKE2b-256 checksum
How to use checksums
9b3b9d336a115bd2f0bf0bebd1343d98b23dc22a7975b0f064f9d3e11e91e8a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp311-cp311-win_amd64.whl

Download URL windows_curses-2.4.0a5-cp311-cp311-win_amd64.whl
Size 81.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
8c2de9ce3a0903d97288891dc7b7ab68725705e593857f9fb51e37d4376f6842
BLAKE2b-256 checksum
How to use checksums
4e32a4bffbcb8c27bad45d465c38b4a73384fd0d870404443f0783f764cdc3ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp311-cp311-win32.whl

Download URL windows_curses-2.4.0a5-cp311-cp311-win32.whl
Size 71.2 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
0417a17d1ea9d25800600a608ea6f6e0bdc0ff9697c87c0ebbff1d1243cccc09
BLAKE2b-256 checksum
How to use checksums
c44268b923bdf92ad15138f4e76a1861410c20206b750307c61553fbda0168e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp310-cp310-win_amd64.whl

Download URL windows_curses-2.4.0a5-cp310-cp310-win_amd64.whl
Size 81.5 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
71d93d5fd5d507154648db1c5662577a84e7f8e2a8ffedc8da8d546a7dd0b0be
BLAKE2b-256 checksum
How to use checksums
a09e68473a62169cc9e11c14dbbe1ce6fb68b6c6ac0df16e1fa8a95ba941416c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp310-cp310-win32.whl

Download URL windows_curses-2.4.0a5-cp310-cp310-win32.whl
Size 71.2 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
8b4dab546f238b6c78452c8ec772fb2e8c786cdfe241ceecc1759f7420e1ef43
BLAKE2b-256 checksum
How to use checksums
9f9ed02699574ae20af0d4c7825b0704a642c9c780099d4b46ee4ce372303010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp39-cp39-win_amd64.whl

Download URL windows_curses-2.4.0a5-cp39-cp39-win_amd64.whl
Size 89.6 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
0d004514b76e9fd4df402b9f223632f7baa38f409374af530f17d1ef51c0d684
BLAKE2b-256 checksum
How to use checksums
3fb69e1b12a3c837630d70f1ce00b5ac520c977af07d624e7f67f73be96023bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp39-cp39-win32.whl

Download URL windows_curses-2.4.0a5-cp39-cp39-win32.whl
Size 76.9 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
3dae1f4e4378701668d8dcaef8df274df7bac53dbcbe9ac3a9311ac00b45a437
BLAKE2b-256 checksum
How to use checksums
1806e0299591b2b87f3ba887ab3d0d3f85822dbe29e03eae1b217d9f80c452c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp38-cp38-win_amd64.whl

Download URL windows_curses-2.4.0a5-cp38-cp38-win_amd64.whl
Size 89.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
f1cdc1cc8c0ecb58990b2672d8109456fd3dcd1076fa60fe8c07c75eef8ba510
BLAKE2b-256 checksum
How to use checksums
807ada65f4aa70fea742705b53b42b88c3c9e39f3ce888a15de4ccdec797c0a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp38-cp38-win32.whl

Download URL windows_curses-2.4.0a5-cp38-cp38-win32.whl
Size 76.5 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
8a159ddf60d9a26d3cce7d74a66beffae0617c2c8ff26cc84761c8ae81811976
BLAKE2b-256 checksum
How to use checksums
c33da7f3a04180b8803ede8883b2873d3b5a697647fb25450fd739a3402d2fb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp37-cp37m-win_amd64.whl

Download URL windows_curses-2.4.0a5-cp37-cp37m-win_amd64.whl
Size 70.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
9dc95ba6402cd846a1ca36ca652a706b94fb13d9ca187c13eae629d657f6743f
BLAKE2b-256 checksum
How to use checksums
25b79ab02e3de31a050d5f513f65a2bacd608dc33b9fd775f5c9e70c61cd0c54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp37-cp37m-win32.whl

Download URL windows_curses-2.4.0a5-cp37-cp37m-win32.whl
Size 61.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
32eacae8f99aad56a2fbac2f82cfd2aa8594149195a3b2d7227a2b1983a379c5
BLAKE2b-256 checksum
How to use checksums
2da85b872164efd1cddbd4ab4c3b7803b5898da10088ae17235624f710a8ac99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp36-cp36m-win_amd64.whl

Download URL windows_curses-2.4.0a5-cp36-cp36m-win_amd64.whl
Size 70.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
f1e9a9b947eb86766ca18ae6fabf7599f7c068e783a3270c906d061f906928c8
BLAKE2b-256 checksum
How to use checksums
b385061daa6cb7251a43b55f1d5c654d187a574f315ccb43990234d953af81fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a5-cp36-cp36m-win32.whl

Download URL windows_curses-2.4.0a5-cp36-cp36m-win32.whl
Size 61.7 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
8f4ff6cb7010fafe7920a3d47a7cf0b0ff6c0be67957b4dfbd9b36314f9a8599
BLAKE2b-256 checksum
How to use checksums
f242693b84af6aec0f632347e6c1b3011f7cacb988626840163e87ee9ce13f00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Security for windows-curses 2.4.0a5

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