Iconframer
Generate framed, labeled SVG icons.
Features
Frame SVG icons using a template and apply a label (localized via gettext)
Optionally, convert to PNG (requires pycairo/cairocffi & python-rsvg)
Optionally, inverse the icon (assumes icon is black & white only)
How to use
Create SVG file with one layer per icon. Create another SVG to use as the frame template. Then configure the settings (see config example at docs/iconframer.yaml) and run the ‘iconframer’ command line to generate icons:
Usage: iconframer (svg | pdf | png) <language> ... [--config=<file>] [--size=<size>] [--nolabel] [--inverse] [--translations=<path>] iconframer -h | --help iconframer --version Options: -i --inverse Inverse the icon colors -n --nolabel Do not generate labeling -t <path> --translations=<path> Specify path of i18n file (locale) structure, by default 'i18n' -s <size> --size=<size> Specify the diameter of the frame for PNG/PDF [default: 64] -c <file> --config=<file> Override config file [default: iconframer.yaml] -h --help Show this screen. -v --version Show version.
Similar software
svglue
pyconizr
History
0.3.1 (2016-01-18)
Fix README
0.3.0 (2016-01-18)
Improved docs, minor cleanup
Add example config file
0.2.0 (2016-01-18)
First release on PyPI.
Metadata
Release files for iconframer 0.3.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 |
|---|---|---|---|---|
| iconframer-0.3.1.zip | 35.8 kB | Without provenance | Details for iconframer-0.3.1.zip |
Release files / iconframer-0.3.1.zip
| Download URL | iconframer-0.3.1.zip |
|---|---|
| Size | 35.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f0bd05640c96d536d42b69ba6ec20da4c1600293b114bfa496a8ed7831aaf44
|
|
BLAKE2b-256 checksum How to use checksums |
1b9545be20abc9074b42346c53a41076664c5c037280b5cdd3c01fe6512fa643
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for iconframer 0.3.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.