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

Total release size: 756.1 kB

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

Download URL windows_curses-2.3.0-cp310-cp310-win_amd64.whl
Size 88.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
7a35eda4cb120b9e1a5ae795f3bc06c55b92c9d391baba6be1903285a05f3551
BLAKE2b-256 checksum
How to use checksums
a1926ae63ea0bd6fc2c4589c105627a61fb03eb1cf6fbc1e612f9501b490b5e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

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

Download URL windows_curses-2.3.0-cp310-cp310-win32.whl
Size 75.1 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
a3a63a0597729e10f923724c2cf972a23ea677b400d2387dee1d668cf7116177
BLAKE2b-256 checksum
How to use checksums
6e2d1a8db3a90978865accefdd4bbc03ef29983661d2dcc866257eb8cef071a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

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

Download URL windows_curses-2.3.0-cp39-cp39-win_amd64.whl
Size 88.9 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
c860f596d28377e47f322b7382be4d3573fd76d1292234996bb7f72e0bc0ed0d
BLAKE2b-256 checksum
How to use checksums
061013c999a86fe7ba59314cba1a4895b5d5d3145a7dcfab85009616d93e4ddc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

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

Download URL windows_curses-2.3.0-cp39-cp39-win32.whl
Size 76.3 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
935be95cfdb9213f6f5d3d5bcd489960e3a8fbc9b574e7b2e8a3a3cc46efff49
BLAKE2b-256 checksum
How to use checksums
d0bb572d605fdac10ca3359d2f43dd5b807e5044f65d561b4043cbb0d8dc0f65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

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

Download URL windows_curses-2.3.0-cp38-cp38-win_amd64.whl
Size 88.8 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
cc5fa913780d60f4a40824d374a4f8ca45b4e205546e83a2d85147315a57457e
BLAKE2b-256 checksum
How to use checksums
25db3d3e31f3edaf3b339312b96769fa6b91b44aea05be2b3b13171f9e05d82a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

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

Download URL windows_curses-2.3.0-cp38-cp38-win32.whl
Size 76.0 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
fbc2131cec57e422c6660e6cdb3420aff5be5169b8e45bb7c471f884b0590a2b
BLAKE2b-256 checksum
How to use checksums
23aec027f63340a2647d54245b93326add14c9362d1d3d24e87dc8540af97f0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

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

Download URL windows_curses-2.3.0-cp37-cp37m-win_amd64.whl
Size 70.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
e913dc121446d92b33fe4f5bcca26d3a34e4ad19f2af160370d57c3d1e93b4e1
BLAKE2b-256 checksum
How to use checksums
d3eab88b0fac8d9cc790e019bdb4cfc89a704a436296ff04d41ed367d98c3005
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

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

Download URL windows_curses-2.3.0-cp37-cp37m-win32.whl
Size 61.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
d5cde8ec6d582aa77af791eca54f60858339fb3f391945f9cad11b1ab71062e3
BLAKE2b-256 checksum
How to use checksums
31bdc0ea22f685c9c2f89cf2b0af42d4c203070576397c511a49b35d7adbe9ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

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

Download URL windows_curses-2.3.0-cp36-cp36m-win_amd64.whl
Size 70.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
170c0d941c2e0cdf864e7f0441c1bdf0709232bf4aa7ce7f54d90fc76a4c0504
BLAKE2b-256 checksum
How to use checksums
135eb2989a69467b4f7b53c170175be7f37f1b9f819387112b5891fbc1dd5184
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

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

Download URL windows_curses-2.3.0-cp36-cp36m-win32.whl
Size 61.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
4d5fb991d1b90a41c2332f02241a1f84c8a1e6bc8f6e0d26f532d0da7a9f7b51
BLAKE2b-256 checksum
How to use checksums
6bb6562c7773e3707584debfe1a572d7f516be7a9ed14f4694fde7e98e1d8e39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.7

Security for windows-curses 2.3.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