معرفی شرکت ها


TapTargetView-0.1.2


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Attempt to mimic Android's TapTargetView using Kivy and Python
ویژگی مقدار
سیستم عامل OS Independent
نام فایل TapTargetView-0.1.2
نام TapTargetView
نسخه کتابخانه 0.1.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Shashi Ranjan
ایمیل نویسنده shashiranjankv@gmail.com
آدرس صفحه اصلی https://github.com/shashi278/TapTargetView
آدرس اینترنتی https://pypi.org/project/TapTargetView/
مجوز -
![TapTargetView demo](demo/ttv_demo_2.gif) # TapTargetView [![Build Status](https://travis-ci.org/shashi278/TapTargetView.svg?branch=master)](https://travis-ci.org/shashi278/TapTargetView) An attempt to mimic android's TapTargetView using Python and Kivy. Inspired by [Android's TapTargetView](https://github.com/KeepSafe/TapTargetView) ## Installation #### *Using Pip* * `pip install taptargetview` #### *Manually* * `git clone https://github.com/shashi278/TapTargetView.git` * `cd TapTargetView` * `python setup.py install` ## Simple Usage ```python TapTargetView( my_button, outer_circle_color= [0,1,1], outer_circle_alpha= .85, title_text= "My Button", description_text="It does something when pressed", widget_position="center", title_position="right_bottom", on_end= my_callback ).start() ``` Refer to [demo](demo/ttv_demo.py) for extensive usages. ### Sequencing Sequencing is easier. Just bind `start` of one instance to the `on_end` of another instance. ```python ttv2= TapTargetView( my_button2, outer_circle_color= [1,0,1], outer_circle_alpha= .05, title_text= "My Second Button", description_text="It too does something when pressed", widget_position="left", on_end= my_callback ) ttv1= TapTargetView( my_button1, outer_circle_color= [0,1,1], outer_circle_alpha= .85, title_text= "My First Button", description_text="It does something when pressed", widget_position="center", title_position="right_bottom", on_end= ttv2.start ) ttv1.start() ``` ### Customizable attributes: ```python """ widget: widget to add TapTargetView upon outer_radius: (optional), Radius for outer circle, defaults to dp(300) outer_circle_color: (optional), Color for the outer circle, defaults to [1,0,0] outer_circle_alpha: (optional), Alpha value for outer circle, defaults to .96 target_radius: (optional), Radius for target circle, defaults to dp(45) target_circle_color: (optional), Color for target circle, defaults to [1,1,1] title_text: (optional), Title to be shown on the view, defaults to '' title_text_size: (optional), Text size for title, defaults to dp(25) title_text_color: (optional), Text color for title, defaults to [1,1,1,1] title_text_bold: (optional), Whether title should be bold, defaults to `True` description_text: (optional), Description to be shown below the title(Keep it short), defaults to '' description_text_size: (optional), Text size for description text, defaults to dp(20) description_text_color: (optional), Text color for description text, defaults to [.9,.9,.9,1] description_text_bold: (optional), Whether description should be bold, defaults to False draw_shadow: (optional), Whether to show shadow, defaults to False cancelable: (optional), Whether clicking outside the outer circle dismisses the view, defaults to False widget_position: (optional), Sets the position of the widget on the outer_circle. Can be one of "left","right","top","bottom","left_top","right_top", "left_bottom","right_bottom", and "center", defaults to "left" title_position: (optional), Sets the position of `title_text` on the outer circle. Only works if `widget_position` is set to "center". In all other cases, it calculates the `title_position` itself. Must be set to other than "auto" when `widget_position` is set to "center". Can be one of "left","right","top","bottom","left_top","right_top", "left_bottom", and "right_bottom", defaults to "auto" (since `widget_position` is "left") stop_on_outer_touch: (optional), whether clicking on outer circle stops the animation, defaults to False stop_on_target_touch: (optional), whether clicking on target circle should stop the animation, defaults to True on_end: (optional), Function to be called when the animation stops, defaults to None """ ```


نیازمندی

مقدار نام
- kivy


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

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


نحوه نصب


نصب پکیج whl TapTargetView-0.1.2:

    pip install TapTargetView-0.1.2.whl


نصب پکیج tar.gz TapTargetView-0.1.2:

    pip install TapTargetView-0.1.2.tar.gz