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.2.0a1

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

Total release size: 591.8 kB

Release files / windows_curses-2.2.0a1-cp39-cp39-win_amd64.whl

Download URL windows_curses-2.2.0a1-cp39-cp39-win_amd64.whl
Size 88.7 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
262ce578d7be5046c7056d5a42ad7be9a58fa3f0cda4f2e8bc2b927277a1477b
BLAKE2b-256 checksum
How to use checksums
bf98aada6ceea5d7829d577a0dc7e9c9976f8abe4c16bfe5bc8bf0f1673042c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Release files / windows_curses-2.2.0a1-cp39-cp39-win32.whl

Download URL windows_curses-2.2.0a1-cp39-cp39-win32.whl
Size 76.3 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
0617f3c71ce7bc9ae04c0dc8b93da96674898700b4405249fe678191c181b814
BLAKE2b-256 checksum
How to use checksums
cbc07855fe752c9d8f7f3201c5e22b77d08150bc75e229aa4abd6ff375fee5db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Release files / windows_curses-2.2.0a1-cp38-cp38-win_amd64.whl

Download URL windows_curses-2.2.0a1-cp38-cp38-win_amd64.whl
Size 88.6 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
56ee513fe70de40815fa3099a7b8b183cff86f8a58f8a0cffa7d94db2a8ccd81
BLAKE2b-256 checksum
How to use checksums
f680b46fdf8f28c3cfbc4eb0ffd64b0ab57060137a8ca5ea25b3e6897e97454e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Release files / windows_curses-2.2.0a1-cp38-cp38-win32.whl

Download URL windows_curses-2.2.0a1-cp38-cp38-win32.whl
Size 76.0 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
710bc799059b0e0cda2728ed1c7b1cbee6c30d0657201ab54efd395f6152666a
BLAKE2b-256 checksum
How to use checksums
bab4bb21c03bd4cfa4dc6d7edc6a7ec8fc7c2cffa6ea356dbc2060e82967a508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Release files / windows_curses-2.2.0a1-cp37-cp37m-win_amd64.whl

Download URL windows_curses-2.2.0a1-cp37-cp37m-win_amd64.whl
Size 70.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
7d729a569e84887e82f3ab8f61250b6a5b2bff1ece2fdc087a2b73791008d818
BLAKE2b-256 checksum
How to use checksums
36d931553e94c0958aabd53c278774ace98603314fe682518af27d7752c9bc58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Release files / windows_curses-2.2.0a1-cp37-cp37m-win32.whl

Download URL windows_curses-2.2.0a1-cp37-cp37m-win32.whl
Size 61.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
2bed2a8f638360448e5b6c311d356bc76e421856a0e10e7f470c4235d65ee6ff
BLAKE2b-256 checksum
How to use checksums
eec846cbfb074ce27a2889552fd42696eaec31340bc0f50d00dc98463ea67882
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Release files / windows_curses-2.2.0a1-cp36-cp36m-win_amd64.whl

Download URL windows_curses-2.2.0a1-cp36-cp36m-win_amd64.whl
Size 70.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
cf957feef6ce3b2ece2dddbb207412ddbf7e76300f79a58f2b26fe41173dab9d
BLAKE2b-256 checksum
How to use checksums
ab2c576441205b4fb70274220d1684bd504d103ad66ad033e89e45a1ef9e441d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Release files / windows_curses-2.2.0a1-cp36-cp36m-win32.whl

Download URL windows_curses-2.2.0a1-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
402765785c4b118ff19bf11238b3f9cdb59ed9c4d0bd8d5499402ef7c8bd804d
BLAKE2b-256 checksum
How to use checksums
3191c7dedd5339b102663a6f9127a455eb333dd9ad04f33f35ac34681d9d2b9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Security for windows-curses 2.2.0a1

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