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

windows_curses-2.4.1-cp313-cp313-win_amd64.whl (81.6 kB view details)

Uploaded CPython 3.13Windows x86-64

windows_curses-2.4.1-cp313-cp313-win32.whl (71.4 kB view details)

Uploaded CPython 3.13Windows x86

windows_curses-2.4.1-cp312-cp312-win_amd64.whl (81.8 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

windows_curses-2.4.1-cp311-cp311-win_amd64.whl (81.4 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

windows_curses-2.4.1-cp310-cp310-win_amd64.whl (81.4 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

windows_curses-2.4.1-cp39-cp39-win_amd64.whl (89.5 kB view details)

Uploaded CPython 3.9Windows x86-64

windows_curses-2.4.1-cp39-cp39-win32.whl (76.9 kB view details)

Uploaded CPython 3.9Windows x86

windows_curses-2.4.1-cp38-cp38-win_amd64.whl (89.4 kB view details)

Uploaded CPython 3.8Windows x86-64

windows_curses-2.4.1-cp38-cp38-win32.whl (76.5 kB view details)

Uploaded CPython 3.8Windows x86

windows_curses-2.4.1-cp37-cp37m-win_amd64.whl (70.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

windows_curses-2.4.1-cp36-cp36m-win_amd64.whl (70.7 kB view details)

Uploaded CPython 3.6mWindows x86-64

windows_curses-2.4.1-cp36-cp36m-win32.whl (61.6 kB view details)

Uploaded CPython 3.6mWindows x86

File details

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

File metadata

File hashes

Hashes for windows_curses-2.4.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8cf653f8928af19c103ae11cfed38124f418dcdd92643c4cd17239c0cec2f9da
MD5 9fb66ad4c775e00978f97cff667b3a62
BLAKE2b-256 2b4b2838a829b074a68c570d54ae0ae8539979657d3e619a4dc5a4b03eb69745

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp313-cp313-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.1-cp313-cp313-win32.whl
  • Upload date:
  • Size: 71.4 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for windows_curses-2.4.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 05d1ca01e5199a435ccb6c8c2978df4a169cdff1ec99ab15f11ded9de8e5be26
MD5 342bfaaa3e73c264a38a421dc8755db5
BLAKE2b-256 25a0e8d074f013117633f6b502ca123ecfc377fe0bd36818fe65e8935c91ca9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5c9c2635faf171a229caca80e1dd760ab00db078e2a285ba2f667bbfcc31777c
MD5 e98688b426b7886df8787a269de2c004
BLAKE2b-256 628fd908bcab1954375b156a9300fa86ceccb110f39457cd6fd59c72777626ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp312-cp312-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.1-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.0.1 CPython/3.12.8

File hashes

Hashes for windows_curses-2.4.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 bdbe7d58747408aef8a9128b2654acf6fbd11c821b91224b9a046faba8c6b6ca
MD5 f9132a2f5196858f1bad10897659b1e3
BLAKE2b-256 f49960f34e51514c82631aa5c6d21eab88ce1701562de9844608411e39462a46

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fd7d7a9cf6c1758f46ed76b8c67f608bc5fcd5f0ca91f1580fd2d84cf41c7f4f
MD5 fd98a02b17b27c66b99c64e2eed09cc7
BLAKE2b-256 5029fd7c0c80177d8df55f841504a5f332b95b0002c80f82055913b6caac94e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp311-cp311-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.1-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.0.1 CPython/3.12.8

File hashes

Hashes for windows_curses-2.4.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 4fa1a176bfcf098d0c9bb7bc03dce6e83a4257fc0c66ad721f5745ebf0c00746
MD5 30e338b47657629e7840bec941c0e863
BLAKE2b-256 74b346a2508fff83b5affb5a311797c584c494b4b0c4c8796a1afa2c1b1e03ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 325439cd4f37897a1de8a9c068a5b4c432f9244bf9c855ee2fbeb3fa721a770c
MD5 4f439a41262158f2cef8e7a10ad4b39b
BLAKE2b-256 a61d1bb512c445af24fb0a3dccf9537c8727bba5920e69539227b87f5351f608

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp310-cp310-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.1-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.0.1 CPython/3.12.8

File hashes

Hashes for windows_curses-2.4.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 53d711e07194d0d3ff7ceff29e0955b35479bc01465d46c3041de67b8141db2f
MD5 d99722ca67441a5b48c30614dd17a492
BLAKE2b-256 1534e70815e7ae6f157c00121180a607dbcdc82acfd949c70bba28c45d206dec

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4588213f7ef3b0c24c5cb9e309653d7a84c1792c707561e8b471d466ca79f2b8
MD5 28cabd6de9455a0f9c57a8c2f66ee838
BLAKE2b-256 58deb050bb1dc40ce48afb477198fb65abe51580c03a165492fce1e8fa61efd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp39-cp39-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.1-cp39-cp39-win32.whl
  • Upload date:
  • Size: 76.9 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for windows_curses-2.4.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 775a2e0fefeddfdb0e00b3fa6c4f21caf9982db34df30e4e62c49caaef7b5e56
MD5 2cb9806cd13fff1b9c091dd2e6dbac66
BLAKE2b-256 5a078684dabf0d8c54b2e3ffb6bbc0f0e162b0817008c0f98cca4e04f9a9e72c

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 618e31458fedba2cf8105485ff00533ece780026c544142fc1647a20dc6c7641
MD5 bb3e77ac250c0e23d93f4e11271cb643
BLAKE2b-256 69670ffc78290400740898c4d0df503c1b200dae7f31bbe6172468e590404885

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp38-cp38-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 76.5 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for windows_curses-2.4.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 e9ce84559f80de7ec770d28c3b2991e0da51748def04e25a3c08ada727cfac2d
MD5 9f5bf3837c4c77405286400e58eee08c
BLAKE2b-256 08580a8fd30e8952ac461949e5b5177815cb70cd8e1399b9464537bd178f28b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 db776df70c10bd523c4a1ab0a7624a1d58c7d47f83ec49c6988f05bc1189e7b8
MD5 f315671ba7cfd40f2301b53522df27b7
BLAKE2b-256 66c110e45e34099437256548b2d156b5841817d3b66c2c162c72b5584ea3cf18

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.1-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.0.1 CPython/3.12.8

File hashes

Hashes for windows_curses-2.4.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 a36b8fd4e410ddfb1a8eb65af2116c588e9f99b2ff3404412317440106755485
MD5 1bb465f559a92ead49313878ecd896da
BLAKE2b-256 e96c49955f6bfcdb1a387021042aadfafd736bb63a9cefffa00d5456b7b47042

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for windows_curses-2.4.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 e61be805edc390ccfdeaf0e0c39736d931d3c4a007d6bf0f98d1e792ce437796
MD5 d2bc6e5fd4c715ca5772219a48fa18c5
BLAKE2b-256 0eb4c2a1dd84c7152b1ede832aeaf25af5ce1a8429b78a1644d1d886c80a996c

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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.1-cp36-cp36m-win32.whl.

File metadata

  • Download URL: windows_curses-2.4.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 61.6 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for windows_curses-2.4.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 6a5a831cabaadde41a6856fea5a0c68c74b7d11d332a816e5a5e6c84577aef3a
MD5 172a72e9a448918a694631c844e17e64
BLAKE2b-256 d515e8adb661437cb89f7e2cadf00b5a6aa8937a79b83e5efee843e7683db340

See more details on using hashes here.

Provenance

The following attestation bundles were made for windows_curses-2.4.1-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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page