Skip to main content

Support for the standard curses module on Windows

Project description

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

windows_curses-2.4.2-cp314-cp314-win_amd64.whl (86.4 kB view details)

Uploaded CPython 3.14Windows x86-64

windows_curses-2.4.2-cp314-cp314-win32.whl (77.0 kB view details)

Uploaded CPython 3.14Windows x86

windows_curses-2.4.2-cp313-cp313-win_amd64.whl (82.2 kB view details)

Uploaded CPython 3.13Windows x86-64

windows_curses-2.4.2-cp313-cp313-win32.whl (71.5 kB view details)

Uploaded CPython 3.13Windows x86

windows_curses-2.4.2-cp312-cp312-win_amd64.whl (82.3 kB view details)

Uploaded CPython 3.12Windows x86-64

windows_curses-2.4.2-cp312-cp312-win32.whl (71.5 kB view details)

Uploaded CPython 3.12Windows x86

windows_curses-2.4.2-cp311-cp311-win_amd64.whl (81.9 kB view details)

Uploaded CPython 3.11Windows x86-64

windows_curses-2.4.2-cp311-cp311-win32.whl (71.1 kB view details)

Uploaded CPython 3.11Windows x86

windows_curses-2.4.2-cp310-cp310-win_amd64.whl (81.8 kB view details)

Uploaded CPython 3.10Windows x86-64

windows_curses-2.4.2-cp310-cp310-win32.whl (71.1 kB view details)

Uploaded CPython 3.10Windows x86

windows_curses-2.4.2-cp39-cp39-win_amd64.whl (90.0 kB view details)

Uploaded CPython 3.9Windows x86-64

windows_curses-2.4.2-cp39-cp39-win32.whl (77.0 kB view details)

Uploaded CPython 3.9Windows x86

windows_curses-2.4.2-cp38-cp38-win_amd64.whl (89.9 kB view details)

Uploaded CPython 3.8Windows x86-64

windows_curses-2.4.2-cp38-cp38-win32.whl (76.8 kB view details)

Uploaded CPython 3.8Windows x86

windows_curses-2.4.2-cp37-cp37m-win_amd64.whl (71.0 kB view details)

Uploaded CPython 3.7mWindows x86-64

windows_curses-2.4.2-cp37-cp37m-win32.whl (61.7 kB view details)

Uploaded CPython 3.7mWindows x86

windows_curses-2.4.2-cp36-cp36m-win_amd64.whl (80.4 kB view details)

Uploaded CPython 3.6mWindows x86-64

windows_curses-2.4.2-cp36-cp36m-win32.whl (69.7 kB view details)

Uploaded CPython 3.6mWindows x86

File details

Details for the file windows_curses-2.4.2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6c22cb0310500dfbfe54c76354e37070e300d5473596d48ac4f9c65b2d578b6f
MD5 a2c9d9694f7eb8ea2ebed46d4a86b94c
BLAKE2b-256 6f6a1f8754de746474a049a841e139b443b250a96908d6913ccf2db9a4303584

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp314-cp314-win_amd64.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp314-cp314-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.2-cp314-cp314-win32.whl
  • Upload date:
  • Size: 77.0 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for windows_curses-2.4.2-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 a970bf067b3126251423b4da051ef8c1c77acf6294ec96a7d6de7f6b9e5c27a0
MD5 b86a77428582c54f829c7143c0365ecd
BLAKE2b-256 d222f90c7d1d83464eb63345802f33e8de41bd732521d9a60a69ad985c8faa90

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp314-cp314-win32.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1bf3d0c902374b6c430a954adcb686a5ecd7a31fc4195d31136385b5c1bea925
MD5 f50d394a13ad5b18c88767397d0ea3ab
BLAKE2b-256 47e838fd0fef95271280a77a4f3b65e0961d3c39716388b39c08b3040bfb4f2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp313-cp313-win_amd64.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp313-cp313-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.2-cp313-cp313-win32.whl
  • Upload date:
  • Size: 71.5 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for windows_curses-2.4.2-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 248bf3f1d973e92ca193b1ea8a626ec7f81a66be6f6d6c5e31ff82056453678d
MD5 f2ca8c58bb79b32ac5bb39b06f5fdc3f
BLAKE2b-256 b154195f2c4d0258ced34a401c8e3c9eefa2aa2221a9f0179ae64ad3cb039e64

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp313-cp313-win32.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 df782859176f9e8142618e4966d6cee7a53a8b1c819faeb6e606a60fa4f8972a
MD5 6be98415c382917d03b027ad9cd699bf
BLAKE2b-256 8bee8c5da36191524856fb2c675f8cae99211ccf77bcd4e4a9010477e08000ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp312-cp312-win_amd64.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp312-cp312-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.2-cp312-cp312-win32.whl
  • Upload date:
  • Size: 71.5 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for windows_curses-2.4.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 7ec4629685add716d494e8fbdd0b83485de726e9deeda57d30e742c77a32a156
MD5 5c353c3481667374f398b57a108b9a87
BLAKE2b-256 2e9cb2a3706c8edadae8ae88b327ba072d6056ad1b492f9996214cff027e9f01

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp312-cp312-win32.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 03c4ef0095ab8212ed964236d51b4d8c815f302c5a7de94831dae468f05ce333
MD5 9e9602e9a03253d5d6ddb65697cbacb0
BLAKE2b-256 8462e2bae0ab9c5c80dca9a708a4cb9c8afaf0ef61c8d4459b57f96785040831

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp311-cp311-win_amd64.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp311-cp311-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.2-cp311-cp311-win32.whl
  • Upload date:
  • Size: 71.1 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for windows_curses-2.4.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 ecf7af9c97002af661d3e47b9c5eb31cdb7629a032adcdab46530efea8ba1864
MD5 62c7485fdb0d1f785c49b4eee88f99c4
BLAKE2b-256 d1585fd430fec0ebe1cef88ddccba345ca119f1b44e58f58d6998878a01c9973

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp311-cp311-win32.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0ff2a0884cb78d48e15eea1e274f73c1f5a780a4b872357724c17b39de75c996
MD5 aaa5334e6407f5482f78e5de94e7437a
BLAKE2b-256 1caa4a67a104ab4d6ac4d5d5f8f80363feec688d7846180c5ca69327f602196a

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp310-cp310-win_amd64.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp310-cp310-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.2-cp310-cp310-win32.whl
  • Upload date:
  • Size: 71.1 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for windows_curses-2.4.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 fb55b40df1dd8633f431307f204293ca2a0b4f928927490509f1bf68beef3cfe
MD5 15bc966243631177d7734efdffa2efdd
BLAKE2b-256 d16c21393045010dd74887c71f1738f2bb1e60758c04d74cc97cefc03731a6d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp310-cp310-win32.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9de1714af3effdffb3a048dff691c1c1d36c289b8f765c96f148a3dcb9f5984c
MD5 c20170dea42dea0943f442cfff12fa9c
BLAKE2b-256 b71ba88c6ac3f00f4799d842885fcebecc4a9dc6db5c01ca77c45ad885c43877

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp39-cp39-win_amd64.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp39-cp39-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.2-cp39-cp39-win32.whl
  • Upload date:
  • Size: 77.0 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for windows_curses-2.4.2-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 45b1a9cb17712f78ab4a6e9456bd46df35f96f880c1e814f8e0c6b4511a7e89c
MD5 18c5954605e031e4a7b1f7bcf4c9c466
BLAKE2b-256 2a7af083ce2bf898ecf01443182567496f611d4205e7baf45a7ca4777b0b00b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp39-cp39-win32.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e716deaff73bbc7336769bdbf2c2b1c4f9ed0743ed6686927af134e7e6f3a699
MD5 94d27290fee1865449b15a4ae93b6cac
BLAKE2b-256 6d6829b179809c2381fda738141ee1dd12f49c876ee9ea74b35eef24ea1d125e

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp38-cp38-win_amd64.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp38-cp38-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 76.8 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for windows_curses-2.4.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 3a2ece436fa601d71c82f02aa5cf829692ebf77075c64d94af5dfd4a13f31166
MD5 5dbecc2b9ac2becf5032f897b37a1243
BLAKE2b-256 0ccc4884d4fab09bbf49c78ce69de2c7d13ea76cb763eb659f5a2daad83b09fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp38-cp38-win32.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 cc890992a9a554b9e39354db672bd2b74110dd5ed7df0386a9c2d2956e964130
MD5 c6b1f7dd0eb9fc35eb51d95a00b71e05
BLAKE2b-256 ed399fde8937094072c9b4d08bce5f20dc392b57327499d35fe38c12eab05a83

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp37-cp37m-win_amd64.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp37-cp37m-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 61.7 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for windows_curses-2.4.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 6ff56a1cc6410cb7600e5af7c01178d534ca704f9bc91da433719fccbe7c26c6
MD5 1ad241a4fb1140f31884d50f7b6b7520
BLAKE2b-256 7c12a047c13d844a859858b8575e61fb4923ebc9eccb5938c7a616fc079e2212

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp37-cp37m-win32.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 f03193397e20e9f86d5a661c63c01d305d63ffcefc2bca46e1881f2c06af2a38
MD5 d80c0ad84db3366300b478a8f549e6b4
BLAKE2b-256 b6009cc4c10bb916560f2040ea6063eb5a6d57259d1ddbb9e4ae0a8f4eb835ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp36-cp36m-win_amd64.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file windows_curses-2.4.2-cp36-cp36m-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 69.7 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for windows_curses-2.4.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 aa1b97c94882ac0c0019a0dcbb9b57a3f751e166e0ed6d99230e5d77bfb7f2b5
MD5 ce80fba30737bebe3161146777d9633c
BLAKE2b-256 548d7fcbe4ef3b1fe7888ec23dc8be62233936d187147b924bfc8da3ea55c153

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.2-cp36-cp36m-win32.whl:

Publisher: release.yml on zephyrproject-rtos/windows-curses

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page