معرفی شرکت ها


cursebox-lib-1.0.2


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Curses made simple
ویژگی مقدار
سیستم عامل -
نام فایل cursebox-lib-1.0.2
نام cursebox-lib
نسخه کتابخانه 1.0.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Tenchi
ایمیل نویسنده tenchi@team2xh.net
آدرس صفحه اصلی https://github.com/Tenchi2xh/cursebox
آدرس اینترنتی https://pypi.org/project/cursebox-lib/
مجوز -
<img src=https://github.com/Tenchi2xh/cursebox/raw/master/resources/logo_animation.gif width=216/> *Curses made simple* <p align="right"> <a href="https://pypi.org/project/cursebox-lib/"> <img height=27 alt="PyPI" src="https://img.shields.io/pypi/v/cursebox-lib.svg"> </a> <a href='http://cursebox.readthedocs.io/en/latest/?badge=latest'> <img height=27 src='https://readthedocs.org/projects/cursebox/badge/?version=latest' alt='Documentation Status' /> </a> <a href="https://www.codacy.com/app/Tenchi2xh/cursebox"> <img height=27 alt="Codacy" src="https://img.shields.io/codacy/cd823f12d6dc4a78a68825d97448ae9f.svg"> </a> <a href="https://travis-ci.org/Tenchi2xh/cursebox"> <img height=27 alt="Travis-CI" src="https://img.shields.io/travis/Tenchi2xh/cursebox.svg"> </a> <a href="https://github.com/Tenchi2xh/Almonds/releases/tag/1.0"> <img height=27 alt="Tag" src="https://img.shields.io/badge/tag-1.0-blue.svg"> </a> </p> --- ```bash pip install cursebox-lib ``` Cursebox is a library based around the [curses](https://docs.python.org/3/library/curses.html) standard module. Its goal is to avoid the C-like ceremony of [curses](https://docs.python.org/3/library/curses.html) and provide a modern approach to terminal drawing: ```python >>> from cursebox import * >>> with Cursebox() as cb: ... width, height = cb.width, cb.height ... greeting = "Hello, World!" ... # Center text on the screen ... cb.put(x=(width - len(greeting)) / 2, ... y=height / 2, text=greeting, ... fg=colors.black, bg=colors.white) ... # Wait for any keypress ... cb.poll_event() ``` It provides several useful features: - No setup/teardown - RGB conversion to terminal 256-colors palette - Event management Full documentation on [Read the Docs](http://cursebox.readthedocs.io/) # TODO - Unit tests - Finish documentation - Handmade `curses` module using ANSI escape sequences for Windows replacement - Add pixel buffer from other project


نحوه نصب


نصب پکیج whl cursebox-lib-1.0.2:

    pip install cursebox-lib-1.0.2.whl


نصب پکیج tar.gz cursebox-lib-1.0.2:

    pip install cursebox-lib-1.0.2.tar.gz