معرفی شرکت ها


curses-utils-0.0.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Simple curses utilities
ویژگی مقدار
سیستم عامل -
نام فایل curses-utils-0.0.9
نام curses-utils
نسخه کتابخانه 0.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Logan Goldberg
ایمیل نویسنده logangoldberg@hvrsd.org
آدرس صفحه اصلی https://github.com/KinuTheDragon/CursesUtils
آدرس اینترنتی https://pypi.org/project/curses-utils/
مجوز -
# CursesUtils ## Functions `menu.menu(stdscr, title, options)` Pulls up a select menu. * `stdscr`: The screen to write to. * `title`: The title of the menu. * `options`: A collection of strings to choose from. Returns the index of the selected item, or None if the user chooses to quit. `number_select.number_select(stdscr, title, num_range, start = None)` Pulls up a number selection menu. * `stdscr`: The screen to write to. * `title`: The title of the selection. * `num_range`: A range object for valid numbers. * `start`: The starting selected number. Defaults to `num_range`'s min value. Returns the number selected, or None if the user chooses to quit. `keys.set_key_codes(key_name, key_codes)` Sets a key's function by name. * `key_name`: The key name to set. * `key_codes`: A collection of key codes (as returned by `stdscr.getkey()`) to use. Make sure to set keys before using them! Internally, CursesUtils uses the following keys: * `menu_up` (for navigating UP through menus) * `menu_down` (for navigating DOWN through menus) * `menu_confirm` (for CONFIRMING on menus) * `menu_cancel` (for QUITTING on menus) `keys.get_key_codes(key_name)` Gets a key's codes by name. * `key_name`: The key name to get the codes of. Returns the key codes of the given key, or None if it doesn't exist. See set_key_codes for more information. `keys.get_next_key(stdscr)` Gets the next key and saves it. * `stdscr`: The screen to write to. `keys.get_current_key()` Gets the current pressed key. `keys.get_key_with_timeout(stdscr, timeout)` Waits for a timeout, returning immediately on a key. Saves the key, saving None if no key was pressed. * `stdscr`: The screen to write to. * `timeout`: The timeout in milliseconds. `keys.wait_for_key(stdscr)` Waits for a key, but doesn't consume it. * `stdscr`: The screen to write to. `keys.is_pressed(key_name)` Checks if the given key is the current pressed key by name. * `key_name`: The key name to check. `wrapper.wrapper(func)` Wraps a function to set up and shut down, also wrapping using `curses.wrapper`. * `func`: The function to wrap.


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl curses-utils-0.0.9:

    pip install curses-utils-0.0.9.whl


نصب پکیج tar.gz curses-utils-0.0.9:

    pip install curses-utils-0.0.9.tar.gz