Skip to content
Automatically exported from code.google.com/p/npyscreen
Python HTML
Branch: master
Clone or download

Latest commit

npcole Merge pull request #61 from bavovanachte/single_line_input
Added convenience function for requesting a single line of user input
Latest commit 8ce3120 Aug 31, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Made it possible to have greater control over the colour of various w… Sep 14, 2014
build/lib/npyscreen Removing buid files. Jun 23, 2015
developer_utils cleanup Jul 29, 2014
docs Merge pull request #61 from bavovanachte/single_line_input Aug 31, 2019
npyscreen Merge pull request #61 from bavovanachte/single_line_input Aug 31, 2019
quickTests Added signature for changeset ece288674ab3 May 19, 2013
tests
webpage
.hgignore Removing buid files. Jun 23, 2015
.hgsigs Added signature for changeset 7a67dfd29d63 Jan 9, 2014
CHANGELOG
DESIGN.txt Added the new ActionFormV2 files. Jul 29, 2014
EXAMPLE-BOX.py Fix weakref bug Feb 18, 2015
EXAMPLE-BoWTheme.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-Colourful.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-ManagedApp.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-Menus.py Submenus can now define a function that will be called before they are Apr 28, 2014
EXAMPLE-MultilineEditable.py Documentation updated. May 20, 2014
EXAMPLE-OptionList.py Bugfix. Dec 18, 2013
EXAMPLE-ThemeTransparent.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-WIDGETLIST.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-address-book.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-annotation.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-basic-editor.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-fuller.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-multipage_experimental.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-multiple-screens.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-mutt-like-annotated.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-mutt-like.py ValueErrors are no longer swallowed whole while dealing with keypresses. May 13, 2014
EXAMPLE-muttactive.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-muttactivetraditional.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-nocolor.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-unicode-py3.py
EXAMPLE-unicode.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE-waiting.py Added signature for changeset ece288674ab3 May 19, 2013
EXAMPLE.py Rescued 4.9.1 from online. Jun 22, 2015
EXAMPLE.py.orig Trying to merge latest changes with the original github export. Jun 22, 2015
LICENCE Added signature for changeset ece288674ab3 May 19, 2013
MANIFEST Added signature for changeset ece288674ab3 May 19, 2013
MANIFEST.in Added signature for changeset ece288674ab3 May 19, 2013
Npyscreenshot1.png Added signature for changeset ece288674ab3 May 19, 2013
Npyscreenshot2.png Added signature for changeset ece288674ab3 May 19, 2013
PKG-INFO Merging. Jun 22, 2015
README.md Updated README file with new repository details. Jun 23, 2015
ScreenSize.py Added signature for changeset ece288674ab3 May 19, 2013
TEST-SAFE-DISPLAY.py Added signature for changeset ece288674ab3 May 19, 2013
TEST4.py Removed old licence file Jul 1, 2014
TESTING-Action.py Added new documention and the filenamecomo box. Nov 11, 2013
TESTING-BufferPager.py Bug fixes May 16, 2014
TESTING-DEBUG-APP.py 4.8.5 Mar 10, 2015
TESTING-EMAIL-LAYOUT.py Removed old licence file Jul 1, 2014
TESTING-EVENT-APP.py Version 4.7.0 Jan 3, 2015
TESTING-FormActiveV2.py Added the new ActionFormV2 files. Jul 29, 2014
TESTING-MAX-WIDTH.py
TESTING-MultiLineCheckBox.py Added support for multiline checkboxes. Nov 25, 2013
TESTING-MuttError.py New tests May 16, 2014
TESTING-NewTree.py Begin conversion of the tree classes to pep8 method_names. Aug 11, 2014
TESTING-Pager.py New tests May 16, 2014
TESTING-Progress.py Removed unnecessary files from the archive. Aug 27, 2013
TESTING-RESIZE.py documentation updated. Feb 17, 2014
TESTING-Syntax.py Made safe-string even safer. Added the beginnings of a DEBUG mode. Aug 27, 2013
TESTING-TinyForm.py Documentation updates. Jan 28, 2015
TESTING-Tree.py Attempting to let npyscreen resize terminals. Feb 15, 2014
TESTING-TreeMultiLineBox.py Added test for multi-line tree values. Dec 30, 2013
TESTING-float.py Experimenting. Jul 29, 2014
TESTING-multipage.py Added signature for changeset ece288674ab3 May 19, 2013
TESTUNICODE.py Added signature for changeset ece288674ab3 May 19, 2013
TIMEOUT-EXAMPLE.py Added signature for changeset ece288674ab3 May 19, 2013
Test.py Added signature for changeset ece288674ab3 May 19, 2013
TestActionExpanded.py Added signature for changeset ece288674ab3 May 19, 2013
TestWidgets.py Added signature for changeset ece288674ab3 May 19, 2013
TwoScreenTrial.py Added signature for changeset ece288674ab3 May 19, 2013
UPLOAD-COMMAND Added signature for changeset ece288674ab3 May 19, 2013
detect.py Added signature for changeset ece288674ab3 May 19, 2013
example-war-and-peace.py Added signature for changeset ece288674ab3 May 19, 2013
getch.py Added signature for changeset ece288674ab3 May 19, 2013
keyname.py Added signature for changeset ece288674ab3 May 19, 2013
keyname0.py Added signature for changeset ece288674ab3 May 19, 2013
keyname2.py Added signature for changeset ece288674ab3 May 19, 2013
keyname3.py Added signature for changeset ece288674ab3 May 19, 2013
memtest.py Added signature for changeset ece288674ab3 May 19, 2013
mousetesting.py Added signature for changeset ece288674ab3 May 19, 2013
multilinetest.py Added signature for changeset ece288674ab3 May 19, 2013
pybug.py Added signature for changeset ece288674ab3 May 19, 2013
python3test.py Added signature for changeset ece288674ab3 May 19, 2013
setup.py Rescued 4.9.1 from online. Jun 22, 2015
test-bug.py Added signature for changeset ece288674ab3 May 19, 2013
testFilebox.py File Selector form may now be useable. Sep 10, 2013
testMonthbox.py Added signature for changeset ece288674ab3 May 19, 2013
testPager.py Added signature for changeset ece288674ab3 May 19, 2013
testingMultiSlider.py Added another test file Jun 22, 2015
testingMultiSlider.py.orig Closing Branch Jun 22, 2015
testingMultiSlider.py.rej Closing Branch Jun 22, 2015
testingSliders.py Minor user interface updates. Nov 17, 2014
testscreendraw.py Added signature for changeset ece288674ab3 May 19, 2013
testtitlewidget.py Attempting to let npyscreen resize terminals. Feb 15, 2014
testtreebug.py Added signature for changeset ece288674ab3 May 19, 2013
tokentextbox.py Examining the experimental texttoken widget May 20, 2013
tutorialtest.py Added signature for changeset ece288674ab3 May 19, 2013
utf8-curses.py Added signature for changeset ece288674ab3 May 19, 2013
utf8-pycurses.py Added signature for changeset ece288674ab3 May 19, 2013
utf8test.py

README.md

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://bitbucket.org/npcole/npyscreen

There is a github repository at:

https://github.com/npcole/npyscreen

for users that prefer github. If possible, though, please file bug reports at the bitbucket repository.

The original source code archive was at:

https://code.google.com/p/npyscreen/

This archive will continue to be updated for as long as code.google.com accepts updates.

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.

Python 3 support

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, and the new code continues to work on python 2. I am currently still using python 2 for development. All future versions will target both python 2 and 3, unless a feature unique to python 3 becomes vital.

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.

You can’t perform that action at this time.