The Lupaxa Miscellaneous Toolbox
Part of The Lupaxa Project
lupaxa-favicon-generator
Generate a modern favicon set from one source image (PNG, JPEG, WebP, or SVG):
PNG sizes, favicon.ico, Apple touch icon, PWA icons (including maskable),
site.webmanifest, optional HTML link snippet, and favicon.svg when the
source is SVG.
Built for documentation and product sites used by The Lupaxa Project.
Features
- One source image → full favicon / PWA icon set
- Formats: PNG, JPEG, WebP, and SVG (SVG needs system Cairo)
- Outputs: 16/32 PNG, multi-size ICO, Apple touch 180×180, 192/512 and maskable 512 icons, webmanifest, optional HTML snippet
- CLI flags for fit mode, padding, theme/background colours, and name metadata
- Fully typed, linted, formatted, and tested
- MkDocs documentation included
Installation
From PyPI
pip install lupaxa-favicon-generator
From source (development mode)
pip install -e ".[dev]"
The console command is favicon-generator.
SVG input also requires the system Cairo library (brew install cairo on
macOS or apt install libcairo2 on Debian/Ubuntu).
CLI quick start
favicon-generator --help
favicon-generator --version
favicon-generator logo.png
favicon-generator logo.svg \
--output-dir site/assets/favicons \
--prefix /assets/favicons/ \
--name "My App" \
--short-name "App" \
--theme-colour "#0A0A0A" \
--background-colour "#0A0A0A" \
--background "#0A0A0A" \
--padding 0.05
Default output directory: ./favicons.
You can also run the CLI as a module:
python -m lupaxa.favicon_generator --help
python -m lupaxa.favicon_generator logo.png
Requirements
- Python 3.10+
- Runtime dependencies:
Pillow,cairosvg - System Cairo for SVG input
Documentation
Online documentation:
Source repository:
Serve docs locally
From a clone of the repository:
make mkdocs-serve
Then open the local URL printed by MkDocs in your browser.
Development
Clone the repository and install with Make:
make init # first-time makefile-skills checkout
make python-install-dev # editable install with [dev]
make python-check # lint, type-check, and test
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lupaxa_favicon_generator-0.1.0.tar.gz.
File metadata
- Download URL: lupaxa_favicon_generator-0.1.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1ce7110aa4bc202583ee24a156cf02d35299054b359e31f7d2cbfb4db0394de
|
|
| MD5 |
5451e955fa90e8b07c448d85385bfe67
|
|
| BLAKE2b-256 |
db4540b435ca9b4c70aa046df8aa80e2a417db734ae6ea95e778798686d59e45
|
Provenance
The following attestation bundles were made for lupaxa_favicon_generator-0.1.0.tar.gz:
Publisher:
generate-release.yml on lupaxa-miscellaneous-toolbox/favicon-generator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lupaxa_favicon_generator-0.1.0.tar.gz -
Subject digest:
a1ce7110aa4bc202583ee24a156cf02d35299054b359e31f7d2cbfb4db0394de - Sigstore transparency entry: 2547920761
- Sigstore integration time:
-
Permalink:
lupaxa-miscellaneous-toolbox/favicon-generator@db310fb1839f23ef6987d956208c91d1d0a759f6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/lupaxa-miscellaneous-toolbox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
generate-release.yml@db310fb1839f23ef6987d956208c91d1d0a759f6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lupaxa_favicon_generator-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lupaxa_favicon_generator-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a017405d06afca152dd9322789f8f692f0d5c0d32cbafc388d809f0da0ecd850
|
|
| MD5 |
dc448679fd9ef7436377e61e1cbf88f3
|
|
| BLAKE2b-256 |
a8daa407ff77ecc140d6286829c29b65831bf49c86e281ef64274a98b6c4632d
|
Provenance
The following attestation bundles were made for lupaxa_favicon_generator-0.1.0-py3-none-any.whl:
Publisher:
generate-release.yml on lupaxa-miscellaneous-toolbox/favicon-generator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lupaxa_favicon_generator-0.1.0-py3-none-any.whl -
Subject digest:
a017405d06afca152dd9322789f8f692f0d5c0d32cbafc388d809f0da0ecd850 - Sigstore transparency entry: 2547921174
- Sigstore integration time:
-
Permalink:
lupaxa-miscellaneous-toolbox/favicon-generator@db310fb1839f23ef6987d956208c91d1d0a759f6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/lupaxa-miscellaneous-toolbox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
generate-release.yml@db310fb1839f23ef6987d956208c91d1d0a759f6 -
Trigger Event:
push
-
Statement type: