tablerpy
Tabler Icons library for Python.
Tabler Icons is a set of free MIT-licensed high-quality SVG icons. Each icon is designed on a 24x24 grid and a 2px stroke.
Installation
pip install tablerpy
Usage
The function tablerpy.get_icon accepts a OutlineIcon | FilledIcon
and return a Traversable (pathlib.Path) to the icon .svg file.
from tablerpy import OutlineIcon, FilledIcon, get_icon
outline_icon_path = get_icon(OutlineIcon.BRAND_GITHUB)
filled_icon_path = get_icon(FilledIcon.BRAND_GITHUB)
Icon names match those on tabler.io/icons,
except they are uppercased and hyphens - are replaced with underscores _.
For example, brand-github
becomes BRAND_GITHUB.
Contributing
Generating icons and enums
To keep up with Tabler Icons releases, most of this package is generated using a script.
$ python scripts/generator.py --help
usage: generator.py [-h] --version VERSION [--package PACKAGE]
Download Tabler Icons release from github.com/tabler/tabler-icons and generate Python files.
options:
-h, --help show this help message and exit
--version VERSION Tabler Icons release version
--package PACKAGE Target package directory
For instance, to generate files from Tabler Icons Release 3.29.0:
python scripts/generator.py --version 3.29.0
Acknowledgements
- pytablericons
for providing inspiration.
The package include features for using icons with
Pillow,PyQtorPySide.
Metadata
Release files for tablerpy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tablerpy-0.2.0.tar.gz | 625.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tablerpy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.6 MB
Release files / tablerpy-0.2.0.tar.gz
| Download URL | tablerpy-0.2.0.tar.gz |
|---|---|
| Size | 625.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee2053a883ef33f8c42907ee2e74fb2b05802aac3a333609c5ae955447b721cc
|
|
BLAKE2b-256 checksum How to use checksums |
c316a03c4ca4ff0ba7cca55b903be86da14e5c55e938c4de8eeba8a582c5958c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 25, 2025.
Transparency logRelease files / tablerpy-0.2.0-py3-none-any.whl
| Download URL | tablerpy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
549a75eb2c71e63123d53906023069efcae367a2a1b0b627cf087353d3bb8570
|
|
BLAKE2b-256 checksum How to use checksums |
78413db13a18603dc63ceabe5aea46369d2c729bfd200b8dd53246483cab43f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 25, 2025.
Transparency log