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

Total release size: 692.1 kB

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

Download URL windows_curses-2.1.0-cp38-cp38-win_amd64.whl
Size 88.6 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
261fde5680d1ce4ce116908996b9a3cfb0ffb03ea68d42240f62b56a9fa6af2c
BLAKE2b-256 checksum
How to use checksums
790e306ba8239d6e4162372b0a7d6a2e5d8bc2ee80177950dfc6b991cef706ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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

Download URL windows_curses-2.1.0-cp38-cp38-win32.whl
Size 75.9 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
66034dc9a705d87308cc9ea90836f4ee60008a1d5e2c1d34ace627f60268158b
BLAKE2b-256 checksum
How to use checksums
436ce048a541123b74a653b503ebdd0fcf26455e31a101f8a5d810c6f1a54c11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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

Download URL windows_curses-2.1.0-cp37-cp37m-win_amd64.whl
Size 69.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
ff8c67f74b88944d99fa9d22971c05c335bc74f149120f0a69340c2c3a595497
BLAKE2b-256 checksum
How to use checksums
cf6b19851f32a41e6ff5985bdabf531aa19786eb6fa8ad825e3a82fc1625383e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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

Download URL windows_curses-2.1.0-cp37-cp37m-win32.whl
Size 60.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
97084c6b37b1534f6a28a514d521dfae402f77dcbad42b14ee32e8d5bdc13648
BLAKE2b-256 checksum
How to use checksums
a0297a2d9185cd547ff372605c6a3058cf61d4e897064ff40e3cfb5047f213a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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

Download URL windows_curses-2.1.0-cp36-cp36m-win_amd64.whl
Size 78.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
8ba7c000d7ffa5452bbd0966b96e69261e4f117ebe510aeb8771a9650197b7f0
BLAKE2b-256 checksum
How to use checksums
06ab054e2865acae24ef80813d4ffabd6cf4de2031add862d8fa59c3d8f9f402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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

Download URL windows_curses-2.1.0-cp36-cp36m-win32.whl
Size 69.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
669caad3ae16faf2d201d7ab3b8af418a2fd074d8a39d60ca26f3acb34b6afe5
BLAKE2b-256 checksum
How to use checksums
ec3dcef98bc73fd49fa5c42d7a1e13ebebded06515966ca1e3fe386a74058bc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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

Download URL windows_curses-2.1.0-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
cfe64c30807c146ef8d094412f90f2a2c81ad6aefff3ebfe8e37aabe2f801303
BLAKE2b-256 checksum
How to use checksums
3048163e6c81189d230ec638384247be5b666361f397a3c67102fa25c96cf5ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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

Download URL windows_curses-2.1.0-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
73bd3eebccfda55330783f165151de115bfa238d1332f0b2e224b550d6187840
BLAKE2b-256 checksum
How to use checksums
db6a4e67bbf707824afbbc6d0f5f1dc81592b601b735f2e8d02ea2e8428f62af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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

Download URL windows_curses-2.1.0-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
9e474a181f96d60429a4766145628264e60b72e7715876f9135aeb2e842f9433
BLAKE2b-256 checksum
How to use checksums
112c2b6572aad9fc95e6f8dbb6226c13c57350b001de2897c927902f2b27373b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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

Download URL windows_curses-2.1.0-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
89a6d973f88cfe49b41ea80164dcbec209d296e0cec34a02002578b0bf464a64
BLAKE2b-256 checksum
How to use checksums
8f3fb78be987bac5156033000b958e87f00719a36fb95dc3b0b4a86264c7ab04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

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