Skip to main content

Writing user interfaces without all that ugly mucking about in hyperspace

Project description

Npyscreen is a python widget library and application framework for programming terminal or console applications. It is built on top of ncurses, which is part of the standard library.

Documentation

Online documentation can be found at:

http://npyscreen.readthedocs.org/

Downloads

The library can be downloaded from:

https://pypi.python.org/pypi/npyscreen/

Official Repository

Please note that the official source code repository is at:

https://github.com/npcole/npyscreen

Strengths

This framework should be powerful enough to create everything from quick, simple programs to complex, multi-screen applications. It is designed to make doing the simple tasks very quick and to take much of the pain out of writing larger applications.

There is a very wide variety of default widgets - everything from simple text fields to more complex tree and grid views.

The framework is easy to extend. That said, if you have a requirement for a widget that is not currently included you can try emailing me and I'll see whether I have time to help - no promises!

Support

Please use the Issue Tracker on this page to report bugs and other problems, or to make feature requests.

There is a mailing list at https://groups.google.com/forum/?fromgroups#!forum/npyscreen/ if you need help getting your application to run.


Non-English Text

From version 2.0pre47 onwards all text widgets should now support utf-8 text display and entry on utf-8 capable terminals. This fixes a long-standing limitation with the library, and makes it suitable for use in projects targeting non-English-speaking users.

As of version 2.0pre48, the library aims to be robust in dealing with unicode across all widgets. There are still a few places in the system where support for utf-8/unicode needs further work. Please file bug reports if you encounter them.

The 2.0pre48 release should be considered an alpha-release for version 2.

Version 5

Version 5 of this library is the first release in 10 years, and incorporates some pull requests from the community, for which I am very grateful. It also fixes a bug that stopped the library from running on Python3.14.

Python 3 support

From version 5.0 onwards, all attempts to target version 2 has finally been abandoned. It's long past time.

From version 2.0pre31 onwards this library should work on python 3, though some of the internals have been rewritten. The public api is unchanged.

Similar Projects

You might also like to look at http://excess.org/urwid/

Compared to npyscreen, urwid is more like a traditional, event-driven gui library, and targets other display devices as well as curses.

Project details


Release history Release notifications | RSS feed

This version

5.0.4

Download files

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

Source Distribution

npyscreen-5.0.4.tar.gz (82.3 kB view details)

Uploaded Source

Built Distribution

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

npyscreen-5.0.4-py3-none-any.whl (106.7 kB view details)

Uploaded Python 3

File details

Details for the file npyscreen-5.0.4.tar.gz.

File metadata

  • Download URL: npyscreen-5.0.4.tar.gz
  • Upload date:
  • Size: 82.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for npyscreen-5.0.4.tar.gz
Algorithm Hash digest
SHA256 3d6c7207cccd08d9269804eeed960b40678e99e891880a2fd936f23c66d5c156
MD5 c5146c3e392ec3eb629966bb1075d19c
BLAKE2b-256 0ed7e77f5df7f5f8f96cde768b61a28341c06456d9f3782bc3c80aefb75a5658

See more details on using hashes here.

File details

Details for the file npyscreen-5.0.4-py3-none-any.whl.

File metadata

  • Download URL: npyscreen-5.0.4-py3-none-any.whl
  • Upload date:
  • Size: 106.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for npyscreen-5.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 afc4ba72b4d233871435f02d959e62fd09bb5657cf3cb1c5b085b25561e540ae
MD5 83e02e9b7e39cc2e1b0e6b9ebd84cc1b
BLAKE2b-256 c6ac10f85c8d38dec7264ea87603c4923a4378128f764954b289bb9057dbb5e8

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