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.0.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.0.1
File Actions
windows_curses-2.0.1-cp38-cp38m-win_amd64.whl CPython 3.8 CPython 3.8 pymalloc Windows x86-64 Details for windows_curses-2.0.1-cp38-cp38m-win_amd64.whl
windows_curses-2.0.1-cp38-cp38m-win32.whl CPython 3.8 CPython 3.8 pymalloc Windows x86-32 Details for windows_curses-2.0.1-cp38-cp38m-win32.whl
windows_curses-2.0.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for windows_curses-2.0.1-cp37-cp37m-win_amd64.whl
windows_curses-2.0.1-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details for windows_curses-2.0.1-cp37-cp37m-win32.whl
windows_curses-2.0.1-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details for windows_curses-2.0.1-cp36-cp36m-win_amd64.whl
windows_curses-2.0.1-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details for windows_curses-2.0.1-cp36-cp36m-win32.whl
windows_curses-2.0.1-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details for windows_curses-2.0.1-cp35-cp35m-win_amd64.whl
windows_curses-2.0.1-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details for windows_curses-2.0.1-cp35-cp35m-win32.whl
windows_curses-2.0.1-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details for windows_curses-2.0.1-cp27-cp27m-win_amd64.whl
windows_curses-2.0.1-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details for windows_curses-2.0.1-cp27-cp27m-win32.whl

Total release size: 723.2 kB

Release files / windows_curses-2.0.1-cp38-cp38m-win_amd64.whl

Download URL windows_curses-2.0.1-cp38-cp38m-win_amd64.whl
Size 96.5 kB
Tags CPython 3.8 CPython 3.8 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
d6c1b3de905767abe08bacb34465ac63f5ad9b49d301994717639403b9c9337e
BLAKE2b-256 checksum
How to use checksums
0582feafb99e8990c06280a1371a2c9dbe93837bd94d04d523dc690b12886905
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

Release files / windows_curses-2.0.1-cp38-cp38m-win32.whl

Download URL windows_curses-2.0.1-cp38-cp38m-win32.whl
Size 84.4 kB
Tags CPython 3.8 CPython 3.8 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
cc454f0acd911fb7c187bf672353ef4774930f38fc9d0da14cbe79f03296393c
BLAKE2b-256 checksum
How to use checksums
44f57614a7448bc02ad00e088492c227027805e3759d6994cdf39c57244d333c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

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

Download URL windows_curses-2.0.1-cp37-cp37m-win_amd64.whl
Size 77.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
e531de5731201583eaf3a5e15a956bd1221e0447479ceed12aab50573757cb33
BLAKE2b-256 checksum
How to use checksums
c765ab6acc2a48956e8ae57ad460eca69cfb5ce85cc768a728f5634b693f0d0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

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

Download URL windows_curses-2.0.1-cp37-cp37m-win32.whl
Size 69.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
ece30053b5340a51c8f1cac4eeaf75bd7faa451c453cd07ef7fda7a9fba17adb
BLAKE2b-256 checksum
How to use checksums
2f40ae87b59723e0f1f617de414ee4baf5acc8f8f9854f3df080cfe509b2152c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

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

Download URL windows_curses-2.0.1-cp36-cp36m-win_amd64.whl
Size 77.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
dc1d3d314c5b9580b57b5f1e24fd9dc48a306cc6b280182da432cbe05255e0fc
BLAKE2b-256 checksum
How to use checksums
e48debaf1d97e4dc5194ef02b84ef124edf7017a833db1b315aded396656260f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

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

Download URL windows_curses-2.0.1-cp36-cp36m-win32.whl
Size 69.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
6b362a2114da068d5127a0c0400423103c163f1d28bc7436350742cdd472e5eb
BLAKE2b-256 checksum
How to use checksums
e06a13d9ed484e6d4ca4c88316dae46ceca6ed386d63be7eab4f50409be9e459
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

Release files / windows_curses-2.0.1-cp35-cp35m-win_amd64.whl

Download URL windows_curses-2.0.1-cp35-cp35m-win_amd64.whl
Size 70.1 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
b9457c3ed1571787dc3835d3bf67dc07a493829d78714757cc63b517133d4a34
BLAKE2b-256 checksum
How to use checksums
33504d7e286cbb1bc7c819839d6af22a134f698968fab3d3ada8f9d405eacd3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

Release files / windows_curses-2.0.1-cp35-cp35m-win32.whl

Download URL windows_curses-2.0.1-cp35-cp35m-win32.whl
Size 60.6 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
d3f7ec03ba643fd8aea06ca4466f63ad5e0acedf021670224a3aaddffe5336dd
BLAKE2b-256 checksum
How to use checksums
c1e0c0e82643b7bbb80bbbfe903af58f11d5c65db991b86e76acb3a733c078b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

Release files / windows_curses-2.0.1-cp27-cp27m-win_amd64.whl

Download URL windows_curses-2.0.1-cp27-cp27m-win_amd64.whl
Size 62.9 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5dfa38206025891f08f2f37aaf78596cfffdd5108f2032450658e5d4a04cf047
BLAKE2b-256 checksum
How to use checksums
b7c360e24b747c692702fa0748526d9fb001d3cc2384a9c2b9748d8ca9556b69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

Release files / windows_curses-2.0.1-cp27-cp27m-win32.whl

Download URL windows_curses-2.0.1-cp27-cp27m-win32.whl
Size 54.7 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
735ccc1f5d0806f4f670d6517c7aa80e844ca24c9f766f4075f895acccfbebea
BLAKE2b-256 checksum
How to use checksums
e8378ac53053f32b4dbb293c82e4298259b9f3027cda37a293eabef0be613fd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

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