Clackety Keyboards Powered by Python
Go to file
2023-02-12 17:25:24 +00:00
.github/workflows chore: remove long-broken and unused-ish Deploy stage from CI 2021-09-13 21:37:37 -07:00
boards anavi/macro-pad-12: Add ANAVI Macro Pad 12 2023-02-07 22:20:59 +00:00
docs Replace all mentions of the matrix channel with links to zulip 2023-02-12 17:25:24 +00:00
hardware add backtick quotes for code snippets 2022-04-25 16:53:22 +00:00
kmk Remove for-else-block from keys.py for readability 2023-02-11 21:27:41 +00:00
tests fix: Linting 2022-11-21 21:12:40 +00:00
user_keymaps Move keymap to proper spot 2022-08-17 12:04:37 -07: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 add unittest directory to the fix-isort target 2022-10-14 08:28:00 -07:00
Pipfile fix(ci): bump flake8 to get fix for PyCQA/pyflakes#367; per-file-ignore ext is now redundant; linter back online in CI 2021-06-20 13:14:41 -07:00
Pipfile.lock Bump ipython from 7.31.1 to 8.10.0 2023-02-11 09:13:27 +00:00
pyproject.toml Typos 2022-04-18 13:28:26 +00:00
README.md docs: Replace Discord and Matrix links with Zulip in README. 2022-12-13 23:11:25 +00:00
setup.cfg fix(lint): lint all the things; be more flexible in boards dir 2021-06-20 13:59:59 -07: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.

For asynchronous support and chatter about KMK, join our Zulip community! 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.