Svalboard Keymap Image Maker
Project description
Svalboard Keymap Image Maker (skim)
A Python CLI tool for generating keymap layout images for the Svalboard keyboard.
Features
- Generate individual layer keymap images
- Generate overview images showing all layers
- Support for multiple keymap formats:
- Keybard (
.kbi) - Vial (
.vil) - QMK c2json (
.json)
- Keybard (
- Configurable colors and appearance
- High-quality SVG and PNG output
Installation
pip install skim
Usage
Generate keymap images
# Generate from a keymap file
skim generate --keymap my-keymap.kbi --output-dir ./images
# Generate with custom configuration
skim generate --keymap my-keymap.kbi --config skim-config.yaml --output-dir ./images
# Generate specific layers only
skim generate --keymap my-keymap.kbi --layer 1 --layer 3-5 --layer overview
Configuration helper
# Create a configuration file from QMK color.h
skim configure --qmk-color-header /path/to/qmk/quantum/color.h --output skim-config.yaml
Development
Setup
# Clone the repository
git clone https://github.com/your-repo/skim.git
cd skim
# Create virtual environment and install dependencies
uv venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
uv sync --dev
Testing
# Run tests with coverage
uv run pytest
# Run specific test file
uv run pytest tests/unit/domain/test_colors.py
Building Documentation
sphinx-build -b html docs out/docs
License
MIT License
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project details
Release history Release notifications | RSS feed
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 qmk_skim-0.4.4.dev0.tar.gz.
File metadata
- Download URL: qmk_skim-0.4.4.dev0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f6c7e123aaca9143a0af912d265374746783d327e4840e4df3e932436d0d3ca
|
|
| MD5 |
87f5520a48e5f10894c707040f19ce1e
|
|
| BLAKE2b-256 |
e93eab075cfab5ded7a7aac0a4b72d773820c6329d57130755cdf3b02c7b8bad
|
Provenance
The following attestation bundles were made for qmk_skim-0.4.4.dev0.tar.gz:
Publisher:
publish.yml on Townk/skim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qmk_skim-0.4.4.dev0.tar.gz -
Subject digest:
5f6c7e123aaca9143a0af912d265374746783d327e4840e4df3e932436d0d3ca - Sigstore transparency entry: 829294832
- Sigstore integration time:
-
Permalink:
Townk/skim@e6873050c8f77849c2bdc6209395d39d3620522b -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/Townk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6873050c8f77849c2bdc6209395d39d3620522b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qmk_skim-0.4.4.dev0-py3-none-any.whl.
File metadata
- Download URL: qmk_skim-0.4.4.dev0-py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a53f086cc564b3e02bc2fbaad087e161e6aafa007cb6155af14c3a54fcd1a0db
|
|
| MD5 |
5473f25c91c1d37dd162cbec438225c8
|
|
| BLAKE2b-256 |
87f532db89b5b992728b3a4de62ac5ba8f32357fb17302d555443e8f01335dae
|
Provenance
The following attestation bundles were made for qmk_skim-0.4.4.dev0-py3-none-any.whl:
Publisher:
publish.yml on Townk/skim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qmk_skim-0.4.4.dev0-py3-none-any.whl -
Subject digest:
a53f086cc564b3e02bc2fbaad087e161e6aafa007cb6155af14c3a54fcd1a0db - Sigstore transparency entry: 829294833
- Sigstore integration time:
-
Permalink:
Townk/skim@e6873050c8f77849c2bdc6209395d39d3620522b -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/Townk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6873050c8f77849c2bdc6209395d39d3620522b -
Trigger Event:
workflow_dispatch
-
Statement type: