Skip to main content

Svalboard Keymap Image Maker

Project description

Svalboard Keymap Image Maker (skim)

Coverage Python Version Build Status PyPI version

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)
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qmk_skim-0.4.2.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qmk_skim-0.4.2-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file qmk_skim-0.4.2.tar.gz.

File metadata

  • Download URL: qmk_skim-0.4.2.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

Hashes for qmk_skim-0.4.2.tar.gz
Algorithm Hash digest
SHA256 4ef029e8171fd0cf3a2b228783ac4239a1f5aa8732c9b9d334c76728980fd49d
MD5 c0ec0c4f887ed7abbe07d6c5ffeb3eff
BLAKE2b-256 3eff3e7a0d658b17c1e1cc493658625bacac9838369a58969fe9e2164ed712c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for qmk_skim-0.4.2.tar.gz:

Publisher: publish.yml on Townk/skim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qmk_skim-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: qmk_skim-0.4.2-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

Hashes for qmk_skim-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5414a679b9e440b1bba85d43ca4f1cc7c378105f8fee7a2ceff52978c87ea3f2
MD5 d3ae44d4240f393ef93b7778b216a149
BLAKE2b-256 8dd2b800c480a7b4201385b2928e4b315479c4b7c9b256ae5c9a390cc6c668c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for qmk_skim-0.4.2-py3-none-any.whl:

Publisher: publish.yml on Townk/skim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page