Skip to main content

Font Awesome 5 Icons for Kivy

Project description

kivysome

CircleCI codecov Renovate Status CodeFactor PyPI - Python Version PyPI PyPI - Downloads GitHub License GitHub last commit

Font Awesome 5 Icons for Kivy

Usage

1. Generate your kit

Go to Font Awesome and generate your kit there. The specified version is respected. For the moment, only free licenses are supported.

2. Enable it

In your main.py register your font:

import kivysome 
kivysome.enable("https://kit.fontawesome.com/{YOURCODE}.js", group=kivysome.FontGroup.SOLID)

3. Use it

In your .kv file or string, reference the short Font Awesome (i.e., without fa- prefix) as you can copy them from their website.

#: import icon kivysome.icon
Button:
    markup: True # Always turn markup on
    text: "%s"%(icon('comment'))

Check the examples folder for more insight.

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

kivysome-0.1.3.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

kivysome-0.1.3-py3-none-any.whl (6.8 kB view hashes)

Uploaded 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