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
Metadata
Release files for lupaxa-favicon-generator 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lupaxa_favicon_generator-0.1.3.tar.gz | 10.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lupaxa_favicon_generator-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / lupaxa_favicon_generator-0.1.3.tar.gz
| Download URL | lupaxa_favicon_generator-0.1.3.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
331c6cbd588ae5dbfd40b4a863e6804e0a4f129700048c35c5732050ba20c35a
|
|
BLAKE2b-256 checksum How to use checksums |
9c4e1f4280aa11864e1e3de7f6d1804effe4b4d1a05e9a97713caa75c70595c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 23, 2026.
Transparency logRelease files / lupaxa_favicon_generator-0.1.3-py3-none-any.whl
| Download URL | lupaxa_favicon_generator-0.1.3-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
468327cd115e5f4c44654f5f7e9ce60fe5ad7c0db1651d60acd3b357eff2165a
|
|
BLAKE2b-256 checksum How to use checksums |
91407e53afe2dc29f241fed28de884bc601577f9415382d3e61772d783dbe8c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 23, 2026.
Transparency log