Skip to main content

kll - keyboard layout language

GitHub Action Status PyPI version Total alerts Language grade: Python

Visit our IRC channel

Visit our Discord Channel

If you're trying to compile keyboard firmware, you want THIS

KLL Compiler

Most current version of the KLL Spec.

Uses funcparserlib

Dependencies

Dependencies can be installed manually, or by using a pipenv.

pipenv install
pipenv run kll/kll --version

or

pip install layouts

Usage

General Usage

kll <kll files>

Kiibohd Controller Usage

kll <misc kll files> --config <config/capability kll files> --base <basemap kll files) --default <default layer kll files> --partial <partial layer 1 kll files> --partial <partial layer 2 kll files>

See kll --help for the most up to date documentation

Unit Tests

Unit tests can be found in the tests directory. They are run by Travis-CI, but can be useful when testing your own changes.

Remember to add new tests when adding new features/changes.

Code Organization

  • kll/common - Main portion of KLL compiler.
  • kll/emitters - Various output formats of the KLL compiler.
  • kll/examples - Example kll files, often used for test cases.
  • kll/extern - External libraries, copied into git repo for convenience.
  • kll/layouts - Layout kll files used for various keyboards and tests.
  • kll/templates - Templates used by emitters when generating output.
  • tests - Unit tests for the KLL compiler.

Patches/Features/Backends

Completely welcome :D

Release files for kll 0.5.7.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kll 0.5.7.16
File Size Uploaded
kll-0.5.7.16.tar.gz 176.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kll 0.5.7.16
File Interpreter ABI Platform
kll-0.5.7.16-py3-none-any.whl Python 3 none any Details

Total release size: 384.4 kB

Release files / kll-0.5.7.16.tar.gz

Download URL kll-0.5.7.16.tar.gz
Size 176.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aeaf7a2605cfea53a8f0f9104b030aa13fdddf867f49fc3e4033d2f54b5f481d
BLAKE2b-256 checksum
How to use checksums
2bd5086dce9b15ee101b2e1847940223d506288f8b9847652af9f6d6884bd06d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.22.0

Release files / kll-0.5.7.16-py3-none-any.whl

Download URL kll-0.5.7.16-py3-none-any.whl
Size 207.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c1188c2d805f1e03e38b058c3cc8eff95ce46516226f791c00395225b77dceb
BLAKE2b-256 checksum
How to use checksums
db27bb2670bd6ce9c9b90531a813f29f369adac5aed33ff77684b4547cf4eda8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.22.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page