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 https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses. Uses the PDCurses curses implementation.

PDCurses is compiled with wide character support, meaning get_wch() is available. UTF-8 is forced as the encoding.

Note that PDCurses requires an explicit curses.resize_term(0, 0) call after receiving KEY_RESIZE to get behavior similar to the automatic SIGWINCH handling in ncurses. ncurses reliably fails for resize_term(0, 0), so a compatibility hack is to always call resize_term(0, 0) and ignore any curses.error exceptions.

Maybe it would be better to detect KEY_RESIZE in _cursesmodule.c and call resize_term(0, 0) there, for automatic compatibility…

Project details


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-1.1-cp37-cp37m-win_amd64.whl (68.3 kB view details)

Uploaded CPython 3.7mWindows x86-64

windows_curses-1.1-cp37-cp37m-win32.whl (58.8 kB view details)

Uploaded CPython 3.7mWindows x86

windows_curses-1.1-cp36-cp36m-win_amd64.whl (68.3 kB view details)

Uploaded CPython 3.6mWindows x86-64

windows_curses-1.1-cp36-cp36m-win32.whl (58.8 kB view details)

Uploaded CPython 3.6mWindows x86

windows_curses-1.1-cp35-cp35m-win_amd64.whl (67.8 kB view details)

Uploaded CPython 3.5mWindows x86-64

windows_curses-1.1-cp35-cp35m-win32.whl (58.6 kB view details)

Uploaded CPython 3.5mWindows x86

windows_curses-1.1-cp27-cp27m-win_amd64.whl (60.6 kB view details)

Uploaded CPython 2.7mWindows x86-64

windows_curses-1.1-cp27-cp27m-win32.whl (52.5 kB view details)

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

  • Download URL: windows_curses-1.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 68.3 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

File hashes

Hashes for windows_curses-1.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d41ab2cb21c989573cea85f84c92bcfc81069a459d67bfe17f4b76761f3293d1
MD5 76639f4b0eb44235b546daabb736a044
BLAKE2b-256 0474a02556478d50e7ce579cc88f3f1bb3d8ced8e453f69c6798cbcd27f8af0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: windows_curses-1.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 58.8 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

File hashes

Hashes for windows_curses-1.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 a60a4d1c8956d71c3418e0211fee54ba9d71401a2c9eca2e4835c50a4ff71628
MD5 28749e5abcf30331ba238a0a604bd89b
BLAKE2b-256 8a22bab7306a86fb655802f173ac17b2d2d8f70b73e5603c4a412551cb7339b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: windows_curses-1.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 68.3 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

File hashes

Hashes for windows_curses-1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 92c7e33250b0e0e8b30840cf16001c0ba040c3ab03f27e0b46b28fafc5d36e24
MD5 2c9c6d3cf2dd2a56241425e09d423d49
BLAKE2b-256 1e75e390d806df17b30f3617561dc1d6782d68ca608244cdee570019e3e56452

See more details on using hashes here.

File details

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

File metadata

  • Download URL: windows_curses-1.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 58.8 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

File hashes

Hashes for windows_curses-1.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 b26624fc31b4af4a9fca4be785ca7c8c46588759eb4d428354725dc7cdf7a596
MD5 93aed238195d7fd7cc8a2d496921b006
BLAKE2b-256 31626663525da15d56bda02b9b5199dffc89b208fba13ef5bc059375fd365aeb

See more details on using hashes here.

File details

Details for the file windows_curses-1.1-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: windows_curses-1.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 67.8 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

File hashes

Hashes for windows_curses-1.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 e06aa2d2aae615e03a2a7f57cb3d3a63fae565ffbfbbdafdc315ed6a52b54ee2
MD5 098ce3ab440588c6154516b0284645bc
BLAKE2b-256 f402ea8ddf69a7135d3c1b731afb4e09ef4ef7bbf71595716feee174732a2ac5

See more details on using hashes here.

File details

Details for the file windows_curses-1.1-cp35-cp35m-win32.whl.

File metadata

  • Download URL: windows_curses-1.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 58.6 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

File hashes

Hashes for windows_curses-1.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 1dc09c1485b0e6191a68d93629faa80e8f6bc7f32ba2537906928dd92efe0972
MD5 72e0794c0c631e7db398f6fac581cf88
BLAKE2b-256 1741ad1fa3fd3d2a755ef627a9bad2e897a1489daf1490ea703f85912736a9b8

See more details on using hashes here.

File details

Details for the file windows_curses-1.1-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: windows_curses-1.1-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 60.6 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

File hashes

Hashes for windows_curses-1.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 c8e743c310f657e0cb453ec2ad2058975b00cd77bcd7993b68bdacfe22b40236
MD5 edc951450143ca68bd1b4face3fb22b7
BLAKE2b-256 4c55501663881f4b14298068c0995a062660f102e31e4ca65479ebf88e967d65

See more details on using hashes here.

File details

Details for the file windows_curses-1.1-cp27-cp27m-win32.whl.

File metadata

  • Download URL: windows_curses-1.1-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.5

File hashes

Hashes for windows_curses-1.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 c723a3dd4d7dc51955e33d5a8424e9bf4483a7edfa55b3e8ed045c357643041f
MD5 642075eb118a607999ed4bed74c9905a
BLAKE2b-256 7ba7cd57d9c87663c4f334ff6140e46fbf08e24a5923572543187b19a55702e5

See more details on using hashes here.

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