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

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

Total release size: 1.1 MB

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

Download URL windows_curses-2.4.0-cp312-cp312-win_amd64.whl
Size 81.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f50d02833a7e7866b9f42d62febbdf83c6703575240e9bbdd1446d09d70505d3
BLAKE2b-256 checksum
How to use checksums
07fc5faaef1ec5921953cc7c87ff60a5af751769cb996caab828ceb21f13ee95
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.0-cp312-cp312-win32.whl

Download URL windows_curses-2.4.0-cp312-cp312-win32.whl
Size 71.4 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
e165db84de30039f6da6bded9aa2f88e3c1ae7be11dc7c84416cbe6ba0ac4f29
BLAKE2b-256 checksum
How to use checksums
86660a83825bd45f5cbd8dbeb7f96497e1162b355cbabd956b4960efceb04dc2
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.0-cp311-cp311-win_amd64.whl

Download URL windows_curses-2.4.0-cp311-cp311-win_amd64.whl
Size 81.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
0c32be4aa97887febff175a8a6b3deeecc06c1a3f47ecbb5f62de6bf4165d6db
BLAKE2b-256 checksum
How to use checksums
ea7fe680c41be83302a40b2c9b45759e6105cf0e3afc5a0b67f8eb926ee478cc
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.0-cp311-cp311-win32.whl

Download URL windows_curses-2.4.0-cp311-cp311-win32.whl
Size 71.1 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
90fde3341b2361f45716cfbe44bd253ac6a07dfde7262f3afdcf7cc0285c35ac
BLAKE2b-256 checksum
How to use checksums
7691a24739ea1bd53ec0b4e05ba5c0c8f786715dfff1d6ce95bc8867f9677292
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.0-cp310-cp310-win_amd64.whl

Download URL windows_curses-2.4.0-cp310-cp310-win_amd64.whl
Size 81.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
4621042a28f48e2240314a624eb36f18121483d47f12c488cad9670f402ba6d7
BLAKE2b-256 checksum
How to use checksums
930c10e369eb0a6583890e1ebbb2e024040fde91299fbc167d5312ee18f138ae
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.0-cp310-cp310-win32.whl

Download URL windows_curses-2.4.0-cp310-cp310-win32.whl
Size 71.1 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
525fa12689aa54cd8e4cfa6d03f3d4d336f2e9ef0b6db4fdb4d3c1b22a71180b
BLAKE2b-256 checksum
How to use checksums
4dd89f3740f6afe47bedec8f6dea6a8705215ebc0437e6feebd37d791d8be5d0
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.0-cp39-cp39-win_amd64.whl

Download URL windows_curses-2.4.0-cp39-cp39-win_amd64.whl
Size 89.5 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
441189fb71c455ed0575ffb1b840d5857c01c4dda441cbbbd34a6216e7207bfa
BLAKE2b-256 checksum
How to use checksums
57ed03869584d15eccea26d45267d19a56ee82bfd6f65ebe989023e76fa81ad0
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.0-cp39-cp39-win32.whl

Download URL windows_curses-2.4.0-cp39-cp39-win32.whl
Size 76.9 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
6f481322360dbcdfa37b30654c89aa2920f4528eaefec3a50fa6a6d07be49069
BLAKE2b-256 checksum
How to use checksums
faebadad8bf163cc858aaa97f6063b67b056edf409ee8de74bd6c13282437d7e
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.0-cp38-cp38-win_amd64.whl

Download URL windows_curses-2.4.0-cp38-cp38-win_amd64.whl
Size 89.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
c77973c5af419c3d9bcb99908dc9791102813026d6abdda9236e44d9342c9579
BLAKE2b-256 checksum
How to use checksums
753fe49501deeee0e641f68072ce44fca2668cdc99ab39a2b6e4ed9730dc46d2
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.0-cp38-cp38-win32.whl

Download URL windows_curses-2.4.0-cp38-cp38-win32.whl
Size 76.5 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
342b786c82fda5f9592593b2f8f4078de40b31baaf331be57af4c3c9a2e40061
BLAKE2b-256 checksum
How to use checksums
210cbcc8a821e1ec1b93e5d6defaf69e3d3fbefc69ea4dd2aaea9f44c57496fa
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.0-cp37-cp37m-win_amd64.whl

Download URL windows_curses-2.4.0-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
68d633cdb7e82ec207184ab3be74c058e184cd34f76407801cf451be4ee85861
BLAKE2b-256 checksum
How to use checksums
b5fa6161ac3bb6aa9de09a3b7fedb8dbafb076325517e01220bf0d195f51d7f5
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.0-cp37-cp37m-win32.whl

Download URL windows_curses-2.4.0-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
6771fb73f5a66d281a6f5e474dcfe07a4dd64460ff17c72ed9dd35fdf65fbfc8
BLAKE2b-256 checksum
How to use checksums
2d8907edb45c2a3f4eb53791a8e8b906498d5034c6e9ee3c0b61225579c10bfa
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.0-cp36-cp36m-win_amd64.whl

Download URL windows_curses-2.4.0-cp36-cp36m-win_amd64.whl
Size 70.7 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
e1f137d347e300e6163fa0aa31f7a02f6da42e43a90ce423bc929fb06752385e
BLAKE2b-256 checksum
How to use checksums
af22b246fa9d87d7456b6f6383779ddd2baaa7429ba8256c70551949705d9416
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.0-cp36-cp36m-win32.whl

Download URL windows_curses-2.4.0-cp36-cp36m-win32.whl
Size 61.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
fcb0591fc6e647556f685327a6f3e6923afc8a16c35436665df692556b78e708
BLAKE2b-256 checksum
How to use checksums
4814b51ff63f943f98589dc49fd9463ff78da95cc3b93d2a4e68c0ffa9f31c15
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.0

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