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

Total release size: 1.2 MB

Release files / windows_curses-2.4.1-cp313-cp313-win_amd64.whl

Download URL windows_curses-2.4.1-cp313-cp313-win_amd64.whl
Size 81.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
8cf653f8928af19c103ae11cfed38124f418dcdd92643c4cd17239c0cec2f9da
BLAKE2b-256 checksum
How to use checksums
2b4b2838a829b074a68c570d54ae0ae8539979657d3e619a4dc5a4b03eb69745
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

Release files / windows_curses-2.4.1-cp313-cp313-win32.whl

Download URL windows_curses-2.4.1-cp313-cp313-win32.whl
Size 71.4 kB
Tags CPython 3.13 Windows x86-32
SHA-256 checksum
How to use checksums
05d1ca01e5199a435ccb6c8c2978df4a169cdff1ec99ab15f11ded9de8e5be26
BLAKE2b-256 checksum
How to use checksums
25a0e8d074f013117633f6b502ca123ecfc377fe0bd36818fe65e8935c91ca9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

Release files / windows_curses-2.4.1-cp312-cp312-win_amd64.whl

Download URL windows_curses-2.4.1-cp312-cp312-win_amd64.whl
Size 81.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
5c9c2635faf171a229caca80e1dd760ab00db078e2a285ba2f667bbfcc31777c
BLAKE2b-256 checksum
How to use checksums
628fd908bcab1954375b156a9300fa86ceccb110f39457cd6fd59c72777626ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

Release files / windows_curses-2.4.1-cp312-cp312-win32.whl

Download URL windows_curses-2.4.1-cp312-cp312-win32.whl
Size 71.5 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
bdbe7d58747408aef8a9128b2654acf6fbd11c821b91224b9a046faba8c6b6ca
BLAKE2b-256 checksum
How to use checksums
f49960f34e51514c82631aa5c6d21eab88ce1701562de9844608411e39462a46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

Release files / windows_curses-2.4.1-cp311-cp311-win_amd64.whl

Download URL windows_curses-2.4.1-cp311-cp311-win_amd64.whl
Size 81.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
fd7d7a9cf6c1758f46ed76b8c67f608bc5fcd5f0ca91f1580fd2d84cf41c7f4f
BLAKE2b-256 checksum
How to use checksums
5029fd7c0c80177d8df55f841504a5f332b95b0002c80f82055913b6caac94e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

Release files / windows_curses-2.4.1-cp311-cp311-win32.whl

Download URL windows_curses-2.4.1-cp311-cp311-win32.whl
Size 71.1 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
4fa1a176bfcf098d0c9bb7bc03dce6e83a4257fc0c66ad721f5745ebf0c00746
BLAKE2b-256 checksum
How to use checksums
74b346a2508fff83b5affb5a311797c584c494b4b0c4c8796a1afa2c1b1e03ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

Release files / windows_curses-2.4.1-cp310-cp310-win_amd64.whl

Download URL windows_curses-2.4.1-cp310-cp310-win_amd64.whl
Size 81.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
325439cd4f37897a1de8a9c068a5b4c432f9244bf9c855ee2fbeb3fa721a770c
BLAKE2b-256 checksum
How to use checksums
a61d1bb512c445af24fb0a3dccf9537c8727bba5920e69539227b87f5351f608
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

Release files / windows_curses-2.4.1-cp310-cp310-win32.whl

Download URL windows_curses-2.4.1-cp310-cp310-win32.whl
Size 71.1 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
53d711e07194d0d3ff7ceff29e0955b35479bc01465d46c3041de67b8141db2f
BLAKE2b-256 checksum
How to use checksums
1534e70815e7ae6f157c00121180a607dbcdc82acfd949c70bba28c45d206dec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

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

Download URL windows_curses-2.4.1-cp39-cp39-win_amd64.whl
Size 89.5 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
4588213f7ef3b0c24c5cb9e309653d7a84c1792c707561e8b471d466ca79f2b8
BLAKE2b-256 checksum
How to use checksums
58deb050bb1dc40ce48afb477198fb65abe51580c03a165492fce1e8fa61efd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

Release files / windows_curses-2.4.1-cp39-cp39-win32.whl

Download URL windows_curses-2.4.1-cp39-cp39-win32.whl
Size 76.9 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
775a2e0fefeddfdb0e00b3fa6c4f21caf9982db34df30e4e62c49caaef7b5e56
BLAKE2b-256 checksum
How to use checksums
5a078684dabf0d8c54b2e3ffb6bbc0f0e162b0817008c0f98cca4e04f9a9e72c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

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

Download URL windows_curses-2.4.1-cp38-cp38-win_amd64.whl
Size 89.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
618e31458fedba2cf8105485ff00533ece780026c544142fc1647a20dc6c7641
BLAKE2b-256 checksum
How to use checksums
69670ffc78290400740898c4d0df503c1b200dae7f31bbe6172468e590404885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

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

Download URL windows_curses-2.4.1-cp38-cp38-win32.whl
Size 76.5 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
e9ce84559f80de7ec770d28c3b2991e0da51748def04e25a3c08ada727cfac2d
BLAKE2b-256 checksum
How to use checksums
08580a8fd30e8952ac461949e5b5177815cb70cd8e1399b9464537bd178f28b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

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

Download URL windows_curses-2.4.1-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
db776df70c10bd523c4a1ab0a7624a1d58c7d47f83ec49c6988f05bc1189e7b8
BLAKE2b-256 checksum
How to use checksums
66c110e45e34099437256548b2d156b5841817d3b66c2c162c72b5584ea3cf18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

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

Download URL windows_curses-2.4.1-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
a36b8fd4e410ddfb1a8eb65af2116c588e9f99b2ff3404412317440106755485
BLAKE2b-256 checksum
How to use checksums
e96c49955f6bfcdb1a387021042aadfafd736bb63a9cefffa00d5456b7b47042
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

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

Download URL windows_curses-2.4.1-cp36-cp36m-win_amd64.whl
Size 70.7 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
e61be805edc390ccfdeaf0e0c39736d931d3c4a007d6bf0f98d1e792ce437796
BLAKE2b-256 checksum
How to use checksums
0eb4c2a1dd84c7152b1ede832aeaf25af5ce1a8429b78a1644d1d886c80a996c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

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

Download URL windows_curses-2.4.1-cp36-cp36m-win32.whl
Size 61.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
6a5a831cabaadde41a6856fea5a0c68c74b7d11d332a816e5a5e6c84577aef3a
BLAKE2b-256 checksum
How to use checksums
d515e8adb661437cb89f7e2cadf00b5a6aa8937a79b83e5efee843e7683db340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

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

Full provenance

All 16 files in this release have been uploaded with provenance metadata.

Select from 16 files

Attestation for windows_curses-2.4.1-cp313-cp313-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2025.

Transparency log

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