A wordcloud widget for kivy.
Project description
WORDCLOUD
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kivy_garden.wordcloud-1.0.0.tar.gz
.
File metadata
- Download URL: kivy_garden.wordcloud-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d766793a632f0bb5d0ff8ada7b55755ba7555152c7c5e1169e85195384d1c0f6 |
|
MD5 | 111d37bf226b9333703334f7f87f4afc |
|
BLAKE2b-256 | abaded1e96e704e3b3915343f3ada11fae522aee6c6061ec3e71d463ea8ca204 |
File details
Details for the file kivy_garden.wordcloud-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: kivy_garden.wordcloud-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50890dcd9aac54ca089575c4dc83443241890dcc17250a2684fe56132050ba42 |
|
MD5 | b9f7420e2e25e71ba3ad0e40b7aaa7a1 |
|
BLAKE2b-256 | 4cb1af2b6ad8cf8eef4d9bea4c66fd1231fd7e7c26ecd5088c153d6fd78ed057 |