kivysome
Font Awesome 5 Icons for Kivy
Usage
Enable it
Using a version
This will only work for free versions of Font Awesome.
import kivysome
kivysome.enable(kivysome.LATEST, group=kivysome.FontGroup.REGULAR)
Using a kit
This might be extended to commercial versions of Font Awesome on demand.
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 Comment" % icon('comment', 24)
Caching
Kivysome will cache the files in the font folder and not redownload them from GitHub.
If a kit is given, however, the kit version will have to be fetched from Font Awesome on every execution.
If kivysome.LATEST is given, the latest version will also have to be determined from GitHub's servers.
Font packs will only be downloaded if new versions are published, then.
To completely avoid regular server access, a pinned version will have to be given.
The initial download can also be circumvented by downloading it a single time on the developer's machine and publishing
the downloaded fonts folder with the project. The folder should then contain a .css, .fontd, and a .ttf file
matching the pinned Font Awesome version and font group.
Check the examples folder for more insight.
Metadata
Release files for kivysome 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kivysome-0.2.1.tar.gz | 6.2 kB | Without provenance | Details for kivysome-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kivysome-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for kivysome-0.2.1-py3-none-any.whl |
Total release size: 12.6 kB
Release files / kivysome-0.2.1.tar.gz
| Download URL | kivysome-0.2.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6510822adebac632325ef2d3ec63aae6c9e3d9246c598ca9a64156fe2a5bd9a
|
|
BLAKE2b-256 checksum How to use checksums |
bfdef892e90887e3a567ad040951fe45709c5d942e41148d5ea315ffff54d1f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.7.9 Linux/5.4.0-1023-azure
|
Release files / kivysome-0.2.1-py3-none-any.whl
| Download URL | kivysome-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30e1063aecd8d74ac4e04af7530ffbfceedfeac69f97a0dc04d856f61a22775d
|
|
BLAKE2b-256 checksum How to use checksums |
fde5536fd645ac8b56288cbf38c43b1dadcc96c3a8f8f60f48c4c70ee6cf1f88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.7.9 Linux/5.4.0-1023-azure
|
Security for kivysome 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.