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

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

Total release size: 1.1 MB

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

Download URL windows_curses-2.4.0a2-cp312-cp312-win_amd64.whl
Size 81.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
222dc4a502dd372548737879e312431a4632409751a7c3c1682b95a6e9e811b2
BLAKE2b-256 checksum
How to use checksums
6dce8bbcc5eaaf14ccf2b36a3aec36a28c280fca7d4ce683826eb8caaff5ad82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp312-cp312-win32.whl

Download URL windows_curses-2.4.0a2-cp312-cp312-win32.whl
Size 71.4 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
ab1c1a3c2f9fee3f1f36dc1c3fc81b94734c5df82053f3055fba11aff5564e8f
BLAKE2b-256 checksum
How to use checksums
e6f274a1f1fa1cbcf5bd408c23a71997424c6c7ada3f9c8ca70e84f44033bb47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp311-cp311-win_amd64.whl

Download URL windows_curses-2.4.0a2-cp311-cp311-win_amd64.whl
Size 81.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
6c88b4a8a256a3e99e6073d22a0bd4a7b22af68f0ce6dd998085e41e6f2fa97e
BLAKE2b-256 checksum
How to use checksums
08e345d6d013bcc2a8b6c76148fdce41ed1e826421585210c1078588c69a941b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp311-cp311-win32.whl

Download URL windows_curses-2.4.0a2-cp311-cp311-win32.whl
Size 71.2 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
a9839992557fcc2f70e2e9894a4c00688b1ed3d39f7a7ab6d494facc8ab72448
BLAKE2b-256 checksum
How to use checksums
2811b600c9e1091c9a560bbed9ecd953015fe1336fe30030c2da2b186b322cfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp310-cp310-win_amd64.whl

Download URL windows_curses-2.4.0a2-cp310-cp310-win_amd64.whl
Size 81.5 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
bc172a95af8665cde1f54ac0f8a595f0bdd14e855524649c25c0dc120ca6d6b8
BLAKE2b-256 checksum
How to use checksums
59def9b06c98af145e2cdca1880a70135063d601b1a333f5eae38192761a494d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp310-cp310-win32.whl

Download URL windows_curses-2.4.0a2-cp310-cp310-win32.whl
Size 71.2 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
033eac2df270bcf3ca0275da37422e5d44803617f6aaeba1f6a37b2476a3d274
BLAKE2b-256 checksum
How to use checksums
1294dc9c4f01886e93ef8ca977946d60e8666277022e27326e6a8b4f4e797c5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp39-cp39-win_amd64.whl

Download URL windows_curses-2.4.0a2-cp39-cp39-win_amd64.whl
Size 89.6 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
8dbcae3cbcf79c582071f589876119890e3a344bd3576375e163560dce78a6c1
BLAKE2b-256 checksum
How to use checksums
4b7a54243fe4ed089a891d82d68ff058a1fb27162e2312b44f7c9a76089e1b1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp39-cp39-win32.whl

Download URL windows_curses-2.4.0a2-cp39-cp39-win32.whl
Size 76.9 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
a2c754776c2753927eaa407ce742bdcac4ebff85c70881b51c470f496a3e58b9
BLAKE2b-256 checksum
How to use checksums
3ce3e21e83f52486bf45ebbb4ecf289875df0ef301a55700fc6c5d3a52fb0735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp38-cp38-win_amd64.whl

Download URL windows_curses-2.4.0a2-cp38-cp38-win_amd64.whl
Size 89.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
b93de3573336e238edc332cf723e069dfa5272aa35f44a5e164f8b87fcdf256e
BLAKE2b-256 checksum
How to use checksums
397b94645622ee3b02d6cd3456464fe6385bc9ffea5b069b9b7b24bb386e5945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp38-cp38-win32.whl

Download URL windows_curses-2.4.0a2-cp38-cp38-win32.whl
Size 76.5 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
157f29aee7dc2a691c97483fa75180761d7aae842d368e41781ffec39a448884
BLAKE2b-256 checksum
How to use checksums
8282a66b352ca26ced7459740b5173737c8610f2795de23e78f91e8218f96991
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp37-cp37m-win_amd64.whl

Download URL windows_curses-2.4.0a2-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
3829a0c044356619428f3f40bf22849e202f1f543036c554cd32d54f3cb03597
BLAKE2b-256 checksum
How to use checksums
9402c3891f0f6ad8561bba52de586441a2c4c312795637f1412cd1f5f8832dcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp37-cp37m-win32.whl

Download URL windows_curses-2.4.0a2-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
39b4ad6e66c7234c285c9d8fb801dbd25c829f2cf742a400877a0bf23a3e8eba
BLAKE2b-256 checksum
How to use checksums
d97fa7d93cfb60d68f63a70d707ba7e77526fdb36603c59611263893a05f6d9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp36-cp36m-win_amd64.whl

Download URL windows_curses-2.4.0a2-cp36-cp36m-win_amd64.whl
Size 70.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
313df47772128a292b7fe2e8d9fabbe066fc029873fab98708f163e8de3406ae
BLAKE2b-256 checksum
How to use checksums
f49d444c1fb081a029b8929b2240a08290da881fc9013f0064aa756dddd77137
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / windows_curses-2.4.0a2-cp36-cp36m-win32.whl

Download URL windows_curses-2.4.0a2-cp36-cp36m-win32.whl
Size 61.7 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
c4dc0363805a28f0b2221dfce24161f809deefad3beba85e1f8b40f8ccdd25b5
BLAKE2b-256 checksum
How to use checksums
aa34bd72ab0c2f264cf2a14177fc75f81a38f95334171a7ca5af6203a1b7b2e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for windows-curses 2.4.0a2

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