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

Total release size: 591.6 kB

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

Download URL windows_curses-2.2.0-cp39-cp39-win_amd64.whl
Size 88.7 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
389228a3df556102e72450f599283094168aa82eee189f501ad9f131a0fc92e1
BLAKE2b-256 checksum
How to use checksums
4f9f8314a79e7999ccdafb6561ed932f017475a3ff11dc39c0f80fc00ee66163
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.0-cp39-cp39-win32.whl

Download URL windows_curses-2.2.0-cp39-cp39-win32.whl
Size 76.2 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
9aa6ff60be76f5de696dc6dbf7897e3b1e6abcf4c0f741e9a0ee22cd6ef382f8
BLAKE2b-256 checksum
How to use checksums
241aa01bfe49625e3759e6e208573985aaaf9a01de6939a8702a64bf12019079
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.0-cp38-cp38-win_amd64.whl

Download URL windows_curses-2.2.0-cp38-cp38-win_amd64.whl
Size 88.6 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
c4a8ce00e82635f06648cc40d99f470be4e3ffeb84f9f7ae9d6a4f68ec6361e7
BLAKE2b-256 checksum
How to use checksums
09e78770bfbe4e8264c86af7ab1d8320fcfc18fcd4955814ae698fafc985d26a
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.0-cp38-cp38-win32.whl

Download URL windows_curses-2.2.0-cp38-cp38-win32.whl
Size 75.9 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
84336fe470fa07288daec5c684dec74c0766fec6b3511ccedb4c494804acfbb7
BLAKE2b-256 checksum
How to use checksums
0584d94ae11163653c4e6613a69f2857b47ac78c0e45a6c1515c51dc8c58106f
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.0-cp37-cp37m-win_amd64.whl

Download URL windows_curses-2.2.0-cp37-cp37m-win_amd64.whl
Size 70.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c5cd032bc7d0f03224ab55c925059d98e81795098d59bbd10f7d05c7ea9677ce
BLAKE2b-256 checksum
How to use checksums
306a8cbb2a61263418e693e95465df33438400c28892e8b70e9cd8929363c6d5
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.0-cp37-cp37m-win32.whl

Download URL windows_curses-2.2.0-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
267544e4f60c09af6505e50a69d7f01d7f8a281cf4bd4fc7efc3b32b9a4ef64e
BLAKE2b-256 checksum
How to use checksums
6fc50e3f819bdd267720f0588a234eb3f123330670b8be1f6236d6e315b1b50e
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.0-cp36-cp36m-win_amd64.whl

Download URL windows_curses-2.2.0-cp36-cp36m-win_amd64.whl
Size 70.0 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
fc0be372fe6da3c39d7093154ce029115a927bf287f34b4c615e2b3f8c23dfaa
BLAKE2b-256 checksum
How to use checksums
555fa70ba7f89769bf1d7d10af797347585615125fbfb15d82f8943a14dddf1d
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.0-cp36-cp36m-win32.whl

Download URL windows_curses-2.2.0-cp36-cp36m-win32.whl
Size 61.0 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
1452d771ec6f9b3fef037da2b169196a9a12be4e86a6c27dd579adac70c42028
BLAKE2b-256 checksum
How to use checksums
0f41cd43e3e42ad9c367c7ee076fd3e677485d9983fb81268dd990b0855a09d2
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.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