Skip to main content

A wordcloud widget for kivy.

Project description

WORDCLOUD

Coverage Status Build Status

See https://kivy-garden.github.io/wordcloud/ for the rendered flower docs.

Please see the garden instructions for how to use kivy garden flowers.

Flower information

Display words in a cloud-like fashion, with optional animations on them.

wordcloud example

youtube demo

You can execute the module's __init__.py file with python to try the example.

Install

pip install kivy_garden.wordcloud

Usage

wc = WordCloud(
    label_options=dict(
        font_size=40,
        padding=(10, 10),
    ),
    label_cls='CloudLabel',
    words = (
        'Kivy',
        'Open',
        'source',
        'Python',
        'library',
        'for',
        'rapid',
        'development',
        'of',
        'applications',
        'that',
        'make',
        'use',
        'innovative',
        'user',
        'interfaces',
        'such',
        'as',
        'multi',
        'touch',
        'apps',
    )
)
wc.bind(
    on_post_populate=wc.animate_random_word,
    on_pre_populate=wc.cancel_animate_random_word,
)
root.add_widget(wc)

Contributing

Check out our contribution guide and feel free to improve the flower.

License

This software is released under the terms of the MIT License. Please see the LICENSE.txt file.

How to release

See the garden instructions for how to make a new release.

Project details


Download files

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

Source Distribution

kivy_garden.wordcloud-1.0.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

kivy_garden.wordcloud-1.0.0-py2.py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page