Skip to main content

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.3.2

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

Total release size: 1.0 MB

Release files / windows_curses-2.3.2-cp312-cp312-win_amd64.whl

Download URL windows_curses-2.3.2-cp312-cp312-win_amd64.whl
Size 80.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
e3f27939f39143c513f444a8c0419b2737e8de55fbe5d63d765992512125366d
BLAKE2b-256 checksum
How to use checksums
e47f2636983e0429d929a1968be2ce0ded62e5d0ddae3059c14a158b9d4f5fea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp312-cp312-win32.whl

Download URL windows_curses-2.3.2-cp312-cp312-win32.whl
Size 70.0 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
4546122f5bec2fb46c1706c020d971bcfc4d9a5158372f25ba7472a834b0f165
BLAKE2b-256 checksum
How to use checksums
8d1a2a013dcde0de20f40c608f1b8da31152ed3979e1b8bf3b32bc3d8883c1c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp311-cp311-win_amd64.whl

Download URL windows_curses-2.3.2-cp311-cp311-win_amd64.whl
Size 80.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
9b7ecd0f21f643e22a979effff25f62200626bb9853ea8b9aacf0bbcaab0950d
BLAKE2b-256 checksum
How to use checksums
061dab254dcfa0a027e2f94e31407b04ae838975842241a7a2c2a90a8727958d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp311-cp311-win32.whl

Download URL windows_curses-2.3.2-cp311-cp311-win32.whl
Size 69.8 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
95d2a288af6172270da5ca9225aa99eeae98595c6e90f3574aa9b9f2fc1d2619
BLAKE2b-256 checksum
How to use checksums
8d4fd77ea34a361eecc4791c4b7e1ba941c59288c5a0e601942f8f6dd7ccd9a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp310-cp310-win_amd64.whl

Download URL windows_curses-2.3.2-cp310-cp310-win_amd64.whl
Size 80.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
b5e68520c7e92dff72914e4126cadb5b8eb3b6c968d955de6d35ff42306da8c0
BLAKE2b-256 checksum
How to use checksums
24f253ee9cdd21df3e63c4076acf15b111df3d85de90a1795c8773fc47326f93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp310-cp310-win32.whl

Download URL windows_curses-2.3.2-cp310-cp310-win32.whl
Size 69.8 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
0286d35c9a2589731af3cf2b1251635a400f4b61aef2b9c081f6c98e7887a170
BLAKE2b-256 checksum
How to use checksums
4d0b0b6ae5c59235a5163ec8f8290e2bb2c6f2521f5d9f2a0cfd6fab5e5e7aef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp39-cp39-win_amd64.whl

Download URL windows_curses-2.3.2-cp39-cp39-win_amd64.whl
Size 89.1 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
00d5d000b68db38bd97b6a5b90ee4b4c915a7cef7492fc5aa9ecc7794ee2ca93
BLAKE2b-256 checksum
How to use checksums
bddb2b99556dc14ac2c7aae1bdf80690b29e14f6d2c9451feb69cb9874809221
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp39-cp39-win32.whl

Download URL windows_curses-2.3.2-cp39-cp39-win32.whl
Size 76.5 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
e4ec5245f0c00ede45b033a885511eea80d5928c9bd3ceb523fbfb086370a4df
BLAKE2b-256 checksum
How to use checksums
964ec81ac171c6e764989e85e1f68da86f934c5d3b7fd7b90fc6751e476106dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp38-cp38-win_amd64.whl

Download URL windows_curses-2.3.2-cp38-cp38-win_amd64.whl
Size 88.9 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
f73bfd283f86d3ac0a72b74307ccc99ea0fd008a732d80db95d31fbafeee3c66
BLAKE2b-256 checksum
How to use checksums
f7303c21ebd172508ae21e0fa92c85a8c2086aeed0c17909decfca4d220510af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp38-cp38-win32.whl

Download URL windows_curses-2.3.2-cp38-cp38-win32.whl
Size 76.2 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
6bc698058081408685975256f46f570c32f8d7e1f4f82f9d6c66c300c6daff89
BLAKE2b-256 checksum
How to use checksums
ed8358bf033c93089c3a34f0786092ce3258543c2604fbb562e891d67a1d00bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp37-cp37m-win_amd64.whl

Download URL windows_curses-2.3.2-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
70d8cb4ddad43f695a266f79c7a31d40ac8aee2a17cf8e06ecfd4a71589ad30d
BLAKE2b-256 checksum
How to use checksums
515a0ab680155474d37a9b8b46b35f5e7cf3691d4e9a8a359f00dedbd208533b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp37-cp37m-win32.whl

Download URL windows_curses-2.3.2-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
72ff5d8963fbb3aa662bfced2c5ea22dc3ed58bac827a3bff74a1de5eacdbe57
BLAKE2b-256 checksum
How to use checksums
d347f9297390c7f84625ebe5373f011338a3da9934692af2cd748d5ee3cfb930
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp36-cp36m-win_amd64.whl

Download URL windows_curses-2.3.2-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
f81294465a67e43ddc50c1b52711b100b002fa1238f87d84d0cf94b785c4fe75
BLAKE2b-256 checksum
How to use checksums
13adb991469fa1172bbfa74e37fe37fcf9471b91b4c21234fc4ad2e216e7a3cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / windows_curses-2.3.2-cp36-cp36m-win32.whl

Download URL windows_curses-2.3.2-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
a570f744a62108d024a7775b3b156b2ae2380fc971237c3bd2742341e7151f22
BLAKE2b-256 checksum
How to use checksums
3fea4738fa323ce309bd4e5003223b34b72c8ea793dfdab823ffbe22d5c74f20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for windows-curses 2.3.2

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