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

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

Total release size: 894.2 kB

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

Download URL windows_curses-2.3.1-cp311-cp311-win_amd64.whl
Size 80.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
395656bfe88d6f60cb18604605d423e0f2d1c3a8f550507dca5877a9d0b3a0f3
BLAKE2b-256 checksum
How to use checksums
c396ee89bb39f7dcc1adf5cb617834e2aa7c3b6d3b48507049f50f9cbc0040d0
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.1-cp311-cp311-win32.whl

Download URL windows_curses-2.3.1-cp311-cp311-win32.whl
Size 69.8 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
25e7ff3d77aed6c747456b06fbc1528d67fc59d1ef3be9ca244774e65e6bdbb2
BLAKE2b-256 checksum
How to use checksums
513a957e1b3a693178eee8effdbfb58080005b2700a7c0a6b0b970b41ac19b40
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.1-cp310-cp310-win_amd64.whl

Download URL windows_curses-2.3.1-cp310-cp310-win_amd64.whl
Size 80.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
8b541520895649c0835771775034a2b4edf36da3c3d9381c5022b5b4f9a5014e
BLAKE2b-256 checksum
How to use checksums
9b2c3d3921c4c2eb9cb7cdd4dba5923847708003b4ae4063507dd9998976d6ca
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.1-cp310-cp310-win32.whl

Download URL windows_curses-2.3.1-cp310-cp310-win32.whl
Size 69.8 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
2644f4547ae5124ce5129b66faa59ee0995b7b7205ed5e3920f6ecfef2e46275
BLAKE2b-256 checksum
How to use checksums
92bcf2ad33242e67aeeaddc13f66ab5262c3dd2c3bf6bbfc6e760a1823bafb4d
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.1-cp39-cp39-win_amd64.whl

Download URL windows_curses-2.3.1-cp39-cp39-win_amd64.whl
Size 89.1 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
85675de4ae7058348140daae83a8a7b81147a84ef9ab699307b3168f9490292f
BLAKE2b-256 checksum
How to use checksums
63575ed9bfbbcbb9c34cdc5f578a57a087200fd09c70b30d78236e4deacf48b0
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.1-cp39-cp39-win32.whl

Download URL windows_curses-2.3.1-cp39-cp39-win32.whl
Size 76.5 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
aab7e28133bf81769cddf8b3c3c8ab89e76cd43effd371c6370e918b6dfccf1b
BLAKE2b-256 checksum
How to use checksums
9c4e12985716cf210a0f883dfd1498d1ae81cc4d5243c489fcc1662f77037bc3
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.1-cp38-cp38-win_amd64.whl

Download URL windows_curses-2.3.1-cp38-cp38-win_amd64.whl
Size 88.9 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
a551aaa09d6ec28f64ade8e85fd0c52880c8e9114729a79c34803104e49bed71
BLAKE2b-256 checksum
How to use checksums
ebe6ee1325bd12c75a1db7f18c562a7575038ed274a30907ecc9f50cc84caa12
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.1-cp38-cp38-win32.whl

Download URL windows_curses-2.3.1-cp38-cp38-win32.whl
Size 76.2 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
5c55ebafdb402cfa927174a03d651cd1b1e76d6e6cf71818f9d3378636c00e74
BLAKE2b-256 checksum
How to use checksums
53c78ec3ec23f37dfe96ccde45af0400ff6f7ff5492d86558a32978fcd9410dd
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.1-cp37-cp37m-win_amd64.whl

Download URL windows_curses-2.3.1-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
f9a7fcd03934e40238f9bbeddae51e3fdc442f28bca50afccdc521245ed39439
BLAKE2b-256 checksum
How to use checksums
7f2e74bf3f508f5498d899f85047c84115db30c7d02644fc7e02762b95f07c4e
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.1-cp37-cp37m-win32.whl

Download URL windows_curses-2.3.1-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
9cd0ba6efde23930736eff45a0aa0af6fd82e60b4787a46157ef4956d2c52b06
BLAKE2b-256 checksum
How to use checksums
05963373c0db049e8d6c8bbbcebf9b1e1aaa776c0f935cfaf08887b710003951
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.1-cp36-cp36m-win_amd64.whl

Download URL windows_curses-2.3.1-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
59856b41676c4b3eb527eb6b1478803d4dc92413b2e63aea762407807ffcd3ac
BLAKE2b-256 checksum
How to use checksums
e427030122a0b80af944c6dba95f5da1de291031a15cb5b65165db6e9421624d
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.1-cp36-cp36m-win32.whl

Download URL windows_curses-2.3.1-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
6ea8e1c4536fee248ee3f88e5010871df749932b7e829e2f012e5d23bd2fe31d
BLAKE2b-256 checksum
How to use checksums
0384dc2712e5eb38db71de01f5e00ae69f67dc1714a6300a2ffb22d38f91f936
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.1

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