Clackety Keyboards Powered by Python
Go to file
2023-04-09 22:36:18 +00:00
.github Clarfify title format of issue template 2023-03-25 00:51:15 +00:00
boards boards/anavi/knob1/code.py: Cleanup 2023-03-24 21:48:28 +00:00
docs Add missing keycode 2023-04-01 21:55:45 +00:00
hardware add backtick quotes for code snippets 2022-04-25 16:53:22 +00:00
kmk Extend create_task to allow for re- and no-scheduling 2023-04-09 22:36:18 +00:00
tests Implement a heap based task scheduler 2023-04-01 00:12:49 +00:00
user_keymaps update modtap to holdtap (#718) 2023-03-03 09:32:41 +00:00
util Reimplemented as a util script with std lib only. 2022-08-31 18:16:49 -07:00
.dockerignore Some backports from work on #46 to greatly speed up Circle builds 2018-10-11 17:50:39 -07:00
.gitignore dstore gitignore 2022-09-15 20:35:54 -07:00
.s3cfg Full deployment workflow: push finished assets to DigitalOcean Spaces (cdn.kmkfw.io) 2019-07-24 21:25:10 -07:00
boot.py Remove supervisor stack limit from boot.py 2023-02-11 20:05:45 +00:00
build_kmkpython_release.sh feat(kmkpy): make dist -> uf2 files for each supported NRF board, with KMK bundled 2021-06-20 13:55:18 -07:00
Dockerfile feat(kmkpy): make dist -> uf2 files for each supported NRF board, with KMK bundled 2021-06-20 13:55:18 -07:00
kmkpython_ref.tsv update kmkpython and hack fix bug 2021-06-20 13:55:18 -07:00
LICENSE.md Remove unused kmk.string (originally from micropython-lib) 2018-12-29 15:42:56 -08:00
Makefile Refactor Makefile copy-* targets for improved readability 2023-02-24 18:17:59 +00:00
Pipfile Bump black version 2023-02-12 22:32:39 +00:00
Pipfile.lock Bump black version 2023-02-12 22:32:39 +00:00
pyproject.toml Typos 2022-04-18 13:28:26 +00:00
README.md Highlight support section of README 2023-03-09 21:19:28 +00:00
setup.cfg Add linter format exception for kb.py 2023-02-20 20:42:23 +00:00

KMK: Clackety Keyboards Powered by Python

GitHub GitHub contributors Lines of code GitHub issues GitHub closed issues

KMK is a feature-rich and beginner-friendly firmware for computer keyboards written and configured in CircuitPython.

Support

For asynchronous support and chatter about KMK, join our Zulip community!

If you ask for help in chat or open a bug report, if possible make sure your copy of KMK is up-to-date. In particular, swing by the Zulip chat before opening a GitHub Issue about configuration, documentation, etc. concerns.

The former Matrix and Discord rooms once linked to in this README are no longer officially supported, please do not use them!

Features

Getting Started

KMK requires CircuitPython version 7.0 or higher. Our getting started guide can be found here.

Code Style

KMK uses Black with a Python 3.6 target and, (controversially?) single quotes. Further code styling is enforced with isort and flake8 with several plugins. make fix-isort fix-formatting before a commit is a good idea, and CI will fail if inbound code does not adhere to these formatting rules. Some exceptions are found in setup.cfg loosening the rules in isolated cases, notably user_keymaps (which is also not subject to Black formatting for reasons documented in pyproject.toml).

Tests

Unit tests within the tests folder mock various CircuitPython modules to allow them to be executed in a desktop development environment.

Execute tests using the command python -m unittest.

All software in this repository is licensed under the GNU Public License, version 3. All documentation and hardware designs are licensed under the Creative Commons Attribution-ShareAlike 4.0 license. Contributions to this repository must use these licenses unless otherwise agreed to by the Core team.

Due to ethical and legal concerns, any works derived from GitHub Copilot or similar artificial intelligence tooling are unacceptable for inclusion in any first-party KMK repository or other code collection. We further recommend not using GitHub Copilot while developing anything KMK-related, regardless of intent to submit upstream.